Open Inventor Reference
SoFontSizeElement Class Reference

Element storing the current font size. More...

#include <Inventor/elements/SoFontSizeElement.h>

Inheritance diagram for SoFontSizeElement:
SoFloatElement SoElement

List of all members.

Public Member Functions

virtual void init (SoState *state)
 Initializes element.

Static Public Member Functions

static void set (SoState *state, float size)
 set the current font size
static void set (SoState *state, SoNode *, float size)
static float get (SoState *state)
 return the current font name from the state
static float getDefault ()
 Returns the default font size.
static void initClass ()
 Initializes class.

Protected Member Functions

virtual ~SoFontSizeElement ()

Detailed Description

Definition at line 70 of file SoFontSizeElement.h.


Constructor & Destructor Documentation

virtual SoFontSizeElement::~SoFontSizeElement ( ) [protected, virtual]

Member Function Documentation

static float SoFontSizeElement::get ( SoState state) [inline, static]

Definition at line 88 of file SoFontSizeElement.h.

References SoFloatElement::get().

static float SoFontSizeElement::getDefault ( ) [inline, static]

Definition at line 92 of file SoFontSizeElement.h.

virtual void SoFontSizeElement::init ( SoState state) [virtual]

Reimplemented from SoElement.

static void SoFontSizeElement::initClass ( ) [static]

Reimplemented from SoFloatElement.

static void SoFontSizeElement::set ( SoState state,
float  size 
) [inline, static]

Definition at line 79 of file SoFontSizeElement.h.

References SoFloatElement::set().

static void SoFontSizeElement::set ( SoState state,
SoNode ,
float  size 
) [inline, static]

Definition at line 83 of file SoFontSizeElement.h.


The documentation for this class was generated from the following file: