ttfGetFontCharSpacing function ttf
Get the additional character spacing in pixels to be applied between any two rendered characters.
This defaults to 0 if it hasn't been set.
\param font the font to query. \returns the character spacing in pixels.
\threadsafety This function should be called on the thread that created the font.
\since This function is available since SDL_ttf 3.4.0.
extern SDL_DECLSPEC int SDLCALL TTF_GetFontCharSpacing(TTF_Font *font)
Implementation
int ttfGetFontCharSpacing(Pointer<TtfFont> font) {
final ttfGetFontCharSpacingLookupFunction = _libTtf
.lookupFunction<
Int32 Function(Pointer<TtfFont> font),
int Function(Pointer<TtfFont> font)
>('TTF_GetFontCharSpacing');
return ttfGetFontCharSpacingLookupFunction(font);
}