ESP32VGA
ESP32 VGA Controller and Graphics Library
|
Specifies various glyph painting options. More...
#include <vgacontroller.h>
Public Member Functions | |
GlyphOptions & | FillBackground (bool value) |
Helper method to set or reset fillBackground. | |
GlyphOptions & | Bold (bool value) |
Helper method to set or reset bold. | |
GlyphOptions & | Italic (bool value) |
Helper method to set or reset italic. | |
GlyphOptions & | Underline (bool value) |
Helper method to set or reset underlined. | |
GlyphOptions & | DoubleWidth (uint8_t value) |
Helper method to set or reset doubleWidth. | |
GlyphOptions & | Invert (uint8_t value) |
Helper method to set or reset foreground and background swapping. | |
Specifies various glyph painting options.
uint16_t FabGL::GlyphOptions::blank |
If enabled the glyph is filled with the background color. To implement characters invisible or blink.
uint16_t FabGL::GlyphOptions::bold |
If enabled produces a bold-like style.
uint16_t FabGL::GlyphOptions::doubleWidth |
If enabled the glyph is doubled. To implement characters double width. 0 = normal, 1 = double width, 2 = double width - double height top, 3 = double width - double height bottom.
uint16_t FabGL::GlyphOptions::fillBackground |
If enabled glyph background is filled with current background color.
uint16_t FabGL::GlyphOptions::invert |
If enabled swaps foreground and background colors. To implement characters inverse (XORed with PaintState.paintOptions.swapFGBG)
uint16_t FabGL::GlyphOptions::italic |
If enabled skews the glyph on the right. To implement characters italic.
uint16_t FabGL::GlyphOptions::reduceLuminosity |
If enabled reduces luminosity. To implement characters faint.
uint16_t FabGL::GlyphOptions::underline |
If enabled the glyph is underlined. To implement characters underline.
uint16_t FabGL::GlyphOptions::userOpt1 |
User defined option
uint16_t FabGL::GlyphOptions::userOpt2 |
User defined option