isScalable method

bool isScalable()

Query whether a font is scalable or not.

Scalability lets us distinguish between outline and bitmap fonts.

\param font the font to query

\returns true if the font is scalable, false otherwise.

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

\since This function is available since SDL_ttf 3.0.0.

\sa TTF_SetFontSDF

extern SDL_DECLSPEC bool TTF_FontIsScalable(const TTF_Font *font)

Implementation

bool isScalable() {
  return ttfFontIsScalable(this);
}