TTF_DestroySurfaceTextEngine - Man Page

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

engine

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)

Referenced By

TTF_CreateSurfaceTextEngine(3).

SDL_ttf 3.2.2 SDL_ttf3 FUNCTIONS