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


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 28 Oct 2019
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/