The FontManager managed the Fonts.
More...
#include <fontmanager.h>
The FontManager managed the Fonts.
Managemant of Fonts
- using FreeType library
- Create char Textures
| void FontManager::CharRegister |
( |
char |
c, |
|
|
Texture * |
buffer |
|
) |
| |
CharRegister.
Save a char with Pixeldata ( aka. Texture )
- Parameters
-
| FT_Face FontManager::createFontFace |
( |
const std::string & |
ttf_file | ) |
|
createFontFace
Create Font from .ttf file
- Parameters
-
- Returns
| Texture * FontManager::getCharTexture |
( |
char |
c | ) |
|
| throw | ( | std::runtime_error |
| ) | | |
getCharTexture
Return Texture by char
- Parameters
-
- Returns
| void FontManager::load |
( |
FT_Face |
face, |
|
|
const std::string & |
asci |
|
) |
| |
load
Load FontFace and create Char Textures
- Parameters
-
| face | |
| asci | : !#$%&'()*+,-./0123456789:;<=>?[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ |
The documentation for this class was generated from the following files: