[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.3.13 TTF_FontLineSkip

int TTF_FontLineSkip(const TTF_Font *font)

font
The loaded font to get the line skip height of.

Get the recommended pixel height of a rendered line of text of the loaded font. This is usually larger than the TTF_FontHeight of the font.

NOTE: Passing a NULL font into this function will cause a segfault.

Returns: The maximum pixel height of all glyphs in the font.

 
// get the loaded font's line skip height
//TTF_Font *font;

printf("The font line skip is: %d\n", TTF_FontLineSkip(font));

See Also:
3.3.10 TTF_FontHeight,
3.3.11 TTF_FontAscent,
3.3.12 TTF_FontDescent,
3.3.19 TTF_GlyphMetrics



This document was generated on November, 13 2009 using texi2html