Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members

FTGLExtrdFont Class Reference

FTGLExtrdFont is a specialisation of the FTFont class for handling extruded Polygon fonts. More...

#include <FTGLExtrdFont.h>

Inheritance diagram for FTGLExtrdFont:

FTFont List of all members.

Public Member Functions

 FTGLExtrdFont (const char *fontname)
 Open and read a font file.

 FTGLExtrdFont (const unsigned char *pBufferBytes, size_t bufferSizeInBytes)
 Open and read a font from a buffer in memory.

 ~FTGLExtrdFont ()
 Destructor.

void Depth (float d)
 Set the extrusion distance for the font.


Detailed Description

FTGLExtrdFont is a specialisation of the FTFont class for handling extruded Polygon fonts.

See also:
FTFont

FTGLPolygonFont

Definition at line 16 of file FTGLExtrdFont.h.


Constructor & Destructor Documentation

FTGLExtrdFont::FTGLExtrdFont const char *  fontname  ) 
 

Open and read a font file.

Sets Error flag.

Parameters:
fontname font file name.

Definition at line 5 of file FTGLExtrdFont.cpp.

FTGLExtrdFont::FTGLExtrdFont const unsigned char *  pBufferBytes,
size_t  bufferSizeInBytes
 

Open and read a font from a buffer in memory.

Sets Error flag.

Parameters:
pBufferBytes the in-memory buffer
bufferSizeInBytes the length of the buffer in bytes

Definition at line 11 of file FTGLExtrdFont.cpp.

FTGLExtrdFont::~FTGLExtrdFont  ) 
 

Destructor.

Definition at line 17 of file FTGLExtrdFont.cpp.


Member Function Documentation

void FTGLExtrdFont::Depth float  d  )  [inline, virtual]
 

Set the extrusion distance for the font.

Only implemented by FTGLExtrdFont

Parameters:
d The extrusion distance.

Reimplemented from FTFont.

Definition at line 39 of file FTGLExtrdFont.h.


The documentation for this class was generated from the following files:
Generated on Mon Aug 25 15:16:40 2003 for FTGL by doxygen 1.3.3