(This function is part of SDL_ttf, a separate library from SDL.)

TTF_SubStringFlags

Flags for TTF_SubString

Header File

Defined in <SDL3_ttf/SDL_ttf.h>

Syntax

typedef Uint32 TTF_SubStringFlags;

#define TTF_SUBSTRING_DIRECTION_MASK    0x000000FF  /**< The mask for the flow direction for this substring */
#define TTF_SUBSTRING_TEXT_START        0x00000100  /**< This substring contains the beginning of the text */
#define TTF_SUBSTRING_LINE_START        0x00000200  /**< This substring contains the beginning of line `line_index` */
#define TTF_SUBSTRING_LINE_END          0x00000400  /**< This substring contains the end of line `line_index` */
#define TTF_SUBSTRING_TEXT_END          0x00000800  /**< This substring contains the end of the text */

Version

This datatype is available since SDL_ttf 3.0.0.

See Also


CategoryAPI, CategoryAPIDatatype, CategorySDLTTF