[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
int TTF_GetFontStyle(TTF_Font *font)
Get the rendering style of the loaded font.
NOTE: Passing a NULL font into this function will cause a segfault.
Returns: The style as a bitmask composed of the following masks:
TTF_STYLE_BOLD
TTF_STYLE_ITALIC
TTF_STYLE_UNDERLINE
TTF_STYLE_STRIKETHROUGH
If no style is set then TTF_STYLE_NORMAL is returned.
|
See Also:
3.3.3 TTF_SetFontStyle,
5. Defines