Main Page | Class Hierarchy | Data Structures | File List | Data Fields | Globals

FTGLExtrdFont Class Reference

#include <FTGLExtrdFont.h>

Inheritance diagram for FTGLExtrdFont:

FTFont

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.

Public Member Functions

 FTGLExtrdFont (const char *fontFilePath)
 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.


Constructor & Destructor Documentation

FTGLExtrdFont::FTGLExtrdFont const char *  fontFilePath  ) 
 

Open and read a font file.

Sets Error flag.

Parameters:
fontFilePath font file path.

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.

Parameters:
d The extrusion distance.

Reimplemented from FTFont.

Definition at line 44 of file FTGLExtrdFont.h.


The documentation for this class was generated from the following files:
Generated on Sun Dec 5 22:24:07 2004 for FTGL by doxygen 1.3.6