SoFontRenderStyleElement Class Reference
[Elements]

VSG extension Stores the current font render style. More...

#include <Inventor/elements/SoFontRenderStyleElement.h>

Inheritance diagram for SoFontRenderStyleElement:
SoInt32Element SoElement SoTypedObject

List of all members.

Public Types

enum  RenderStyle {
  POLYGON,
  TEXTURE,
  TEXTURE_DELAYED,
  POLYGON_AND_OUTLINE
}

Public Member Functions

virtual void print (FILE *fp) const

Static Public Member Functions

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

Detailed Description

VSG extension Stores the current font render style.

This element stores the current font render style.

SEE ALSO

SoFont


Member Enumeration Documentation

These are the available render styles.

Enumerator:
POLYGON 
TEXTURE 
TEXTURE_DELAYED 
POLYGON_AND_OUTLINE 

Member Function Documentation

static RenderStyle SoFontRenderStyleElement::get ( SoState state  )  [inline, static]

Returns current render style from the state.

static int SoFontRenderStyleElement::getClassStackIndex (  )  [static]

Returns the stack id for this element.

Reimplemented from SoInt32Element.

static SoType SoFontRenderStyleElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoInt32Element.

static RenderStyle SoFontRenderStyleElement::getDefault (  )  [static]

Returns the default render style.

virtual void SoFontRenderStyleElement::print ( FILE *  fp  )  const [virtual]

Prints element (for debugging).

Reimplemented from SoInt32Element.

static void SoFontRenderStyleElement::set ( SoState state,
SoNode ,
RenderStyle  style 
) [inline, static]

Sets the current render style in the state.

static void SoFontRenderStyleElement::set ( SoState state,
RenderStyle  style 
) [static]

Sets the current render style in the state.


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

Open Inventor Toolkit reference manual, generated on 11 Nov 2019
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/