TTF_SetFontLineSkip - Man Page

Set the spacing between lines of text for a font.

Header File

Defined in SDL3_ttf/SDL_ttf.h

Synopsis

#include "SDL3_ttf/SDL_ttf.h"

void TTF_SetFontLineSkip(TTF_Font *font, int lineskip);

Description

This updates any TTF_Text
objects using this font.

Function Parameters

font

the font to modify.

lineskip

the new line spacing for the font.

Thread Safety

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

Availability

This function is available since SDL_ttf 3.0.0.

See Also

·(3), TTF_GetFontLineSkip(3)

Referenced By

TTF_GetFontLineSkip(3).

SDL_ttf 3.2.2 SDL_ttf3 FUNCTIONS