DOKK / manpages / debian 13 / libsdl3-ttf-doc / TTF_GetTextProperties.3.en
TTF_GetTextProperties(3) SDL_ttf3 FUNCTIONS TTF_GetTextProperties(3)

TTF_GetTextProperties - Get the properties associated with a text object.

Defined in SDL3_ttf/SDL_ttf.h

#include "SDL3_ttf/SDL_ttf.h"
SDL_PropertiesID TTF_GetTextProperties(TTF_Text *text);

the TTF_Text
to query.

Returns a valid property ID on success or 0 on failure; call SDL_GetError() for more information.

This function should be called on the thread that created the text.

This function is available since SDL_ttf 3.0.0.

SDL_ttf 3.2.2 SDL_ttf