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

FTGLBitmapFont Class Reference

#include <FTGLBitmapFont.h>

Inheritance diagram for FTGLBitmapFont:

FTFont

Detailed Description

FTGLBitmapFont is a specialisation of the FTFont class for handling Bitmap fonts.

See also:
FTFont

Definition at line 16 of file FTGLBitmapFont.h.

Public Member Functions

 FTGLBitmapFont (const char *fontFilePath)
 Open and read a font file.

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

 ~FTGLBitmapFont ()
 Destructor.

void Render (const char *string)
 Renders a string of characters.

void Render (const wchar_t *string)
 Renders a string of characters.


Constructor & Destructor Documentation

FTGLBitmapFont::FTGLBitmapFont const char *  fontFilePath  ) 
 

Open and read a font file.

Sets Error flag.

Parameters:
fontFilePath font file path.

Definition at line 5 of file FTGLBitmapFont.cpp.

FTGLBitmapFont::FTGLBitmapFont 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 10 of file FTGLBitmapFont.cpp.

FTGLBitmapFont::~FTGLBitmapFont  ) 
 

Destructor.

Definition at line 15 of file FTGLBitmapFont.cpp.


Member Function Documentation

void FTGLBitmapFont::Render const wchar_t *  string  )  [virtual]
 

Renders a string of characters.

Parameters:
string 'C' style wide string to be output.

Reimplemented from FTFont.

Definition at line 51 of file FTGLBitmapFont.cpp.

References FTFont::Render().

void FTGLBitmapFont::Render const char *  string  )  [virtual]
 

Renders a string of characters.

Parameters:
string 'C' style string to be output.

Reimplemented from FTFont.

Definition at line 34 of file FTGLBitmapFont.cpp.

References FTFont::Render().


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