Class for font.
More...
#include <font.h>
Graphics::UI::Font::Font |
( |
const unsigned int |
size = 12 , |
|
|
const unsigned int |
pixels_per_unit = 32 |
|
) |
| |
Font constructor.
- Parameters
-
[in] | size | The size |
[in] | pixels_per_unit | The pixels per unit |
void Graphics::UI::Font::addCharacter |
( |
const char |
text_char, |
|
|
const Character & |
character |
|
) |
| |
Adds a character.
- Parameters
-
[in] | text_char | The text character |
[in] | character | The engine character |
Referenced by generated::getFontModule().
Character Graphics::UI::Font::getCharacter |
( |
const char |
text_char | ) |
|
std::map< char, Character > Graphics::UI::Font::getCharacters |
( |
| ) |
const |
float Graphics::UI::Font::getOpenGLSize |
( |
| ) |
const |
|
noexcept |
unsigned int Graphics::UI::Font::getSize |
( |
| ) |
const |
|
noexcept |
The documentation for this class was generated from the following files: