Stores the current font name. More...
#include <Inventor/elements/SoFontNameElement.h>
Public Member Functions | |
| virtual void | print (FILE *fp) const |
Static Public Member Functions | |
| static SoType | getClassTypeId () |
| static int | getClassStackIndex () |
| static void | set (SoState *state, SoNode *node, const SbString &fontName) |
| static const SbString & | get (SoState *state) |
| static const SbString & | getDefault () |
Stores the current font name.
Default font name is setup at startup by OIV_FONT_NAME environement variable if defined.
This element stores the current font name.
Returns the current font name from the state.
| static int SoFontNameElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoReplacedElement.
| static SoType SoFontNameElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoReplacedElement.
| static const SbString& SoFontNameElement::getDefault | ( | ) | [static] |
Returns the default font name.
| virtual void SoFontNameElement::print | ( | FILE * | fp | ) | const [virtual] |
Prints element (for debugging).
Reimplemented from SoReplacedElement.
| static void SoFontNameElement::set | ( | SoState * | state, | |
| SoNode * | node, | |||
| const SbString & | fontName | |||
| ) | [static] |
Sets the current font name.