Stores the current font render style.
More...
#include <Inventor/elements/SoFontRenderStyleElement.h>
Public Types | |
| enum | RenderStyle { POLYGON, TEXTURE, TEXTURE_DELAYED, POLYGON_AND_OUTLINE } |
Public Member Functions | |
| virtual void | print (FILE *fp) const |
Static Public Member Functions | |
| static SoType | getClassTypeId () |
| static int | getClassStackIndex () |
| static void | set (SoState *state, RenderStyle style) |
| static void | set (SoState *state, SoNode *, RenderStyle style) |
| static RenderStyle | get (SoState *state) |
| static RenderStyle | getDefault () |
Stores the current font render style.
This element stores the current font render style.
| static RenderStyle SoFontRenderStyleElement::get | ( | SoState * | state | ) | [inline, static] |
Returns current render style from the state.
| static int SoFontRenderStyleElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoInt32Element.
| static SoType SoFontRenderStyleElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoInt32Element.
| static RenderStyle SoFontRenderStyleElement::getDefault | ( | ) | [static] |
Returns the default render style.
| virtual void SoFontRenderStyleElement::print | ( | FILE * | fp | ) | const [virtual] |
Prints element (for debugging).
Reimplemented from SoInt32Element.
| static void SoFontRenderStyleElement::set | ( | SoState * | state, | |
| SoNode * | , | |||
| RenderStyle | style | |||
| ) | [inline, static] |
Sets the current render style in the state.
| static void SoFontRenderStyleElement::set | ( | SoState * | state, | |
| RenderStyle | style | |||
| ) | [static] |
Sets the current render style in the state.