The base class for all matrix display mupplets.
More...
#include <mup_gfx_display.h>
|
void | addfont (const GFXfont *font, uint8_t baseLine) |
|
void | addfont (const GFXfont *font, const char *baseLineReference="A") |
|
void | setfont (uint8_t font) |
|
The base class for all matrix display mupplets.
This class implements the basic interface and functionality of all matrix display mupplets.
◆ addfont() [1/2]
void ustd::MuppletGfxDisplay::addfont |
( |
const GFXfont * |
font, |
|
|
const char * |
baseLineReference = "A" |
|
) |
| |
|
inline |
Adds an Adafruit GFX font to the display mupplet
- Parameters
-
font | The Adafruit GFXfont object |
baseLineReference | The reference char used to determine the baseline value of the selected font |
◆ addfont() [2/2]
void ustd::MuppletGfxDisplay::addfont |
( |
const GFXfont * |
font, |
|
|
uint8_t |
baseLine |
|
) |
| |
|
inline |
Adds an Adafruit GFX font to the display mupplet
- Parameters
-
font | The Adafruit GFXfont object |
baseLine | The baseline value of the selected font |
◆ setfont()
void ustd::MuppletGfxDisplay::setfont |
( |
uint8_t |
font | ) |
|
|
inline |
Select the current font to use for output
- Parameters
-
font | The index number of the selected font. The built in font has the index number 0. |
The documentation for this class was generated from the following file: