52#ifndef _SO_FONT_SIZE_ELEMENT
53#define _SO_FONT_SIZE_ELEMENT
113 virtual SoElement* copyMatchInfo()
const;
117 static void initClass();
118 static void exitClass();
126 static void enablePolygonFontSizeScale(
SoState* state);
129 static bool isScaled(
SoState *state);
132 static unsigned int getPolygonFontSize()
134 return s_polygonFontSize;
141 static float s_defaultFontSize;
145 const static unsigned int s_polygonFontSize;
#define SoEXTENDER_Documented
#define SO_ELEMENT_HEADER(className)
Abstract base class for all state elements.
Element's subclasses store a single float, int, or enum value.
Stores the current font size.
virtual void push(SoState *state)
Overrides push() method to copy values from next instance in the stack.
static void set(SoState *state, SoNode *, float size)
Sets the current font size.
static SoType getClassTypeId()
Returns the type identifier for this class.
static float getDefault()
Returns the default font size.
static void set(SoState *state, float size)
Sets the current font size.
static float get(SoState *state)
Returns the current font size from the state.
static int getClassStackIndex()
Returns the stack id for this element.
Abstract base class for all database nodes.