1#ifndef COIN_SOFONTNAMEELEMENT_H
2#define COIN_SOFONTNAMEELEMENT_H
36#include <Inventor/SbName.h>
37#include <Inventor/elements/SoReplacedElement.h>
39class COIN_DLL_API SoFontNameElement :
public SoReplacedElement {
40 typedef SoReplacedElement inherited;
42 SO_ELEMENT_HEADER(SoFontNameElement);
46 virtual ~SoFontNameElement();
49 virtual void init(SoState * state);
51 static void set(SoState *
const state,
SoNode *
const node,
53 static const SbName &
get(SoState *
const state);
59 virtual void print(FILE * file)
const;
65 static void clean(
void);
66 static SbName * defaultfontname;
The SbName class stores strings by reference.
Definition SbName.h:40
SoElement(void)
Definition SoElement.cpp:534
static void set(SoState *const state, SoNode *const node, const SbName fontName)
FIXME: write doc.
Definition SoFontNameElement.cpp:92
SbName fontName
Definition SoFontNameElement.h:62
static const SbName & get(SoState *const state)
FIXME: write doc.
Definition SoFontNameElement.cpp:110
static SbName getDefault(void)
FIXME: write doc.
Definition SoFontNameElement.cpp:168
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:56
virtual SoElement * copyMatchInfo() const
Definition SoReplacedElement.cpp:109
static void initClass(void)
Definition SoReplacedElement.cpp:77
virtual SbBool matches(const SoElement *element) const
Definition SoReplacedElement.cpp:99
virtual void init(SoState *state)
Definition SoReplacedElement.cpp:91
virtual void print(FILE *file) const
Definition SoReplacedElement.cpp:120