Stores the current text orientation attributes. More...
#include <Inventor/elements/SoTextOrientationElement.h>
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 () |
This element stores the current text orientation attributes.
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.