#include <DeviceDrawableHelper.h>
Public Member Functions | |
DeviceFontDrawingMode () | |
DeviceFontDrawingMode (const DeviceFontDrawingMode &other)=default | |
DeviceFontDrawingMode & | operator= (const DeviceFontDrawingMode &other)=default |
DeviceFontDrawingMode (const GFXfont *adaTc) | |
DeviceFontDrawingMode (const UnicodeFont *adaTc) | |
DeviceFontDrawingMode (const NativeFontDesc &nativeFontDesc) | |
bool | isTcUnicode () |
void | setFontTcUnicode (UnicodeFontHandler *handler) |
const NativeFontDesc & | getNativeDesc () const |
Wraps a font type and the associated pointer within an object that can help set the font.
|
inline |
Default constructor that sets the font mode to no font.
|
inlineexplicit |
Create a tcUnicode font mode with an adafruit font that will render through tcMenu.
adaTc | the adafruit font to render with tcUnicode |
|
inlineexplicit |
Create a tcUnicode font mode with a unicode font that will render through tcMenu.
adaTc | the unicode font to render with tcUnicode |
|
inlineexplicit |
Create a native font mode that will render through the native library.
adaTc | the native font description |