FastLED 3.9.15
Loading...
Searching...
No Matches

◆ getKerning()

float fl::FontRenderer::getKerning ( i32 codepoint1,
i32 codepoint2 ) const

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

231 {
232 if (!mFont) return 0.0f;
233 return static_cast<float>(mFont->getKerning(codepoint1, codepoint2)) * mScale;
234}

References mFont, and mScale.

Referenced by measureString().

+ Here is the caller graph for this function: