CIvfFont Class Reference

#include <ivffont/IvfFont.h>

Inheritance diagram for CIvfFont:

CIvfShape CIvfObject CIvfBase CIvfRefCountBase CIvfRTTIBase CIvfVectorFont CIvfExtrudedFont CIvfOutlineFont CIvfPolygonalFont CIvfTextureFont List of all members.

Public Member Functions

 CIvfFont (const char *filename)
virtual ~CIvfFont ()
const char * getFilename (void)
 IvfClassInfo ("CIvfFont", CIvfShape)
void setText (const char *text)
const char * getText (void)
void setFaceSize (const unsigned int faceSize)
unsigned int getFaceSize (void)
void setDepth (const double depth)
double getDepth (void)

Protected Member Functions

virtual void doSetText (const char *text)
virtual void doSetFaceSize (const unsigned int faceSize)
virtual void doSetDepth (const double depth)

Detailed Description

Font base class

CIvfFont is the abstract base class for a Ivf++ font.

Author:
Jonas Lindemann

Definition at line 38 of file IvfFont.h.


Constructor & Destructor Documentation

CIvfFont::CIvfFont const char *  filename  ) 
 

CIvfFont constructor.

param filename full path to truetype font (.ttf)

virtual CIvfFont::~CIvfFont  )  [virtual]
 

Class destructor


Member Function Documentation

double CIvfFont::getDepth void   ) 
 

Return the font extrusion depth, if supported.

unsigned int CIvfFont::getFaceSize void   ) 
 

Return the face size

const char* CIvfFont::getFilename void   ) 
 

Returns font filename of currently loaded font.

const char* CIvfFont::getText void   ) 
 

Return the current assigned text.

void CIvfFont::setDepth const double  depth  ) 
 

Set the font extrusion depth, if supported.

void CIvfFont::setFaceSize const unsigned int  faceSize  ) 
 

Set the size of the face in points.

void CIvfFont::setText const char *  text  ) 
 

Set the text to be rendered.


The documentation for this class was generated from the following file:
Generated on Fri Sep 1 15:36:51 2006 for Interactive Visualisation Framework - Ivf++ by  doxygen 1.4.6-NO