TTF_GetTextProperties - Get the properties associated with a text object.
Contents
Availability
This function is available since SDL_ttf 3.0.0.
SDL_ttf SDL_ttf 3.2.2 TTF_GetTextProperties(3)
Function Parameters
text the TTF_Text
to query.
Header File
Defined in SDL3_ttf/SDL_ttf.h
Name
TTF_GetTextProperties - Get the properties associated with a text object.
Return Value
Returns a valid property ID on success or 0 on failure; call SDL_GetError() for more information.
Synopsis
#include"SDL3_ttf/SDL_ttf.h"SDL_PropertiesIDTTF_GetTextProperties(TTF_Text*text);
Thread Safety
This function should be called on the thread that created the text.
