Tc Unicode Helper
Public Member Functions | List of all members
GlyphWithBitmap Class Reference

#include <tcUnicodeHelper.h>

Public Member Functions

const uint8_t * getBitmapData () const
 
const UnicodeFontGlyphgetGlyph () const
 
void setBitmapData (const uint8_t *bm)
 
void setGlyph (const UnicodeFontGlyph *g)
 

Detailed Description

Represents an item that can be drawn using the TcMenu font drawing functions. Regardless of if it is Adafruit or TcUnicode we wrap it in one of these so the drawing code is always the same.

Member Function Documentation

◆ getBitmapData()

const uint8_t* GlyphWithBitmap::getBitmapData ( ) const
Returns
the actual bitmap data with offset already applied

◆ getGlyph()

const UnicodeFontGlyph* GlyphWithBitmap::getGlyph ( ) const
Returns
the glyph instructions for rendering. This structure is always in RAM and not progmem.

The documentation for this class was generated from the following file: