TTF_GetTextProperties - Man Page

Get the properties associated with a text object.

Header File

Defined in SDL3_ttf/SDL_ttf.h

Synopsis

#include "SDL3_ttf/SDL_ttf.h"

SDL_PropertiesID TTF_GetTextProperties(TTF_Text *text);

Function Parameters

text

the TTF_Text
to query.

Return Value

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

Thread Safety

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

Availability

This function is available since SDL_ttf 3.0.0.

Referenced By

TTF_Text.3type(3).

SDL_ttf 3.2.2 SDL_ttf3 FUNCTIONS