#include <LodFont.h>
◆ height()
| int LodFont::height |
( |
| ) |
const |
|
inline |
◆ image()
- 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()
- 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()
| bool LodFont::supports |
( |
char |
c | ) |
const |
|
inline |
◆ lod::decodeFont
◆ _atlas
◆ _header
◆ _pixels
The documentation for this class was generated from the following file: