Open Inventor Reference
|
Element storing the current font name. More...
#include <Inventor/elements/SoFontNameElement.h>
Public Member Functions | |
virtual void | init (SoState *state) |
Initializes element. | |
virtual SbBool | matches (const SoElement *elt) const |
Returns TRUE if the font name matches given element. | |
virtual SoElement * | copyMatchInfo () const |
Create and return a copy of this element. | |
virtual void | print (FILE *fp) const |
Prints element (for debugging) | |
Static Public Member Functions | |
static void | set (SoState *state, SoNode *node, const SbName &fontName) |
set the current font name | |
static const SbName & | get (SoState *state) |
return the current font name from the state | |
static SbName | getDefault () |
Returns the default font name. | |
static void | initClass () |
Initializes the SoNormalBindingElement class. | |
Protected Member Functions | |
virtual | ~SoFontNameElement () |
Protected Attributes | |
SbName | fontName |
Definition at line 70 of file SoFontNameElement.h.
virtual SoFontNameElement::~SoFontNameElement | ( | ) | [protected, virtual] |
virtual SoElement* SoFontNameElement::copyMatchInfo | ( | ) | const [virtual] |
Reimplemented from SoReplacedElement.
static SbName SoFontNameElement::getDefault | ( | ) | [inline, static] |
Definition at line 86 of file SoFontNameElement.h.
virtual void SoFontNameElement::init | ( | SoState * | state | ) | [virtual] |
Reimplemented from SoReplacedElement.
static void SoFontNameElement::initClass | ( | ) | [static] |
Reimplemented from SoReplacedElement.
Reimplemented from SoReplacedElement.
virtual void SoFontNameElement::print | ( | FILE * | fp | ) | const [virtual] |
Reimplemented from SoReplacedElement.
static void SoFontNameElement::set | ( | SoState * | state, |
SoNode * | node, | ||
const SbName & | fontName | ||
) | [static] |
SbName SoFontNameElement::fontName [protected] |
Definition at line 101 of file SoFontNameElement.h.