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

# TTF\_GetFontWrapAlignment(3)

Query a font's current wrap alignment option.

## NAME

TTF\_GetFontWrapAlignment - Query a font's current wrap alignment option.

## HEADER FILE

Defined in SDL3\_ttf/SDL\_ttf.h

## SYNOPSIS

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

**TTF\_HorizontalAlignment TTF\_GetFontWrapAlignment(const TTF\_Font \*font);**

## FUNCTION PARAMETERS

- *font*

  the font to query.

## RETURN VALUE

( **TTF\_HorizontalAlignment** ) Returns the font's current wrap alignment option.

## THREAD SAFETY

It is safe to call this function from any thread.

## AVAILABILITY

This function is available since SDL\_ttf 3.0.0.

## SEE ALSO

**•**(3), [**TTF\_SetFontWrapAlignment**(3)](/TTF_SetFontWrapAlignment/3.md)
