tcMenu
Public Member Functions | List of all members
tcgfx::DeviceFontDrawingMode Class Reference

#include <DeviceDrawableHelper.h>

Public Member Functions

 DeviceFontDrawingMode ()
 
 DeviceFontDrawingMode (const DeviceFontDrawingMode &other)=default
 
DeviceFontDrawingModeoperator= (const DeviceFontDrawingMode &other)=default
 
 DeviceFontDrawingMode (const GFXfont *adaTc)
 
 DeviceFontDrawingMode (const UnicodeFont *adaTc)
 
 DeviceFontDrawingMode (const NativeFontDesc &nativeFontDesc)
 
bool isTcUnicode ()
 
void setFontTcUnicode (UnicodeFontHandler *handler)
 
const NativeFontDescgetNativeDesc () const
 

Detailed Description

Wraps a font type and the associated pointer within an object that can help set the font.

Constructor & Destructor Documentation

◆ DeviceFontDrawingMode() [1/4]

tcgfx::DeviceFontDrawingMode::DeviceFontDrawingMode ( )
inline

Default constructor that sets the font mode to no font.

◆ DeviceFontDrawingMode() [2/4]

tcgfx::DeviceFontDrawingMode::DeviceFontDrawingMode ( const GFXfont *  adaTc)
inlineexplicit

Create a tcUnicode font mode with an adafruit font that will render through tcMenu.

Parameters
adaTcthe adafruit font to render with tcUnicode

◆ DeviceFontDrawingMode() [3/4]

tcgfx::DeviceFontDrawingMode::DeviceFontDrawingMode ( const UnicodeFont *  adaTc)
inlineexplicit

Create a tcUnicode font mode with a unicode font that will render through tcMenu.

Parameters
adaTcthe unicode font to render with tcUnicode

◆ DeviceFontDrawingMode() [4/4]

tcgfx::DeviceFontDrawingMode::DeviceFontDrawingMode ( const NativeFontDesc nativeFontDesc)
inlineexplicit

Create a native font mode that will render through the native library.

Parameters
adaTcthe native font description

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