![]() |
Display_Lib_RPI 2.4.2
A C++ Library to connect electronic displays to Linux single board computers.
|
Font class to hold font data object
More...
#include <font_data_RDL.hpp>

Public Member Functions | |
| display_Fonts () | |
| init the OLED font class object constructor | |
| rdlib::Return_Codes_e | setFont (display_Font_name_e) |
| SetFont. | |
| void | setInvertFont (bool invertStatus) |
| setInvertFont | |
| bool | getInvertFont (void) |
| getInvertFont | |
Protected Attributes | |
| std::span< const uint8_t > | _FontSelect = pFontDefault |
| uint8_t | _Font_X_Size = 0x08 |
| uint8_t | _Font_Y_Size = 0x08 |
| uint8_t | _FontOffset = 0x20 |
| uint8_t | _FontNumChars = 0x5E |
Private Attributes | |
| bool | _FontInverted = false |
Font class to hold font data object
| bool display_Fonts::getInvertFont | ( | void | ) |
getInvertFont
| rdlib::Return_Codes_e display_Fonts::setFont | ( | display_Font_name_e | FontChoice | ) |
SetFont.
| FontChoice | SelectedFontName Select this font, pass the font enum name |
| void display_Fonts::setInvertFont | ( | bool | invertStatus | ) |
setInvertFont
| invertStatus | set the invert status flag of font ,false = off. |
|
protected |
Width Size of a Font character
|
protected |
Height Size of a Font character
|
private |
display font inverted? , False = no invert , true = invert
|
protected |
Number of characters in font 0x00 to 0xFE
|
protected |
Offset in the ASCII table 0x00 to 0xFF, where font begins
|
protected |
Span to the active font, Fonts Stored are Const