|
COSA
An Object-Oriented Platform for Arduino Programming
|
#include <Font.hh>

Public Member Functions | |
| Glyph (Font *font, char c= ' ') | |
| void | begin (char c) |
| uint8_t | next () |
Protected Attributes | |
| Font * | m_font |
| char | m_char |
| uint8_t | m_offset |
| uint8_t | m_flags |
| uint8_t * | m_bitset |
| uint8_t * | m_bitmap |
| uint8_t | m_next |
Display a character. Used in the form: Font::Glyph glyph(font, character); for (uint16_t i = 0; i < HEIGHT; i += 8) { for (uint16_t j = 0; j < WIDTH; j++) { uint8_t bits = glyph.next(); // display bits } }
| void Font::Glyph::begin | ( | char | c | ) |