CIvfText Class Reference

#include <ivffont/IvfText.h>

Inheritance diagram for CIvfText:

CIvfShape CIvfObject CIvfBase CIvfRefCountBase CIvfRTTIBase List of all members.

Public Types

enum  THorisontalAlignment { HA_LEFT, HA_CENTER, HA_RIGHT }
enum  TVerticalAlignment { VA_BOTTOM, VA_MIDDLE, VA_TOP }

Public Member Functions

 IvfClassInfo ("CIvfText", CIvfShape)
void setFont (CIvfFont *font)
CIvfFontgetFont (void)
void setText (const char *text)
const char * getText (void)

Protected Member Functions

virtual void createGeometry ()

Detailed Description

Generalized text class

The CIvfText class renders a given text using a specified vector font.

Definition at line 39 of file IvfText.h.


Member Function Documentation

virtual void CIvfText::createGeometry  )  [protected, virtual]
 

Forces an object recalculation.

Reimplemented from CIvfShape.

CIvfFont* CIvfText::getFont void   ) 
 

Return the currently assigned font.

const char* CIvfText::getText void   ) 
 

Return the rendered text.

void CIvfText::setFont CIvfFont font  ) 
 

Set the font to be used for text rendering.

void CIvfText::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:59 2006 for Interactive Visualisation Framework - Ivf++ by  doxygen 1.4.6-NO