Open Inventor Reference
SoFontNameElement Class Reference

Element storing the current font name. More...

#include <Inventor/elements/SoFontNameElement.h>

Inheritance diagram for SoFontNameElement:
SoReplacedElement SoElement

List of all members.

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 SoElementcopyMatchInfo () 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 SbNameget (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

Detailed Description

Definition at line 70 of file SoFontNameElement.h.


Constructor & Destructor Documentation

virtual SoFontNameElement::~SoFontNameElement ( ) [protected, virtual]

Member Function Documentation

virtual SoElement* SoFontNameElement::copyMatchInfo ( ) const [virtual]

Reimplemented from SoReplacedElement.

static const SbName& SoFontNameElement::get ( SoState state) [static]
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.

virtual SbBool SoFontNameElement::matches ( const SoElement elt) const [virtual]

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]

Member Data Documentation

Definition at line 101 of file SoFontNameElement.h.


The documentation for this class was generated from the following file: