#include <LodFont.h>
◆ height()
int LodFont::height |
( |
| ) |
const |
|
inline |
◆ image() [1/2]
◆ image() [2/2]
- Parameters
-
c | Character to get image for, must be in [0, 255] . |
- Returns
- Character image. Pixels are
0
for background, 1
for shadow, 255
for text. Will return an empty image for chars that are not supported.
◆ metrics() [1/2]
◆ metrics() [2/2]
- Parameters
-
c | Character to get metrics for, must be in [0, 255] . |
- Returns
- Font glyph metrics for the character. Will return all zeros for chars that are not supported.
◆ supports() [1/2]
bool LodFont::supports |
( |
char |
c | ) |
const |
|
delete |
◆ supports() [2/2]
bool LodFont::supports |
( |
int |
c | ) |
const |
|
inline |
◆ lod::decodeFont
◆ _atlas
◆ _header
◆ _pixels
The documentation for this class was generated from the following file: