FontProvider
touchgfx/FontManager.hpp
A generic pure virtual definition of a FontProvider, which is a class capable of returning a Font based on a FontId. An application-specific derivation of this class must be implemented.
Public Functions
virtual Font * | getFont(FontId fontId) =0 |
Gets a Font. | |
virtual | ~FontProvider() |
Finalizes an instance of the FontProvider class. | |
Public Functions Documentation
getFont
Gets a Font.
Parameters:
fontId | The FontId of the font to get. |
Returns:
The font with a font id of fontId.
~FontProvider
virtual ~FontProvider | ( | ) |
Finalizes an instance of the FontProvider class.