#include <Monofonto-Regular-90.h>
|
| | Monofonto_Regular_90 (void) |
| |
| bool | charDef (char cc, CharDef_t &results) const |
| | Abstract function, used to define the characteristics of each character.
|
| |
| int8_t | kerning (uint16_t ID) const |
| | Finds the amount of kerning that should be used between two characters.
|
| |
| | GrFont (ROM_Image imgLoc, uint16_t lineHeight, uint16_t base) |
| | Constructs a new GrFont object.
|
| |
| void | begin (uint16_t color16Bit) |
| | Initializes the font and sets the font's foreground color.
|
| |
| void | begin (uint8_t red, uint8_t green, uint8_t blue) |
| | Initializes the font and sets the font's foreground color.
|
| |
| int8_t | kerning (uint8_t first, uint8_t second) const |
| | Finds the amount of kerning that should be used between two characters.
|
| |
| uint8_t | placeText (Canvas &canvas, char cc, uint16_t x, uint16_t y) const |
| | Places a character onto the canvas.
|
| |
| uint8_t | placeText (Canvas &canvas, const char *const text, uint16_t buffSize, uint16_t x, uint16_t y) const |
| | Places a string onto the canvas.
|
| |
| uint16_t | textWidth (const char cc) const |
| | Determines the with of character, cc, in screen pixels.
|
| |
| uint16_t | textWidth (const char *const text, uint16_t buffSize) const |
| | Determines the with of string in the character array, text.
|
| |
|
| const ROM_Image | imgLoc |
| | Location of the font in Flash ROM.
|
| |
| const uint16_t | LINE_HEIGHT |
| | Recommended vertical spacing between lines of text.
|
| |
| const uint16_t | BASE |
| |
◆ Monofonto_Regular_90()
| Monofonto_Regular_90::Monofonto_Regular_90 |
( |
void | | ) |
|
|
inline |
◆ charDef()
| bool Monofonto_Regular_90::charDef |
( |
char | cc, |
|
|
CharDef_t & | results ) const |
|
inlinevirtual |
Abstract function, used to define the characteristics of each character.
- Parameters
-
| [in] | cc | Character to look up |
| [out] | results | CharDef_t struction containing information on character, cc |
- Returns
- Returns true if
cc was found. Returns false if not
Implements GrFont.
◆ kerning()
| int8_t Monofonto_Regular_90::kerning |
( |
uint16_t | ID | ) |
const |
|
inlinevirtual |
Finds the amount of kerning that should be used between two characters.
- Parameters
-
| [in] | ID | 16-bit encoded value representing the 2 characters (CHAR1:CHAR2) |
- Returns
- Returns the amount of kerning in screen pixels
Implements GrFont.
The documentation for this struct was generated from the following file: