#include <base.h>
Public Types | |
| enum | FONT_STYLE { ttfSolid, ttfShaded, ttfBlended } |
Public Member Functions | |
| FGFontProperty (char *n, int sz) | |
| ~FGFontProperty () | |
| void | Bold (int value) |
| void | Underline (int value) |
| void | Italic (int value) |
| void | Solid (void) |
| void | Shaded (void) |
| void | Blended (void) |
| bool | Valid (void) |
| FONT_STYLE | GetAlgorithm (void) |
| void * | GetFace (void) |
| char * | PrepareFont (variable_record *var, int &size, int count, int offset, char *name) |
|
|
for rendering |
|
||||||||||||
|
Creates a TTF font face object for a Window text output. You can use a function Valid() to test for a valid font face.
|
|
|
Unload the font face from memory. |
|
|
Sets a blended rendering, slow but very nice.
|
|
|
Sets a 'bold' font style. |
|
|
Sets an 'italic' font style. |
|
|
Sets a shaded rendering, slow but very nice.
|
|
|
Sets a solid rendering, fast but not very nice. Default.
|
|
|
Sets an 'underline' font style. |
|
|
Test the object for a valid data.
|
1.4.0