TTF_DestroyText - Man Page

Destroy a text object created by a text engine.

Header File

Defined in SDL3_ttf/SDL_ttf.h

Synopsis

#include "SDL3_ttf/SDL_ttf.h"

void TTF_DestroyText(TTF_Text *text);

Function Parameters

text

the text to destroy.

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.

See Also

·(3), TTF_CreateText(3)

Referenced By

TTF_CreateText(3), TTF_Text.3type(3).

SDL_ttf 3.2.2 SDL_ttf3 FUNCTIONS