ttfGetFontWrapAlignment function
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 ttfGetFontWrapAlignment(Pointer<TtfFont> font) {
final ttfGetFontWrapAlignmentLookupFunction = libSdl3Ttf.lookupFunction<
Int32 Function(Pointer<TtfFont> font),
int Function(Pointer<TtfFont> font)>('TTF_GetFontWrapAlignment');
return ttfGetFontWrapAlignmentLookupFunction(font);
}