Cogs.Core
|
Defines a single character from a font resource. More...
#include <Font.h>
Public Attributes | |
uint16_t | x0 |
uint16_t | y0 |
uint16_t | x1 |
uint16_t | y1 |
float | xOffset |
float | yOffset |
float | xAdvance |
float | xOffset2 |
float | yOffset2 |
Defines a single character from a font resource.
Used to determine how to fetch font data and render characters in a string using the font. MUST have same layout as: stbtt_packedchar (stb\stb_truetype.h)