getHeight method

int getHeight()

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.

\threadsafety It is safe to call this function from any thread.

\since This function is available since SDL_ttf 3.0.0.

extern SDL_DECLSPEC int SDLCALL TTF_GetFontHeight(const TTF_Font *font)

Implementation

int getHeight() {
  return ttfGetFontHeight(this);
}