35 void scan_area(
int *x1,
int *y1,
int *width,
int *height)
const;
57 Font(
const GlyphData *data,
int data_nr,
int baseline,
int height, uint8_t bpp = 1);
63 Color background)
override;
64 void measure(
const char *str,
int *width,
int *x_offset,
int *baseline,
int *height)
override;
70 const std::vector<Glyph, ExternalRAMAllocator<Glyph>> &
get_glyphs()
const {
return glyphs_; }
73 std::vector<Glyph, ExternalRAMAllocator<Glyph>>
glyphs_;
void measure(const char *str, int *width, int *x_offset, int *baseline, int *height) override
std::vector< Glyph, ExternalRAMAllocator< Glyph > > glyphs_
const std::vector< Glyph, ExternalRAMAllocator< Glyph > > & get_glyphs() const
Font(const GlyphData *data, int data_nr, int baseline, int height, uint8_t bpp=1)
Construct the font with the given glyphs.
int match_next_glyph(const uint8_t *str, int *match_length)
const GlyphData * glyph_data_
bool compare_to(const uint8_t *str) const
void scan_area(int *x1, int *y1, int *width, int *height) const
const uint8_t * get_char() const
int match_length(const uint8_t *str) const
const GlyphData * get_glyph_data() const
Glyph(const GlyphData *data)
Providing packet encoding functions for exchanging data with a remote host.