FastLED 3.9.15
Loading...
Searching...
No Matches
fl::FontRenderer Class Reference

Detailed Description

Definition at line 132 of file truetype.h.

#include <truetype.h>

+ Collaboration diagram for fl::FontRenderer:

Classes

struct  ScaledMetrics
 

Public Member Functions

 FontRenderer (FontPtr font, float pixelHeight)
 
 ~FontRenderer () FL_NOEXCEPT
 
float getAdvance (i32 codepoint) const
 
float getKerning (i32 codepoint1, i32 codepoint2) const
 
ScaledMetrics getScaledMetrics () const
 
float measureString (const char *str) const
 
float measureString (fl::span< const char > str) const
 
float pixelHeight () const
 
GlyphBitmap render (i32 codepoint) const
 
GlyphBitmap render (i32 codepoint, i32 oversampleX, i32 oversampleY) const
 
GlyphBitmap renderNoAA (i32 codepoint) const
 
float scale () const
 
bool valid () const
 

Private Attributes

FontPtr mFont
 
float mPixelHeight
 
float mScale
 

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