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