SoTextOrientationElement Class Reference
[Elements]

VSG extension Stores the current text orientation attributes. More...

#include <Inventor/elements/SoTextOrientationElement.h>

Inheritance diagram for SoTextOrientationElement:
SoInt32Element SoElement SoTypedObject

List of all members.

Public Types

enum  Orientation {
  LEFT_TO_RIGHT = 0x01,
  RIGHT_TO_LEFT = 0x02,
  TOP_TO_BOTTOM = 0x03,
  BOTTOM_TO_TOP = 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, Orientation style)
static void set (SoState *state, SoNode *, Orientation style)
static Orientation get (SoState *state)
static Orientation getDefault ()

Detailed Description

VSG extension Stores the current text orientation attributes.

This element stores the current text orientation attributes.

SEE ALSO

SoTextProperty


Member Enumeration Documentation

Orientation.

Enumerator:
LEFT_TO_RIGHT 

LEFT_TO_RIGHT.

RIGHT_TO_LEFT 

RIGHT_TO_LEFT.

TOP_TO_BOTTOM 

TOP_TO_BOTTOM.

BOTTOM_TO_TOP 

BOTTOM_TO_TOP.


Member Function Documentation

static Orientation SoTextOrientationElement::get ( SoState state  )  [inline, static]

Returns current draw style from the state.

static int SoTextOrientationElement::getClassStackIndex (  )  [static]

Returns the stack id for this element.

Reimplemented from SoInt32Element.

static SoType SoTextOrientationElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoInt32Element.

static Orientation SoTextOrientationElement::getDefault (  )  [static]

Returns the default draw style.

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

Prints element (for debugging).

Reimplemented from SoInt32Element.

static void SoTextOrientationElement::set ( SoState state,
SoNode ,
Orientation  style 
) [inline, static]

Sets the current font orientation in the state.

static void SoTextOrientationElement::set ( SoState state,
Orientation  style 
) [static]

Sets the current font orientation 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/