getSdf method

bool getSdf()

Query whether Signed Distance Field rendering is enabled for a font.

\param font the font to query

\returns true if enabled, 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_GetFontSDF(const TTF_Font *font)

Implementation

bool getSdf() {
  return ttfGetFontSdf(this);
}