FabGL
ESP32 VGA Controller and Graphics Library
fabgl::GlyphOptions Union Reference

Specifies various glyph painting options. More...

#include <vgacontroller.h>

Public Member Functions

GlyphOptionsBold (bool value)
 Helper method to set or reset bold. More...
 
GlyphOptionsDoubleWidth (uint8_t value)
 Helper method to set or reset doubleWidth. More...
 
GlyphOptionsFillBackground (bool value)
 Helper method to set or reset fillBackground. More...
 
GlyphOptionsInvert (uint8_t value)
 Helper method to set or reset foreground and background swapping. More...
 
GlyphOptionsItalic (bool value)
 Helper method to set or reset italic. More...
 
GlyphOptionsUnderline (bool value)
 Helper method to set or reset underlined. More...
 

Detailed Description

Specifies various glyph painting options.

Member Function Documentation

◆ Bold()

GlyphOptions& fabgl::GlyphOptions::Bold ( bool  value)
inline

Helper method to set or reset bold.

◆ DoubleWidth()

GlyphOptions& fabgl::GlyphOptions::DoubleWidth ( uint8_t  value)
inline

Helper method to set or reset doubleWidth.

◆ FillBackground()

GlyphOptions& fabgl::GlyphOptions::FillBackground ( bool  value)
inline

Helper method to set or reset fillBackground.

◆ Invert()

GlyphOptions& fabgl::GlyphOptions::Invert ( uint8_t  value)
inline

Helper method to set or reset foreground and background swapping.

◆ Italic()

GlyphOptions& fabgl::GlyphOptions::Italic ( bool  value)
inline

Helper method to set or reset italic.

◆ Underline()

GlyphOptions& fabgl::GlyphOptions::Underline ( bool  value)
inline

Helper method to set or reset underlined.

Member Data Documentation

◆ blank

uint16_t fabgl::GlyphOptions::blank

If enabled the glyph is filled with the background color. To implement characters invisible or blink.

◆ bold

uint16_t fabgl::GlyphOptions::bold

If enabled produces a bold-like style.

◆ doubleWidth

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.

◆ fillBackground

uint16_t fabgl::GlyphOptions::fillBackground

If enabled glyph background is filled with current background color.

◆ invert

uint16_t fabgl::GlyphOptions::invert

If enabled swaps foreground and background colors. To implement characters inverse (XORed with PaintState.paintOptions.swapFGBG)

◆ italic

uint16_t fabgl::GlyphOptions::italic

If enabled skews the glyph on the right. To implement characters italic.

◆ reduceLuminosity

uint16_t fabgl::GlyphOptions::reduceLuminosity

If enabled reduces luminosity. To implement characters faint.

◆ underline

uint16_t fabgl::GlyphOptions::underline

If enabled the glyph is underlined. To implement characters underline.

◆ userOpt1

uint16_t fabgl::GlyphOptions::userOpt1

User defined option

◆ userOpt2

uint16_t fabgl::GlyphOptions::userOpt2

User defined option


The documentation for this union was generated from the following file: