FTGL 2.1.3~rc5
|
FTBufferFont is a specialisation of the FTFont class for handling memory buffer fonts. More...
#include <FTBufferFont.h>
Public Member Functions | |
FTBufferFont (const char *fontFilePath) | |
Open and read a font file. | |
FTBufferFont (const unsigned char *pBufferBytes, size_t bufferSizeInBytes) | |
Open and read a font from a buffer in memory. | |
~FTBufferFont () | |
Destructor. | |
Protected Member Functions | |
virtual FTGlyph * | MakeGlyph (FT_GlyphSlot slot) |
Construct a glyph of the correct type. |
FTBufferFont is a specialisation of the FTFont class for handling memory buffer fonts.
Definition at line 43 of file FTBufferFont.h.
FTBufferFont::FTBufferFont | ( | const char * | fontFilePath | ) |
Open and read a font file.
Sets Error flag.
fontFilePath | font file path. |
FTBufferFont::FTBufferFont | ( | const unsigned char * | pBufferBytes, |
size_t | bufferSizeInBytes | ||
) |
FTBufferFont::~FTBufferFont | ( | ) |
Destructor.
virtual FTGlyph* FTBufferFont::MakeGlyph | ( | FT_GlyphSlot | slot | ) | [protected, virtual] |