ttfSetFontWrappedAlign function
Set 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 set a new wrap alignment option on. \param align the new wrap alignment option.
\since This function is available since SDL_ttf 2.20.0.
\sa TTF_GetFontWrappedAlign
extern DECLSPEC void SDLCALL TTF_SetFontWrappedAlign(TTF_Font *font, int align)
Implementation
void ttfSetFontWrappedAlign(Pointer<TtfFont> font, int align) {
final ttfSetFontWrappedAlignLookupFunction = libSdl2Ttf.lookupFunction<
Void Function(Pointer<TtfFont> font, Int32 align),
void Function(
Pointer<TtfFont> font, int align)>('TTF_SetFontWrappedAlign');
return ttfSetFontWrappedAlignLookupFunction(font, align);
}