SoFontNameElement Class Reference
[Elements]

Stores the current font name. More...

#include <Inventor/elements/SoFontNameElement.h>

Inheritance diagram for SoFontNameElement:
SoReplacedElement 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, SoNode *node, const SbString &fontName)
static const SbStringget (SoState *state)
static const SbStringgetDefault ()

Detailed Description

Stores the current font name.

Default font name is setup at startup by OIV_FONT_NAME environement variable if defined.

This element stores the current font name.

SEE ALSO

SoFont, SoFontStyle, SoVRMLFontStyle


Member Function Documentation

static const SbString& SoFontNameElement::get ( SoState state  )  [static]

Returns the current font name from the state.

static int SoFontNameElement::getClassStackIndex (  )  [static]

Returns the stack id for this element.

Reimplemented from SoReplacedElement.

static SoType SoFontNameElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoReplacedElement.

static const SbString& SoFontNameElement::getDefault (  )  [static]

Returns the default font name.

virtual void SoFontNameElement::print ( FILE *  fp  )  const [virtual]

Prints element (for debugging).

Reimplemented from SoReplacedElement.

static void SoFontNameElement::set ( SoState state,
SoNode node,
const SbString fontName 
) [static]

Sets the current font name.


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

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/