Get the size of a font.
Defined in <SDL3_ttf/SDL_ttf.h>
float TTF_GetFontSize(TTF_Font *font);
TTF_Font * | font | the font to query. |
(float) Returns the size of the font, or 0.0f on failure; call SDL_GetError() for more information.
This function should be called on the thread that created the font.
This function is available since SDL_ttf 3.0.0.