FastLED 3.10.8
Loading...
Searching...
No Matches
fl::FontImpl Class Reference

Detailed Description

Definition at line 17 of file truetype.cpp.hpp.

#include <truetype.cpp.hpp>

+ Inheritance diagram for fl::FontImpl:
+ Collaboration diagram for fl::FontImpl:

Public Member Functions

 FontImpl (fl::span< const u8 > fontData, i32 fontIndex=0) FL_NO_EXCEPT
 
 ~FontImpl () FL_NO_EXCEPT override=default
 
const third_party::truetype::stbtt_fontinfo & getFontInfo () const FL_NO_EXCEPT
 
GlyphMetrics getGlyphMetrics (i32 codepoint) const FL_NO_EXCEPT override
 
i32 getKerning (i32 codepoint1, i32 codepoint2) const FL_NO_EXCEPT override
 
FontMetrics getMetrics () const FL_NO_EXCEPT override
 
i32 getNumFonts () const FL_NO_EXCEPT override
 
float getScaleForPixelHeight (float pixelHeight) const FL_NO_EXCEPT override
 
bool isValid () const FL_NO_EXCEPT
 
GlyphBitmap renderGlyph (i32 codepoint, float scale) const FL_NO_EXCEPT override
 
GlyphBitmap renderGlyph (i32 codepoint, float scale, i32 oversampleX, i32 oversampleY) const FL_NO_EXCEPT override
 
- Public Member Functions inherited from fl::Font
virtual ~Font () FL_NO_EXCEPT=default
 

Private Attributes

fl::vector< u8 > mFontData
 
third_party::truetype::stbtt_fontinfo mFontInfo
 
bool mValid
 

Additional Inherited Members

- Static Public Member Functions inherited from fl::Font
static fl::shared_ptr< Font > load (fl::span< const u8 > fontData) FL_NO_EXCEPT
 
static fl::shared_ptr< Font > load (fl::span< const u8 > fontData, i32 fontIndex) FL_NO_EXCEPT
 
static fl::shared_ptr< Font > loadDefault () FL_NO_EXCEPT
 
- Protected Member Functions inherited from fl::Font
 Font () FL_NO_EXCEPT=default
 

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