ttfGetFontWrappedAlign function
Query a font's current wrap alignment option.
The wrap alignment option can be one of the following:
TTF_WRAPPED_ALIGN_LEFT
TTF_WRAPPED_ALIGN_CENTER
TTF_WRAPPED_ALIGN_RIGHT
\param font the font to query. \returns the font's current wrap alignment option.
\since This function is available since SDL_ttf 2.20.0.
\sa TTF_SetFontWrappedAlign
extern DECLSPEC int SDLCALL TTF_GetFontWrappedAlign(const TTF_Font *font)
Implementation
int ttfGetFontWrappedAlign(Pointer<TtfFont> font) {
final ttfGetFontWrappedAlignLookupFunction = libSdl2Ttf.lookupFunction<
Int32 Function(Pointer<TtfFont> font),
int Function(Pointer<TtfFont> font)>('TTF_GetFontWrappedAlign');
return ttfGetFontWrappedAlignLookupFunction(font);
}