ttfFontDescent function
Query the offset from the baseline to the bottom of a font.
This is a negative value, relative to the baseline.
\param font the font to query. \returns the font's descent.
\since This function is available since SDL_ttf 2.0.12.
extern DECLSPEC int SDLCALL TTF_FontDescent(const TTF_Font *font)
Implementation
int ttfFontDescent(Pointer<TtfFont> font) {
final ttfFontDescentLookupFunction = libSdl2Ttf.lookupFunction<
Int32 Function(Pointer<TtfFont> font),
int Function(Pointer<TtfFont> font)>('TTF_FontDescent');
return ttfFontDescentLookupFunction(font);
}