Back to class index
FTGlyphCache[Class Summary]
ctor
~dtor
Init(cacheSurfaceSize)
DeInit()
LoadFontFace(filename,faceIndex)
FontFace(filename,faceIndex)
FontFaces()
AtlasTexture()
GetAdvanceX(...)[const] (+1 overload)
CacheCharacter(...)
GetCharacterSize(...)
GetCharacterUVTopLeft(font,ch)
GetCacheTexture()
Occupancy()[const]
MeasureTextWidth(str,font,pointSize)

FTGlyphCache::GetCharacterSize

Syntax

bool FTGlyphCache::GetCharacterSize(FTFont *font, utf32 ch, int pointSize, int &width, int &height);

Returns the size of the given character glyph, in pixel units.

This size tells the size of the bitmap that is required to store the rasterized glyph as an image.

Leave a Comment

Name:
Comments:
Captcha:captcha image Type in the black symbols:
Back to class index