Font class to hold font data object
More...
#include <display_fonts.hpp>
Font class to hold font data object
◆ getInvertFont()
bool displaylib_fonts::getInvertFont |
( |
void |
| ) |
|
getInvertFont
- Returns
- invert status flag of font ,false = off.
◆ setFont()
SSD1306_SetFont.
- Parameters
-
SelectedFontName | Select this font, pass the font pointer name |
- Returns
- Will return
- Success
- FontDataEmpty
- FontDataTooSmall
◆ setInvertFont()
void displaylib_fonts::setInvertFont |
( |
bool |
invertStatus | ) |
|
setInvertFont
- Parameters
-
invertStatus | set the invert status flag of font ,false = off. |
◆ _Font_X_Size
uint8_t displaylib_fonts::_Font_X_Size = 0x06 |
|
protected |
Width Size of a Font character
◆ _Font_Y_Size
uint8_t displaylib_fonts::_Font_Y_Size = 0x08 |
|
protected |
Height Size of a Font character
◆ _FontInverted
bool displaylib_fonts::_FontInverted = false |
|
private |
Is the font inverted , False = normal , true = inverted
◆ _FontNumChars
uint8_t displaylib_fonts::_FontNumChars = 0xFE |
|
protected |
Number of characters in font 0x00 to 0xFE
◆ _FontOffset
uint8_t displaylib_fonts::_FontOffset = 0x00 |
|
protected |
Offset in the ASCII table 0x00 to 0xFF, where font begins
◆ _FontSelect
std::span<const uint8_t> displaylib_fonts::_FontSelect = pFontDefault |
|
protected |
span to the active font, Fonts Stored are Const
The documentation for this class was generated from the following files: