|
VizKit
3.3.7
|
Management of font resources. More...
#include <VisualFontManager.h>
Public Member Functions | |
| bool | fontIsAvailableAsVisualizerResource (const char *const fontName) |
| Answers the question whether a given font is available as private resource of the visualizer. | |
| VisualFontActivationResult | activateFont (const char *const fontName) |
| Tries to activate font by loading a font resource. | |
| void | sortFontsByName (void) |
| Sorts the gathered fonts by name. | |
| void | addFont (const char *const fontName) |
| Adds a font name to the gathered list of font names. | |
Static Public Member Functions | |
| static VisualFontManager * | getInstance (void) |
| Constructs a VisualFontManager. | |
| static void | dispose (void) |
| Disposes the VisualFontManager. | |
Private Member Functions | |
| VisualFontManager () | |
| The constructor. | |
| ~VisualFontManager () | |
| The destructor. | |
| VisualFontManager (const VisualFontManager &other) | |
| Copy constructor. | |
| VisualFontManager & | operator= (const VisualFontManager &other) |
| Assignment operator. | |
Static Private Attributes | |
| static VisualFontManager * | theVisualFontManager = NULL |
| VisualFontManager is a singleton class. | |
Management of font resources.
| VisualFontManager::VisualFontManager | ( | ) | [private] |
The constructor.
VisualFontManager is a singleton class. The constructor is private. New instance of class can only be created internally.
| VisualFontManager::~VisualFontManager | ( | ) | [private] |
The destructor.
VisualFontManager is a singleton class. The destructor is private. Instance of class can only be destructed internally.
| VizKit::VisualFontManager::VisualFontManager | ( | const VisualFontManager & | other | ) | [private] |
Copy constructor.
| other | Another VisualFontManager. |
| VisualFontActivationResult VisualFontManager::activateFont | ( | const char *const | fontName | ) |
Tries to activate font by loading a font resource.
| fontName | The name of the font. |
| void VizKit::VisualFontManager::addFont | ( | const char *const | fontName | ) |
Adds a font name to the gathered list of font names.
| fontName | The name of the font to add. |
| void VisualFontManager::dispose | ( | void | ) | [static] |
Disposes the VisualFontManager.
| bool VisualFontManager::fontIsAvailableAsVisualizerResource | ( | const char *const | fontName | ) |
Answers the question whether a given font is available as private resource of the visualizer.
| fontName | The name of the font. |
| VisualFontManager * VisualFontManager::getInstance | ( | void | ) | [static] |
Constructs a VisualFontManager.
The VisualFontManager internally is a singleton. Returns a pointer to the initialized VisualFontManager.
| VisualFontManager& VizKit::VisualFontManager::operator= | ( | const VisualFontManager & | other | ) | [private] |
Assignment operator.
| void VizKit::VisualFontManager::sortFontsByName | ( | void | ) |
Sorts the gathered fonts by name.
VisualFontManager * VisualFontManager::theVisualFontManager = NULL [static, private] |
VisualFontManager is a singleton class.
Pointer to private instance is handled internally.