---
name: "TTF_SubStringFlags"
section: "3type"
platform: "linux"
package: "libsdl3-ttf-doc"
version: "3.2.2+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/TTF_SubStringFlags"
---

# TTF\_SubStringFlags(3type)

Flags for TTF\_SubString

## NAME

TTF\_SubStringFlags - Flags for  **TTF\_SubString**

## HEADER FILE

Defined in SDL3\_ttf/SDL\_ttf.h

## SYNOPSIS

```
#include "SDL3_ttf/SDL_ttf.h"
```

**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 \*/**

## AVAILABILITY

This datatype is available since SDL\_ttf 3.0.0.

## SEE ALSO

**•**(3), [**TTF\_SubString**(3type)](/TTF_SubString/3type.md)
