55#ifndef _SO_FONT_NAME_ELEMENT
56#define _SO_FONT_NAME_ELEMENT
94 virtual void print(FILE *fp)
const;
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_ELEMENT_HEADER(className)
This one is for non-abstract element classes.
Character string stored in a hash table.
SoElement()
Constructor; use typeId.createInstance to create elements.
Element storing the current font name.
static void initClass()
Initializes the SoNormalBindingElement class.
virtual void init(SoState *state)
Initializes element.
virtual ~SoFontNameElement()
virtual bool matches(const SoElement *elt) const
Returns TRUE if the font name matches given element.
static const SbName & get(SoState *state)
return the current font name from the state
static SbName getDefault()
Returns the default font name.
virtual void print(FILE *fp) const
Prints element (for debugging)
static void set(SoState *state, SoNode *node, const SbName &fontName)
set the current font name
virtual SoElement * copyMatchInfo() const
Create and return a copy of this element.
Abstract base class for all database nodes.
This is the abstract base class for each state element whose value is replaced whenever it is set.