#include <FixedNums8x16.hh>
Bitmap font size 8x16, fixed width font with numbers only.
Acknowledgements
Originates from the GLCD library and adapted for Cosa Canvas. The GLCD library was created by Michael Margolis and improved by Bill Perry.
Reference
https://code.google.com/p/glcd-arduino/source/browse/trunk/glcd/fonts/fixednums8x16.h
Definition at line 37 of file FixedNums8x16.hh.
FixedNums8x16::FixedNums8x16 |
( |
| ) |
|
|
inline |
bool Font::available |
( |
char |
c | ) |
|
|
inlineinherited |
Determine if character is available in font.
- Parameters
-
- Returns
- true if available.
Definition at line 79 of file Font.hh.
void Font::draw |
( |
Canvas * |
canvas, |
|
|
char |
c, |
|
|
uint16_t |
x, |
|
|
uint16_t |
y, |
|
|
uint8_t |
scale |
|
) |
| |
|
virtualinherited |
Draw character on given canvas.
- Parameters
-
[in] | canvas. | |
[in] | c | character. |
[in] | x | position. |
[in] | y | position. |
[in] | scale. | |
Definition at line 24 of file Font.cpp.
const uint8_t Font::FIRST |
|
inherited |
const uint8_t Font::HEIGHT |
|
inherited |
uint8_t Font::LINE_SPACING |
|
inherited |
const uint8_t* Font::m_bitmap |
|
protectedinherited |
const uint8_t Font::m_compression_type |
|
protectedinherited |
Compression type.
Definition at line 146 of file Font.hh.
const uint8_t Font::SPACING |
|
inherited |
const uint8_t Font::WIDTH |
|
inherited |
Font size; width/height and character/line spacing.
Definition at line 35 of file Font.hh.
The documentation for this class was generated from the following file: