GFXprim
2D bitmap graphics library with emphasis on speed and correctness
|
Font loader callback. More...
#include <gp_font.h>
Data Fields | |
gp_glyph *(* | glyph_load )(const gp_font_face *self, uint32_t ch) |
Callback to load a glyph. | |
void(* | font_free )(gp_font_face *self) |
Callback to free a font. | |
Font loader callback.
When TrueType font is loaded the ASCII part is pre-rendered into the memory, any other characters are loaded on-demand when needed.
void(* gp_font_face_ops::font_free) (gp_font_face *self) |
gp_glyph *(* gp_font_face_ops::glyph_load) (const gp_font_face *self, uint32_t ch) |