int wb_create_font (string name, int height [, int color [, int flags]])
Creates a new font. name is the font name, height is its height in points (not pixels), and color is a RGB color value. flags can be a combination of the following values:
FTA_NORMAL
FTA_REGULAR
FTA_BOLD
FTA_ITALIC
FTA_UNDERLINE
FTA_STRIKEOUT
Constants of FTA_NORMAL
and FTA_REGULAR
mean
the same thing and are defined as zero.
The function returns an integer value that is the font identifier.
After use, the font must be destroyed by a call to wb_destroy_font() to prevent resource leaks.
NOTE: The color parameter is not implemented yet.
|
wb_set_font
wb_destroy_font
wb_draw_text
System functions