SoTextBackFrameLineWidthElement Class Reference
[Elements]

VSG extension Stores the current text backFrame line width. More...

#include <Inventor/elements/SoTextBackFrameLineWidthElement.h>

Inheritance diagram for SoTextBackFrameLineWidthElement:
SoFloatElement SoElement SoTypedObject

List of all members.

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 ()

Detailed Description

VSG extension Stores the current text backFrame line width.

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.

SEE ALSO

SoTextProperty


Member Function Documentation

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.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/