52#ifndef _SO_FONT_NAME_ELEMENT
53#define _SO_FONT_NAME_ELEMENT
55#include <Inventor/SbString.h>
56#include <Inventor/elements/SoReplacedElement.h>
57#include <Inventor/nodes/SoFont.h>
97 virtual void print(FILE *fp)
const;
102 virtual void init(
SoState *state);
112 virtual SoElement* copyMatchInfo()
const;
116 static void initClass();
117 static void exitClass();
123 static const SbString& getFontServerFontName();
126 static void setFontServerFontName(
const SbString& fontName );
Class for smart character strings.
Abstract base class for all state elements.
Node that defines font name, size, and type for text.
Stores the current font name.
static const SbString & getDefault()
Returns the default font name.
static void set(SoState *state, SoNode *node, const SbString &fontName)
Sets the current font name.
virtual void print(FILE *fp) const
Prints element (for debugging).
static const SbString & get(SoState *state)
Returns the current font name from the state.
Abstract base class for all database nodes.
Abstract base class for each state element whose value is replaced whenever it is set.