TTF_FontStyleFlags - Font style flags for TTF_Font
Contents
Availability
This datatype is available since SDL_ttf 3.0.0.
Description
These are the flags which can be used to set the style of a font in SDL_ttf. A combination of these flags
can be used with functions that set or query font style, such as TTF_SetFontStyle
or
TTF_GetFontStyle .
Header File
Defined in SDL3_ttf/SDL_ttf.h
Name
TTF_FontStyleFlags - Font style flags for TTF_FontSee Also
•(3), TTF_SetFontStyle(3), •(3), TTF_GetFontStyle(3) SDL_ttf SDL_ttf 3.2.2 TTF_FontStyleFlags(3type)
Synopsis
#include"SDL3_ttf/SDL_ttf.h"typedefUint32TTF_FontStyleFlags;#defineTTF_STYLE_NORMAL0x00/**<Nospecialstyle*/#defineTTF_STYLE_BOLD0x01/**<Boldstyle*/#defineTTF_STYLE_ITALIC0x02/**<Italicstyle*/#defineTTF_STYLE_UNDERLINE0x04/**<Underlinedtext*/#defineTTF_STYLE_STRIKETHROUGH0x08/**<Strikethroughtext*/
