class GmFontManager

The GmFontManager singleton class handles all font management for the application.

Public Methods

[more]OGLFT::Face* getFontFace (const char* filename, float pointsize, GlmColor4& fgcolor, GmTypes::FontType type)
Gets a font face given a specific font filename
[more]static GmFontManager& getInstance ()
Gets the instance of the font manager

Protected Methods

[more] GmFontManager ()
Protected constructor for singleton class
[more]virtual ~GmFontManager ()
Virtual protected destructor for singleton class


Documentation

The GmFontManager singleton class handles all font management for the application. Font management includes caching, allocation and deallocation of font faces.
o GmFontManager()
Protected constructor for singleton class

ovirtual ~GmFontManager()
Virtual protected destructor for singleton class

ostatic GmFontManager& getInstance()
Gets the instance of the font manager

oOGLFT::Face* getFontFace(const char* filename, float pointsize, GlmColor4& fgcolor, GmTypes::FontType type)
Gets a font face given a specific font filename

Parameters:
- filename the filename of the scalable font to use, for example "/usr/share/fonts/truetype/Arial.ttf"
- pointsize the pointsize to use for the font
- fgcolor the foreground color to use for the font
Returns:
s the OGLFT font face object associated witht the font descibed in the argument passed in to the method.


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.