SoTextStyleElement Class Reference
[Elements]

VSG extension Stores the current text effect settings. More...

#include <Inventor/elements/SoTextStyleElement.h>

Inheritance diagram for SoTextStyleElement:
SoInt32Element SoElement SoTypedObject

List of all members.

Public Types

enum  Style {
  NONE = 1 << 0,
  UNDERLINE = 1 << 1,
  STRIKETHROUGH = 1 << 2,
  DOUBLE_STRIKETHROUGH = 1 << 3,
  BACK_FRAME = 1 << 4,
  BACK_FRAME_LINE = 1 << 5,
  OVERLINE = 1 << 6
}

Static Public Member Functions

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

Detailed Description

VSG extension Stores the current text effect settings.

This element stores the current text effects settings.

SEE ALSO

SoTextProperty


Member Enumeration Documentation

Available styles (may be combined):.

Enumerator:
NONE 

No effects.

UNDERLINE 

UNDERLINE.

STRIKETHROUGH 

STRIKETHROUGH.

DOUBLE_STRIKETHROUGH 

DOUBLE_STRIKETHROUGH.

BACK_FRAME 

BACK_FRAME.

BACK_FRAME_LINE 

BACK_FRAME_LINE.

OVERLINE 

OVERLINE.


Member Function Documentation

static Style SoTextStyleElement::get ( SoState state  )  [inline, static]

Returns current style from the state.

static int SoTextStyleElement::getClassStackIndex (  )  [static]

Returns the stack id for this element.

Reimplemented from SoInt32Element.

static SoType SoTextStyleElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoInt32Element.

static Style SoTextStyleElement::getDefault (  )  [static]

Returns the default style.

static void SoTextStyleElement::set ( SoState state,
SoNode ,
Style  style 
) [inline, static]

Sets the current style type in the state.

static void SoTextStyleElement::set ( SoState state,
Style  style 
) [static]

Sets the current style type in the state.


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

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/