FTGLPolygonFont Class Reference

#include <FTGLPolygonFont.h>

Inheritance diagram for FTGLPolygonFont:

FTFont FTFont List of all members.

Public Member Functions

 FTGLPolygonFont (const char *fontFilePath)
 FTGLPolygonFont (const unsigned char *pBufferBytes, size_t bufferSizeInBytes)
 ~FTGLPolygonFont ()
 FTGLPolygonFont (const char *fontFilePath)
 FTGLPolygonFont (const unsigned char *pBufferBytes, size_t bufferSizeInBytes)
 ~FTGLPolygonFont ()

Private Member Functions

virtual FTGlyphMakeGlyph (unsigned int g)
virtual FTGlyphMakeGlyph (unsigned int g)

Detailed Description

FTGLPolygonFont is a specialisation of the FTFont class for handling tesselated Polygon Mesh fonts

See also:
FTFont

Definition at line 17 of file FTGLPolygonFont.h.


Constructor & Destructor Documentation

FTGLPolygonFont::FTGLPolygonFont ( const char *  fontFilePath  ) 

Open and read a font file. Sets Error flag.

Parameters:
fontFilePath font file path.

Definition at line 5 of file FTGLPolygonFont.cxx.

FTGLPolygonFont::FTGLPolygonFont ( 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 FTGLPolygonFont.cxx.

FTGLPolygonFont::~FTGLPolygonFont (  ) 

Destructor

Definition at line 15 of file FTGLPolygonFont.cxx.

FTGLPolygonFont::FTGLPolygonFont ( const char *  fontFilePath  ) 

Open and read a font file. Sets Error flag.

Parameters:
fontFilePath font file path.

FTGLPolygonFont::FTGLPolygonFont ( 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

FTGLPolygonFont::~FTGLPolygonFont (  ) 

Destructor


Member Function Documentation

FTGlyph * FTGLPolygonFont::MakeGlyph ( unsigned int  g  )  [inline, private, virtual]

Construct a FTPolyGlyph.

Parameters:
g The glyph index NOT the char code.
Returns:
An FTPolyGlyph or null on failure.

Implements FTFont.

Definition at line 19 of file FTGLPolygonFont.cxx.

References FTFont::err, FTFace::Error(), FTFont::face, FT_LOAD_NO_HINTING, FTFace::Glyph(), NULL, and FTFont::useDisplayLists.

virtual FTGlyph* FTGLPolygonFont::MakeGlyph ( unsigned int  g  )  [inline, private, virtual]

Construct a FTPolyGlyph.

Parameters:
g The glyph index NOT the char code.
Returns:
An FTPolyGlyph or null on failure.

Implements FTFont.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:25:32 2011 for ROOT_528-00b_version by  doxygen 1.5.1