#include <FTGLPolygonFont.h>
Inheritance diagram for FTGLPolygonFont:
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 FTGlyph * | MakeGlyph (unsigned int g) |
virtual FTGlyph * | MakeGlyph (unsigned int g) |
Definition at line 17 of file FTGLPolygonFont.h.
FTGLPolygonFont::FTGLPolygonFont | ( | const char * | fontFilePath | ) |
Open and read a font file. Sets Error flag.
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.
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.
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.
pBufferBytes | the in-memory buffer | |
bufferSizeInBytes | the length of the buffer in bytes |
FTGLPolygonFont::~FTGLPolygonFont | ( | ) |
Destructor
FTGlyph * FTGLPolygonFont::MakeGlyph | ( | unsigned int | g | ) | [inline, private, virtual] |
Construct a FTPolyGlyph.
g | The glyph index NOT the char code. |
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.
g | The glyph index NOT the char code. |
null
on failure. Implements FTFont.