|
sprint 1-alpha
|
A FONT structure handler. More...
#include <font.h>
Public Member Functions | |
| bool | LoadDescription (const char *txt) |
| void | GetTextSize (const char *txt, int *width, int *height) const |
| measure text font size | |
| const CharDescr & | GetChar (int c) const |
| return single char description | |
Public Attributes | |
| int | base |
| unsigned int | txtW |
| unsigned int | txtH |
| int | nPages |
| int | packed |
| int | encoded |
| int | nChars |
| CharDescr | def |
| std::vector< CharDescr > | chars |
| sprint::iimage | texture |
| std::vector< kerning_pair > | kernings |
| Kernings. | |
A FONT structure handler.
base offset (BOTTOM)
| std::vector<CharDescr> sprint::font::chars |
characters array
default character
number of chars in array
Number of Pages (1)
Texture
| unsigned int sprint::font::txtW |
Texture Size loaded by File
1.7.4