Font::GetTemporaryGlyphShape

Font::GetTemporaryGlyphShape
virtual bool GetTemporaryGlyphShape(unsigned glyphIndex, unsigned hintedSize, GlyphShape* shape);
Description

GetTemporaryGlyphShape obtains the temporary glyph shapes, and is used when GetPermanentGlyphShape returns 0. Mostly used in external font providers, this interface allows the font provider to do without caching, as the shapes will be cached on the font cache system. In cases where GetPermanentGlyphShape works, GetTemporaryGlyphShape is not necessary to override.

Parameters
Parameters 
Description 
unsigned glyphIndex 
The glyph index value. 
unsigned hintedSize 
The font size for native hinting. 
GlyphShape* shape 
The glyph shape. 
Return Value

The temporary available glyph shapes.