FastLED 3.9.15
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)
 
 ~FontImpl () FL_NOEXCEPT override=default
 
const third_party::truetype::stbtt_fontinfogetFontInfo () const
 
GlyphMetrics getGlyphMetrics (i32 codepoint) const override
 
i32 getKerning (i32 codepoint1, i32 codepoint2) const override
 
FontMetrics getMetrics () const override
 
i32 getNumFonts () const override
 
float getScaleForPixelHeight (float pixelHeight) const override
 
bool isValid () const
 
GlyphBitmap renderGlyph (i32 codepoint, float scale) const override
 
GlyphBitmap renderGlyph (i32 codepoint, float scale, i32 oversampleX, i32 oversampleY) const override
 
- Public Member Functions inherited from fl::Font
virtual ~Font () FL_NOEXCEPT=default
 

Private Attributes

fl::vector< u8mFontData
 
third_party::truetype::stbtt_fontinfo mFontInfo
 
bool mValid
 

Additional Inherited Members

- Static Public Member Functions inherited from fl::Font
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 inherited from fl::Font
 Font () FL_NOEXCEPT=default
 

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