SoTextAlignmentVElement Class Reference
[Elements]

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

#include <Inventor/elements/SoTextAlignmentVElement.h>

Inheritance diagram for SoTextAlignmentVElement:
SoInt32Element SoElement SoTypedObject

List of all members.

Public Types

enum  AlignmentV {
  TOP = 0x01,
  HALF = 0x03,
  BASE = 0x04,
  BOTTOM = 0x05
}

Public Member Functions

virtual void print (FILE *fp) const

Static Public Member Functions

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

Detailed Description

VSG extension Stores the current vertical text alignment.

This element stores the current vertical text alignment.

SEE ALSO

SoTextProperty


Member Enumeration Documentation

AlignmentV.

Enumerator:
TOP 

TOP.

HALF 

HALF.

BASE 

BASE.

BOTTOM 

BOTTOM.


Member Function Documentation

static AlignmentV SoTextAlignmentVElement::get ( SoState state  )  [inline, static]

Returns current draw style from the state.

static int SoTextAlignmentVElement::getClassStackIndex (  )  [static]

Returns the stack id for this element.

Reimplemented from SoInt32Element.

static SoType SoTextAlignmentVElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoInt32Element.

static AlignmentV SoTextAlignmentVElement::getDefault (  )  [static]

Returns the default draw style.

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

Prints element (for debugging).

Reimplemented from SoInt32Element.

static void SoTextAlignmentVElement::set ( SoState state,
SoNode ,
AlignmentV  style 
) [inline, static]

Sets the current vertical text alignment in the state.

static void SoTextAlignmentVElement::set ( SoState state,
AlignmentV  style 
) [static]

Sets the current vertical text alignment in the state.


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

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/