Scroll to navigation

TTF_SetFontWrappedAlign(3) SDL_ttf3 FUNCTIONS TTF_SetFontWrappedAlign(3)

NAME

TTF_SetFontWrappedAlign - Set a font's current wrap alignment option.

SYNOPSIS

#include "SDL3_ttf/SDL_ttf.h"
void TTF_SetFontWrappedAlign(TTF_Font *font, int align);

DESCRIPTION

The wrap alignment option can be one of the following:

TTF_WRAPPED_ALIGN_LEFT

TTF_WRAPPED_ALIGN_CENTER

TTF_WRAPPED_ALIGN_RIGHT

FUNCTION PARAMETERS

the font to set a new wrap alignment option on.
the new wrap alignment option.

AVAILABILITY

This function is available since SDL_ttf 3.0.0.

SEE ALSO

TTF_GetFontWrappedAlign(3)

SDL_ttf 3.0.0 SDL_ttf