|
#define FONT_CREATE_DEFAULT 0
#define FONT_CREATE_BOLD 1
#define FONT_CREATE_ITALIC 2
*** very useful
Creates a font that can later be used with the STATE_text_ API
Parameters:
font_name: the name of the font. For example: Arial
font_size: the height of the font. For example 14
flags: could be any of the following: FONT_CREATE_DEFAULT, FONT_CREATE_BOLD, FONT_ITALIC.
To use several flags together use | or + . For example FONT_CREATE_BOLD | FONT_CREATE_ITALIC
Return Value:
returns a handle to the font that can later be used with the STATE_text_ API
When the function fails it returns NULL
|