Forge
|
Font object is essentially a resource handler for the specific font you want to use. More...
#include <font.h>
Public Member Functions | |
FGAPI | Font () |
Creates Font object. | |
FGAPI | Font (const Font &other) |
Copy constructor for Font. | |
FGAPI | ~Font () |
Font Destructor. | |
FGAPI void | loadFontFile (const char *const pFile) |
Load a given font file. | |
FGAPI void | loadSystemFont (const char *const pName) |
Load a system font based on the name. | |
FGAPI fg_font | get () const |
Get handle for internal implementation of Font object. | |
Font object is essentially a resource handler for the specific font you want to use.
FGAPI void loadFontFile | ( | const char *const | pFile | ) |
Load a given font file.
[in] | pFile | True Type Font file path |
FGAPI void loadSystemFont | ( | const char *const | pName | ) |
Load a system font based on the name.
[in] | pName | True Type Font name |