SoFontSizeElement Class Reference
[Elements]

Stores the current font size. More...

#include <Inventor/elements/SoFontSizeElement.h>

Inheritance diagram for SoFontSizeElement:
SoFloatElement SoElement SoTypedObject

List of all members.

Public Member Functions

virtual void push (SoState *state)

Static Public Member Functions

static SoType getClassTypeId ()
static int getClassStackIndex ()
static void set (SoState *state, float size)
static void set (SoState *state, SoNode *, float size)
static float get (SoState *state)
static float getDefault ()

Detailed Description

Stores the current font size.

This element stores the current font size.

SEE ALSO

SoFont, SoFontStyle, SoVRMLFontStyle


Member Function Documentation

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

Returns the current font size from the state.

static int SoFontSizeElement::getClassStackIndex (  )  [static]

Returns the stack id for this element.

Reimplemented from SoFloatElement.

static SoType SoFontSizeElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoFloatElement.

static float SoFontSizeElement::getDefault (  )  [static]

Returns the default font size.

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

Overrides push() method to copy values from next instance in the stack.

Reimplemented from SoElement.

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

Sets the current font size.

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

Sets the current font size.


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

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/