Main Page
Namespaces
Classes
Files
Related Pages
Examples
myFont.setRenderingStyle
Sets the current rendering style for this font.
Note:
Combining Font::Underline with anything can cause a segfault, other combinations may also do this (due to the SDL_ttf/Freetype backend).
Changing the font style flushes the internal cache of previously rendered glyphs.
Parameters:
newStyle
a bitmask of the desired rendering styles.
( Font::Italic | Font:Bold ) ;
Exceptions:
TextException
if the specified style is not supported.
Generated on Fri Mar 30 14:46:59 2007 for OSDL by
1.5.1