Reference

TTF_FontStyleFlags(3type)

Font style flags for TTF_Font

NAME

TTF_FontStyleFlags - Font style flags for TTF_Font

HEADER FILE

Defined in SDL3_ttf/SDL_ttf.h

SYNOPSIS

#include "SDL3_ttf/SDL_ttf.h"

typedef Uint32 TTF_FontStyleFlags; #define TTF_STYLE_NORMAL 0x00 /**< No special style */ #define TTF_STYLE_BOLD 0x01 /**< Bold style */ #define TTF_STYLE_ITALIC 0x02 /**< Italic style */ #define TTF_STYLE_UNDERLINE 0x04 /**< Underlined text */ #define TTF_STYLE_STRIKETHROUGH 0x08 /**< Strikethrough text */

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 .

AVAILABILITY

This datatype is available since SDL_ttf 3.0.0.

SEE ALSO

•(3), TTF_SetFontStyle(3), •(3), TTF_GetFontStyle(3)