setLineSlip method

void setLineSlip(
  1. int lineskip
)

Set the spacing between lines of text for a font.

This updates any TTF_Text objects using this font.

\param font the font to modify. \param lineskip the new line spacing for the font.

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

\since This function is available since SDL_ttf 3.0.0.

\sa TTF_GetFontLineSkip

extern SDL_DECLSPEC void SDLCALL TTF_SetFontLineSkip(TTF_Font *font, int lineskip)

Implementation

void setLineSlip(int lineskip) {
  ttfSetFontLineSkip(this, lineskip);
}