![]() |
Ultibo API
C/C++ API for Ultibo Core
|
#include <font.h>
Data Fields | |
| uint32_t | signature |
| Signature for entry validation. | |
| uint32_t | fontmode |
| Font mode (eg FONT_MODE_PIXEL). | |
| uint32_t | fontflags |
| Font flags (eg FONT_FLAG_UNICODE). | |
| char | fontname [FONT_NAME_LENGTH] |
| Font name. | |
| char | fontdescription [FONT_DESC_LENGTH] |
| Font description. | |
| uint32_t | charwidth |
| Font character width in pixels. | |
| uint32_t | charheight |
| Font character height in pixels. | |
| uint32_t | charcount |
| Number of glyphs in font character table. | |
| uint32_t | charmask |
| Transparency mask for a bitmap font (Not used for a pixel font). | |
| uint32_t | codepage |
| Font codepage (CP_ACP if not specified). | |
| void * | chardata |
| Font character pixel or bitmap data. | |
| FONT_UNICODE * | unicodedata |
| Font unicode translation data (Only if FONT_FLAG_UNICODE). | |
| FONT_ENTRY * | prev |
| Previous entry in Font table. | |
| FONT_ENTRY * | next |
| Next entry in Font table. | |
Font Entry
| uint32_t signature |
Signature for entry validation.
| uint32_t fontmode |
Font mode (eg FONT_MODE_PIXEL).
| uint32_t fontflags |
Font flags (eg FONT_FLAG_UNICODE).
| char fontname[FONT_NAME_LENGTH] |
Font name.
| char fontdescription[FONT_DESC_LENGTH] |
Font description.
| uint32_t charwidth |
Font character width in pixels.
| uint32_t charheight |
Font character height in pixels.
| uint32_t charcount |
Number of glyphs in font character table.
| uint32_t charmask |
Transparency mask for a bitmap font (Not used for a pixel font).
| uint32_t codepage |
Font codepage (CP_ACP if not specified).
| void* chardata |
Font character pixel or bitmap data.
| FONT_UNICODE* unicodedata |
Font unicode translation data (Only if FONT_FLAG_UNICODE).
| FONT_ENTRY* prev |
Previous entry in Font table.
| FONT_ENTRY* next |
Next entry in Font table.