#include <FTGLExtrdFont.h>
Inheritance diagram for FTGLExtrdFont:
Public Member Functions | |
FTGLExtrdFont (const char *fontFilePath) | |
FTGLExtrdFont (const unsigned char *pBufferBytes, size_t bufferSizeInBytes) | |
~FTGLExtrdFont () | |
void | Depth (float d) |
FTGLExtrdFont (const char *fontFilePath) | |
FTGLExtrdFont (const unsigned char *pBufferBytes, size_t bufferSizeInBytes) | |
~FTGLExtrdFont () | |
void | Depth (float d) |
Private Member Functions | |
virtual FTGlyph * | MakeGlyph (unsigned int glyphIndex) |
virtual FTGlyph * | MakeGlyph (unsigned int glyphIndex) |
Private Attributes | |
float | depth |
Definition at line 16 of file FTGLExtrdFont.h.
FTGLExtrdFont::FTGLExtrdFont | ( | const char * | fontFilePath | ) |
Open and read a font file. Sets Error flag.
fontFilePath | font file path. |
Definition at line 5 of file FTGLExtrdFont.cxx.
FTGLExtrdFont::FTGLExtrdFont | ( | 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 11 of file FTGLExtrdFont.cxx.
FTGLExtrdFont::~FTGLExtrdFont | ( | ) |
Destructor
Definition at line 17 of file FTGLExtrdFont.cxx.
FTGLExtrdFont::FTGLExtrdFont | ( | const char * | fontFilePath | ) |
Open and read a font file. Sets Error flag.
fontFilePath | font file path. |
FTGLExtrdFont::FTGLExtrdFont | ( | 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 |
FTGLExtrdFont::~FTGLExtrdFont | ( | ) |
Destructor
void FTGLExtrdFont::Depth | ( | float | d | ) | [inline, virtual] |
Set the extrusion distance for the font.
d | The extrusion distance. |
Reimplemented from FTFont.
Definition at line 44 of file FTGLExtrdFont.h.
References depth.
FTGlyph * FTGLExtrdFont::MakeGlyph | ( | unsigned int | glyphIndex | ) | [inline, private, virtual] |
Construct a FTPolyGlyph.
glyphIndex | The glyph index NOT the char code. |
null
on failure. Implements FTFont.
Definition at line 21 of file FTGLExtrdFont.cxx.
References depth, FTFont::err, FTFace::Error(), FTFont::face, FT_LOAD_NO_HINTING, FTFace::Glyph(), NULL, and FTFont::useDisplayLists.
void FTGLExtrdFont::Depth | ( | float | d | ) | [inline, virtual] |
Set the extrusion distance for the font.
d | The extrusion distance. |
Reimplemented from FTFont.
Definition at line 44 of file FTGLExtrdFont.h.
References depth.
virtual FTGlyph* FTGLExtrdFont::MakeGlyph | ( | unsigned int | glyphIndex | ) | [inline, private, virtual] |
Construct a FTPolyGlyph.
glyphIndex | The glyph index NOT the char code. |
null
on failure. Implements FTFont.
float FTGLExtrdFont::depth [private] |
The extrusion distance for the font.
Definition at line 58 of file FTGLExtrdFont.h.
Referenced by MakeGlyph().