Defines the Font resource class. More...
#include <string>#include "Memory/ResourceManager.h"#include "Graphics/Color.h"#include "Math/MathCommon.h"#include "Common/BaseTypes.h"Classes | |
| class | Font |
| The Font resource class. More... | |
Functions | |
| FontRef | LoadFontResource (const char *file, int size) |
| Loads an Font using the global FontManager. | |
Defines the Font resource class.
Defines the Font resource class for loading and drawing True Type fonts.
| FontRef LoadFontResource | ( | const char * | file, | |
| int | size | |||
| ) |
Loads an Font using the global FontManager.
| [in] | file | the filename of the Font to load assumed to be relative to the 'Fonts' data path. |
| [in] | size | the point size of the loaded Font. |
NOTE: This should only be called after the global enviroment has been initialized.
1.6.3