SoTextAlignmentHElement Class Reference
[Elements]

VSG extension Stores the current horizontal text alignment. More...

#include <Inventor/elements/SoTextAlignmentHElement.h>

Inheritance diagram for SoTextAlignmentHElement:
SoInt32Element SoElement SoTypedObject

List of all members.

Public Types

enum  AlignmentH {
  LEFT = 0x01,
  CENTER = 0x03,
  RIGHT = 0x02,
  INHERITED = 0x04
}

Public Member Functions

virtual void print (FILE *fp) const

Static Public Member Functions

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

Detailed Description

VSG extension Stores the current horizontal text alignment.

This element stores the current horizontal text alignment.

SEE ALSO

SoTextProperty


Member Enumeration Documentation

AlignmentH.

Enumerator:
LEFT 

LEFT.

CENTER 

CENTER.

RIGHT 

RIGHT.

INHERITED 

INHERITED - Used as defined, do not set to element.


Member Function Documentation

static AlignmentH SoTextAlignmentHElement::get ( SoState state  )  [inline, static]

Returns current draw style from the state.

static int SoTextAlignmentHElement::getClassStackIndex (  )  [static]

Returns the stack id for this element.

Reimplemented from SoInt32Element.

static SoType SoTextAlignmentHElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoInt32Element.

static AlignmentH SoTextAlignmentHElement::getDefault (  )  [static]

Returns the default draw style.

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

Prints element (for debugging).

Reimplemented from SoInt32Element.

static void SoTextAlignmentHElement::set ( SoState state,
SoNode ,
AlignmentH  style 
) [inline, static]

Sets the current horizontal text alignment in the state.

static void SoTextAlignmentHElement::set ( SoState state,
AlignmentH  style 
) [static]

Sets the current horizontal text alignment in the state.


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

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