55#ifndef _SO_FONT_SIZE_ELEMENT
56#define _SO_FONT_SIZE_ELEMENT
#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.
Subclasses store a single float, int, or enum value.
static float get(int stackIndex, SoState *state)
Get value.
static void set(int stackIndex, SoState *state, float value)
Set value.
Element storing the current font size.
static void set(SoState *state, SoNode *, float size)
static void initClass()
Initializes class.
virtual ~SoFontSizeElement()
static float getDefault()
Returns the default font size.
static void set(SoState *state, float size)
set the current font size
virtual void init(SoState *state)
Initializes element.
static float get(SoState *state)
return the current font name from the state
Abstract base class for all database nodes.
An SoState collects and holds state while traversing a scene graph.