Skylicht Engine
Loading...
Searching...
No Matches
Skylicht::CGlyphFreetype Class Reference

Public Member Functions

bool initFont (const char *name, const char *path)
void clearAtlas ()
CAtlasgetCharImage (unsigned short code, const char *name, int fontSize, float *advance, float *uvX, float *uvY, float *uvW, float *uvH, float *offsetX, float *offsetY)
CAtlasgetCharImage (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

CAtlasaddEmptyAtlas (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

The documentation for this class was generated from the following file: