getWrapAlignment method

int getWrapAlignment()

Query a font's current wrap alignment option.

\param font the font to query. \returns the font's current wrap alignment option.

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

\since This function is available since SDL_ttf 3.0.0.

\sa TTF_SetFontWrapAlignment

extern SDL_DECLSPEC TTF_HorizontalAlignment SDLCALL TTF_GetFontWrapAlignment(const TTF_Font *font)

Implementation

int getWrapAlignment() {
  return ttfGetFontWrapAlignment(this);
}