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

3.3.4 TTF_GetFontOutline

int TTF_GetFontOutline(TTF_Font *font)

font
The loaded font to get the outline size of.

Get the current outline size of the loaded font.

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

Returns: The size of the outline currently set on the font, in pixels.

 
// get the loaded font's outline width
//TTF_Font *font;
int outline=TTF_GetFontOutline(font);
printf("The font outline width is %d pixels\n",outline);

See Also:
3.3.5 TTF_SetFontOutline,
3.3.2 TTF_GetFontStyle



This document was generated on November, 13 2009 using texi2html