(This function is part of SDL_ttf, a separate library from SDL.)

TTF_SetFontOutline

Set a font's current outline. The outline will grow inward and outward on the edges of the rendered text.

Header File

Defined in <SDL_ttf.h>

Syntax

void TTF_SetFontOutline(TTF_Font *font, int outline);

Function Parameters

TTF_Font * font the font to set a new outline on.
int outline positive outline value, 0 to default.

Version

This function is available since SDL_ttf 2.0.12.

See Also


CategoryAPI, CategoryAPIFunction