ttfFontFaces function
Query the number of faces of a font.
\param font the font to query. \returns the number of FreeType font faces.
\since This function is available since SDL_ttf 2.0.12.
extern DECLSPEC long SDLCALL TTF_FontFaces(const TTF_Font *font)
Implementation
int ttfFontFaces(Pointer<TtfFont> font) {
final ttfFontFacesLookupFunction = libSdl2Ttf.lookupFunction<
Int32 Function(Pointer<TtfFont> font),
int Function(Pointer<TtfFont> font)>('TTF_FontFaces');
return ttfFontFacesLookupFunction(font);
}