ttfFontHeight function
Query the total height of a font.
This is usually equal to point size.
\param font the font to query. \returns the font's height.
\since This function is available since SDL_ttf 2.0.12.
extern DECLSPEC int SDLCALL TTF_FontHeight(const TTF_Font *font)
Implementation
int ttfFontHeight(Pointer<TtfFont> font) {
final ttfFontHeightLookupFunction = libSdl2Ttf.lookupFunction<
Int32 Function(Pointer<TtfFont> font),
int Function(Pointer<TtfFont> font)>('TTF_FontHeight');
return ttfFontHeightLookupFunction(font);
}