LCD1DebugPrinter
The class LCD1DebugPrinter implements the DebugPrinter interface for printing debug messages on top of 1bit framebuffer.
See: DebugPrinter
Inherits from: DebugPrinter
Public Functions
Additional inherited members
Public Functions inherited from DebugPrinter
DebugPrinter() | |
Initializes a new instance of the DebugPrinter class. | |
const Rect & | getRegion() const |
Returns the region where the debug string is displayed. | |
void | setColor(colortype fg) |
Sets the foreground color of the debug string. | |
void | setPosition(uint16_t x, uint16_t y, uint16_t w, uint16_t h) |
Sets the position onscreen where the debug string will be displayed. | |
void | setScale(uint8_t scale) |
Sets the font scale of the debug string. | |
void | setString(const char * string) |
Sets the debug string to be displayed on top of the framebuffer. | |
virtual | ~DebugPrinter() |
Finalizes an instance of the DebugPrinter class. | |
Protected Functions inherited from DebugPrinter
uint16_t | getGlyph(uint8_t c) const |
Gets a glyph (15 bits) arranged with 3 bits wide, 5 bits high in a single uint16_t value. | |
Protected Attributes inherited from DebugPrinter
colortype | debugForegroundColor |
Font color to use when displaying the debug string. | |
Rect | debugRegion |
Region on screen where the debug message is displayed. | |
uint8_t | debugScale |
Font scaling factor to use when displaying the debug string. | |
const char * | debugString |
Debug string to be displayed on screen. | |
Public Functions Documentation
draw
Draws the debug string on top of the framebuffer content.
Parameters:
rect | The rect to draw inside. |
Reimplements: touchgfx::DebugPrinter::draw