![]() |
Skylicht Engine
|
Public Member Functions | |
| bool | initFont (const char *name, const char *path) |
| void | clearAtlas () |
| CAtlas * | getCharImage (unsigned short code, const char *name, int fontSize, float *advance, float *uvX, float *uvY, float *uvW, float *uvH, float *offsetX, float *offsetY) |
| CAtlas * | getCharImage (CSpriteAtlas *external, unsigned short code, const char *name, int fontSize, float *advance, float *uvX, float *uvY, float *uvW, float *uvH, float *offsetX, float *offsetY) |
Static Public Member Functions | |
| static int | sizePtToPx (float pt) |
| static float | sizePxToPt (int px) |
Protected Member Functions | |
| CAtlas * | addEmptyAtlas (ECOLOR_FORMAT color, int w, int h) |
Protected Attributes | |
| std::map< std::string, SFaceEntity * > | m_faceEntity |
| u32 | m_width |
| u32 | m_height |
| std::vector< CAtlas * > | m_atlas |