Mana
|
Public Member Functions | |
TextChunk (const std::string &text) | |
void | render (Graphics *graphics, int x, int y, TTF_Font *font, std::unique_ptr< Image > &img, float scale) |
Public Attributes | |
const std::string | text |
std::unique_ptr< Image > | regular |
std::unique_ptr< Image > | outlined |
Definition at line 49 of file truetypefont.cpp.
|
inline |
Definition at line 52 of file truetypefont.cpp.
void TextChunk::render | ( | Graphics * | graphics, |
int | x, | ||
int | y, | ||
TTF_Font * | font, | ||
std::unique_ptr< Image > & | img, | ||
float | scale | ||
) |
Definition at line 67 of file truetypefont.cpp.
std::unique_ptr<Image> TextChunk::outlined |
Definition at line 64 of file truetypefont.cpp.
std::unique_ptr<Image> TextChunk::regular |
Definition at line 63 of file truetypefont.cpp.
const std::string TextChunk::text |
Definition at line 62 of file truetypefont.cpp.