#include <FontTTF.h>
|
static int | initialize (std::string f) |
|
static void | shutdown () |
|
static unsigned int | widthText (float scale, std::string s) |
|
static unsigned int | heightText (float scale, unsigned int maxWidth, std::string s) |
|
static void | drawText (unsigned int x, unsigned int y, float scale, glm::vec4 color, std::string s) |
|
static void | drawTextWrapped (unsigned int x, unsigned int y, float scale, glm::vec4 color, unsigned int maxWidth, std::string s) |
|
Definition at line 34 of file FontTTF.h.
int FontTTF::initialize |
( |
std::string |
f | ) |
|
|
static |
void FontTTF::shutdown |
( |
| ) |
|
|
static |
unsigned int FontTTF::widthText |
( |
float |
scale, |
|
|
std::string |
s |
|
) |
| |
|
static |
unsigned int FontTTF::heightText |
( |
float |
scale, |
|
|
unsigned int |
maxWidth, |
|
|
std::string |
s |
|
) |
| |
|
static |
void FontTTF::drawText |
( |
unsigned int |
x, |
|
|
unsigned int |
y, |
|
|
float |
scale, |
|
|
glm::vec4 |
color, |
|
|
std::string |
s |
|
) |
| |
|
static |
void FontTTF::drawTextWrapped |
( |
unsigned int |
x, |
|
|
unsigned int |
y, |
|
|
float |
scale, |
|
|
glm::vec4 |
color, |
|
|
unsigned int |
maxWidth, |
|
|
std::string |
s |
|
) |
| |
|
static |
int FontTTF::charIsMapped |
( |
int |
c | ) |
|
|
staticprivate |
- FIXME:
- This has nothing to do with proper UTF8 support...
Definition at line 268 of file FontTTF.cpp.
void FontTTF::drawTextInternal |
( |
unsigned int |
x, |
|
|
unsigned int |
y, |
|
|
float |
scale, |
|
|
glm::vec4 |
color, |
|
|
unsigned int |
maxWidth, |
|
|
std::string |
s, |
|
|
bool |
drawWrapped |
|
) |
| |
|
staticprivate |
unsigned char * FontTTF::fontData = nullptr |
|
staticprivate |
The documentation for this class was generated from the following files: