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