Open CASCADE Technology  6.9.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 ( const Standard_Real  aSize = 10,
const Vrml_FontStyleFamily  aFamily = Vrml_SERIF,
const Vrml_FontStyleStyle  aStyle = Vrml_NONE 
)

Member Function Documentation

Vrml_FontStyleFamily Vrml_FontStyle::Family ( ) const
Standard_OStream& Vrml_FontStyle::Print ( Standard_OStream anOStream) const
void Vrml_FontStyle::SetFamily ( const Vrml_FontStyleFamily  aFamily)
void Vrml_FontStyle::SetSize ( const Standard_Real  aSize)
void Vrml_FontStyle::SetStyle ( const Vrml_FontStyleStyle  aStyle)
Standard_Real Vrml_FontStyle::Size ( ) const
Vrml_FontStyleStyle Vrml_FontStyle::Style ( ) const

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