FabGL
ESP32 VGA Controller and Graphics Library
|
Represents a glyph position, size and binary data. More...
#include <vgacontroller.h>
Public Attributes | |
uint8_t const * | data |
int16_t | height |
int16_t | width |
int16_t | X |
int16_t | Y |
Represents a glyph position, size and binary data.
A glyph is a bitmap (1 bit per pixel). The fabgl::TerminalClass uses glyphs to render characters.
uint8_t const* fabgl::Glyph::data |
Byte aligned binary data of the glyph. A 0 represents background or a transparent pixel. A 1 represents foreground.
int16_t fabgl::Glyph::height |
Glyph vertical size
int16_t fabgl::Glyph::width |
Glyph horizontal size
int16_t fabgl::Glyph::X |
Horizontal glyph coordinate
int16_t fabgl::Glyph::Y |
Vertical glyph coordinate