|
The Game Engine
1
|
Font for rendering text. More...
#include <Font.h>
Collaboration diagram for Font:Public Member Functions | |
| Font (int s=24) | |
| Create the font with size s. More... | |
| Font (FontType t, int s=24) | |
| Create the font with size s and type t. More... | |
| ~Font () | |
| void | setSize (int s) |
Public Attributes | |
| TTF_Font * | font |
| The font itself. More... | |
| FontType | type |
| Type for the font en, jp, jpw/ruby. More... | |
| string | fontFile |
| Filename of the font. More... | |
| int | size |
| Font size. More... | |
| int | count |
| The count of Texts using this font. More... | |
Protected Member Functions | |
| bool | tryLoadFont () |
| Attempts to load a font of the given name from the system. More... | |
| Font::Font | ( | int | s = 24 | ) |
| Font::Font | ( | FontType | t, |
| int | s = 24 |
||
| ) |
|
protected |