Stores the current text backFrame line width. More...
#include <Inventor/elements/SoTextBackFrameLineWidthElement.h>
Public Member Functions | |
virtual void | print (FILE *fp) const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static int | getClassStackIndex () |
static void | set (SoState *state, float width) |
static void | set (SoState *state, SoNode *, float width) |
static float | get (SoState *state) |
static float | getDefault () |
This element stores the current text backFrame line width value. The width value is a 1/40 factor of the current font size for SoText3 nodes, and is a pixel value for the SoText2 nodes.
static float SoTextBackFrameLineWidthElement::get | ( | SoState * | state | ) | [inline, static] |
Returns current draw style from the state.
static int SoTextBackFrameLineWidthElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoFloatElement.
static SoType SoTextBackFrameLineWidthElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoFloatElement.
static float SoTextBackFrameLineWidthElement::getDefault | ( | ) | [static] |
Returns the default draw style.
virtual void SoTextBackFrameLineWidthElement::print | ( | FILE * | fp | ) | const [virtual] |
Prints element (for debugging).
Reimplemented from SoFloatElement.
static void SoTextBackFrameLineWidthElement::set | ( | SoState * | state, | |
SoNode * | , | |||
float | width | |||
) | [inline, static] |
Sets the current horizontal text backFrame width in the state.
static void SoTextBackFrameLineWidthElement::set | ( | SoState * | state, | |
float | width | |||
) | [static] |
Sets the current horizontal text backFrame width in the state.