logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

TTF_SetFontLineSkip - Set the spacing between lines of text for a font.

Availability

       This function is available since SDL_ttf 3.0.0.

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.

Header File

       Defined in SDL3_ttf/SDL_ttf.h

Name

       TTF_SetFontLineSkip - Set the spacing between lines of text for a font.

See Also

(3), TTF_GetFontLineSkip(3)

SDL_ttf                                           SDL_ttf 3.2.2                           TTF_SetFontLineSkip(3)

Synopsis

#include"SDL3_ttf/SDL_ttf.h"voidTTF_SetFontLineSkip(TTF_Font*font,intlineskip);

Thread Safety

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

return

See Also