Open CASCADE Technology  7.2.0
Public Member Functions
Vrml_FontStyle Class Reference

defines a FontStyle node of VRML of properties of geometry and its appearance. The size field specifies the height (in object space units) of glyphs rendered and determines the vertical spacing of adjacent lines of text. More...

#include <Vrml_FontStyle.hxx>

Public Member Functions

 Vrml_FontStyle (const Standard_Real aSize=10, const Vrml_FontStyleFamily aFamily=Vrml_SERIF, const Vrml_FontStyleStyle aStyle=Vrml_NONE)
 
void SetSize (const Standard_Real aSize)
 
Standard_Real Size () const
 
void SetFamily (const Vrml_FontStyleFamily aFamily)
 
Vrml_FontStyleFamily Family () const
 
void SetStyle (const Vrml_FontStyleStyle aStyle)
 
Vrml_FontStyleStyle Style () const
 
Standard_OStreamPrint (Standard_OStream &anOStream) const
 

Detailed Description

defines a FontStyle node of VRML of properties of geometry and its appearance. The size field specifies the height (in object space units) of glyphs rendered and determines the vertical spacing of adjacent lines of text.

Constructor & Destructor Documentation

◆ Vrml_FontStyle()

Vrml_FontStyle::Vrml_FontStyle ( const Standard_Real  aSize = 10,
const Vrml_FontStyleFamily  aFamily = Vrml_SERIF,
const Vrml_FontStyleStyle  aStyle = Vrml_NONE 
)

Member Function Documentation

◆ Family()

Vrml_FontStyleFamily Vrml_FontStyle::Family ( ) const

◆ Print()

Standard_OStream& Vrml_FontStyle::Print ( Standard_OStream anOStream) const

◆ SetFamily()

void Vrml_FontStyle::SetFamily ( const Vrml_FontStyleFamily  aFamily)

◆ SetSize()

void Vrml_FontStyle::SetSize ( const Standard_Real  aSize)

◆ SetStyle()

void Vrml_FontStyle::SetStyle ( const Vrml_FontStyleStyle  aStyle)

◆ Size()

Standard_Real Vrml_FontStyle::Size ( ) const

◆ Style()

Vrml_FontStyleStyle Vrml_FontStyle::Style ( ) const

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