Public Member Functions | |
std::size_t | setFont (Font *font) |
Font * | getFont (std::size_t index) const |
Font * | createFont (const std::string &fontname, std::size_t size) |
void | setFontFactory (AbstractFontFactory *factory) |
AbstractFontFactory * | getFontFactory () const |
Static Public Member Functions | |
GlyphContext & | getInstance () |
|
Stores or sets an indexed font.
|
|
Returns the indexed Font.
|
|
Creates a new Font, based on a fontname, style and size.
|
|
Sets the FontFactory to be used by GlyphContext. A FontFactory creates font based on certain parameters. |
|
Returns the FontFactory currently in use. |
|
Returns an instance of this class.
|