Scroll to navigation

TTF_DestroySurfaceTextEngine(3) SDL_ttf3 FUNCTIONS TTF_DestroySurfaceTextEngine(3)

NAME

TTF_DestroySurfaceTextEngine - Destroy a text engine created for drawing text on SDL surfaces.

HEADER FILE

Defined in SDL3_ttf/SDL_ttf.h

SYNOPSIS

#include "SDL3_ttf/SDL_ttf.h"
void TTF_DestroySurfaceTextEngine(TTF_TextEngine *engine);

DESCRIPTION

All text created by this engine should be destroyed before calling this function.

FUNCTION PARAMETERS

a TTF_TextEngine
object created with TTF_CreateSurfaceTextEngine ().

THREAD SAFETY

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

AVAILABILITY

This function is available since SDL_ttf 3.0.0.

SEE ALSO

(3), TTF_CreateSurfaceTextEngine(3)

SDL_ttf 3.1.0 SDL_ttf