FontManager
This class is the entry point for looking up a font based on a font id. Must be initialized with the appropriate FontProvider by the application.
Public Functions
Font * | getFont(FontId fontId) |
Gets a font. | |
void | setFontProvider(FontProvider * fontProvider) |
Sets the font provider. | |
Public Functions Documentation
getFont
Gets a font.
Parameters:
fontId | The FontId of the font to get. |
Returns:
The font with a FontId of fontId.
setFontProvider
static void setFontProvider | ( | FontProvider * | fontProvider | ) | |
Sets the font provider.
Must be initialized with the appropriate FontProvider by the application.
Parameters:
fontProvider | Sets the font provider. Must be initialized with the appropriate FontProvider by the application. |