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

FTGLOutlineFont Class Reference

#include <FTGLOutlineFont.h>

Inheritance diagram for FTGLOutlineFont:

FTFont List of all members.

Detailed Description

FTGLOutlineFont is a specialisation of the FTFont class for handling Vector Outline fonts.

See also:
FTFont

Definition at line 17 of file FTGLOutlineFont.h.

Public Member Functions

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

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

 ~FTGLOutlineFont ()
 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

FTGLOutlineFont::FTGLOutlineFont const char *  fontname  ) 
 

Open and read a font file.

Sets Error flag.

Parameters:
fontname font file name.

Definition at line 5 of file FTGLOutlineFont.cpp.

FTGLOutlineFont::FTGLOutlineFont 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 FTGLOutlineFont.cpp.

FTGLOutlineFont::~FTGLOutlineFont  ) 
 

Destructor.

Definition at line 15 of file FTGLOutlineFont.cpp.


Member Function Documentation

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

Renders a string of characters.

Parameters:
string wchar_t string to be output.

Reimplemented from FTFont.

Definition at line 51 of file FTGLOutlineFont.cpp.

References FTFont::Render().

void FTGLOutlineFont::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 FTGLOutlineFont.cpp.

References FTFont::Render().


The documentation for this class was generated from the following files:
Generated on Mon Aug 16 18:47:20 2004 for FTGL by doxygen 1.3.6