FastLED 3.9.15
Loading...
Searching...
No Matches
fl::Font Class Referenceabstract

Detailed Description

Definition at line 84 of file truetype.h.

#include <truetype.h>

+ Inheritance diagram for fl::Font:

Public Member Functions

virtual ~Font () FL_NOEXCEPT=default
 
virtual GlyphMetrics getGlyphMetrics (i32 codepoint) const =0
 
virtual i32 getKerning (i32 codepoint1, i32 codepoint2) const =0
 
virtual FontMetrics getMetrics () const =0
 
virtual i32 getNumFonts () const =0
 
virtual float getScaleForPixelHeight (float pixelHeight) const =0
 
virtual GlyphBitmap renderGlyph (i32 codepoint, float scale) const =0
 
virtual GlyphBitmap renderGlyph (i32 codepoint, float scale, i32 oversampleX, i32 oversampleY) const =0
 

Static Public Member Functions

static fl::shared_ptr< Fontload (fl::span< const u8 > fontData)
 
static fl::shared_ptr< Fontload (fl::span< const u8 > fontData, i32 fontIndex)
 
static fl::shared_ptr< FontloadDefault ()
 

Protected Member Functions

 Font () FL_NOEXCEPT=default
 

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