Cobbletext
0.2.0
Complex text layout and rendering engine
|
Glyph properties. More...
#include <glyph_info.h>
Public Attributes | |
CobbletextGlyphID | id |
ID for this glyph. More... | |
const uint8_t * | image |
Coverage map of the glyph. More... | |
uint32_t | image_width |
Width of the coverage map. More... | |
uint32_t | image_height |
Height of the coverage map. More... | |
int32_t | image_offset_x |
Horizontal offset when drawing the image. More... | |
int32_t | image_offset_y |
Vertical offset when drawing the image. More... | |
Glyph properties.
CobbletextGlyphID CobbletextGlyphInfo::id |
ID for this glyph.
const uint8_t* CobbletextGlyphInfo::image |
Coverage map of the glyph.
0 is transparent, 255 is opaque.
The value is null if the glyph has not yet been rasterized.
uint32_t CobbletextGlyphInfo::image_height |
Height of the coverage map.
#image
int32_t CobbletextGlyphInfo::image_offset_x |
Horizontal offset when drawing the image.
Additive to your pen position.
int32_t CobbletextGlyphInfo::image_offset_y |
Vertical offset when drawing the image.
Additive to your pen position.
uint32_t CobbletextGlyphInfo::image_width |
Width of the coverage map.
#image