![]() |
MHEG5
22.3.0
|
Font file handling with the Freetype. More...
Go to the source code of this file.
Classes | |
| struct | _VBox |
| struct | _CacheSbit |
| struct | sFontSize |
| struct | sFontDetails |
Macros | |
| #define | FIRST_CACHE_CHAR ('!') |
| #define | CHAR_CACHE_SIZE 0x5e |
| #define | BUILT_IN_FONT 0 |
| #define | FTYPE_TTF 0 |
| #define | FTYPE_PFR 1 |
Typedefs | |
| typedef struct _VBox | VBox |
| typedef struct _VBox * | pVBox |
| typedef struct _CacheSbit | CacheSbit |
| typedef struct sFontSize | S_FontSize |
| typedef struct sFontDetails | S_FontDetails |
Enumerations | |
| enum | E_HDMode { NORMAL_SD, NORMAL_HD } |
Functions | |
| S_FontDetails * | MG_GetFontPtr (S16BIT font_index) |
| Get Pointer to Font. More... | |
| void | MG_ReleaseFontPtr (S_FontDetails *fp) |
| S_FontSize * | MG_GetFontSize (U16BIT fnt_index, U8BIT fnt_size, U8BIT fnt_style) |
| void | MG_CheckCache (S_FontSize *sz_data) |
| S_FontDetails * | MG_FindFont (S_FontSize *f_sz) |
| Get font from size. More... | |
Variables | |
| E_HDMode | mg_hd_mode |
Font file handling with the Freetype.
| void MG_CheckCache | ( | S_FontSize * | f_szdata | ) |
| . |
| S_FontDetails* MG_FindFont | ( | S_FontSize * | f_sz | ) |
Get font from size.
| f_sz | Pointer to size data |
| S_FontDetails* MG_GetFontPtr | ( | S16BIT | font_index | ) |
Get Pointer to Font.
| font_index | - as returned by MG_LoadFontFile(). |
| S_FontSize* MG_GetFontSize | ( | U16BIT | fnt_index, |
| U8BIT | fnt_size, | ||
| U8BIT | fnt_style | ||
| ) |
| . |
| void MG_ReleaseFontPtr | ( | S_FontDetails * | fp | ) |
| . |
1.8.11