OpenRaider
0.1.4-dev
Open Source Tomb Raider Game Engine implementation
|
#include <FontTTF.h>
Public Member Functions | |
FontMapTTF () | |
FontMapTTF (FontMapTTF &&other) | |
~FontMapTTF () | |
int | initialize (unsigned char *fontData, int firstChar) |
bool | contains (int c) |
int | getTexture () |
void | getQuad (int c, float *xpos, float *ypos, stbtt_aligned_quad *quad) |
Private Attributes | |
int | begin |
int | texture |
stbtt_packedchar * | charInfo |
FontMapTTF::FontMapTTF | ( | ) |
Definition at line 21 of file FontTTF.cpp.
FontMapTTF::FontMapTTF | ( | FontMapTTF && | other | ) |
Definition at line 23 of file FontTTF.cpp.
FontMapTTF::~FontMapTTF | ( | ) |
Definition at line 31 of file FontTTF.cpp.
int FontMapTTF::initialize | ( | unsigned char * | fontData, |
int | firstChar | ||
) |
Definition at line 41 of file FontTTF.cpp.
bool FontMapTTF::contains | ( | int | c | ) |
Definition at line 83 of file FontTTF.cpp.
void FontMapTTF::getQuad | ( | int | c, |
float * | xpos, | ||
float * | ypos, | ||
stbtt_aligned_quad * | quad | ||
) |
Definition at line 88 of file FontTTF.cpp.
|
private |