|
static byte | _fontColors [4] |
|
|
| Font (byte firstCharIndex) |
|
◆ Font()
Access::Font::Font |
( |
byte |
firstCharIndex | ) |
|
|
protected |
◆ ~Font()
virtual Access::Font::~Font |
( |
| ) |
|
|
virtual |
◆ charWidth()
int Access::Font::charWidth |
( |
char |
c | ) |
|
Get the width of a given character
◆ stringWidth()
Get the width of a given string
◆ getLine()
Get a partial string that will fit in a given width
- Parameters
-
s | Source string. Modified to remove line |
maxWidth | Maximum width allowed |
line | Output line |
width | Calculated width of returned line |
- Returns
- True if last line
◆ drawString()
Draw a string on a given surface
◆ drawChar()
Draw a character on a given surface
The documentation for this class was generated from the following file: