Logo Search packages:      
Sourcecode: blender version File versions

FTFace Class Reference

#include <FTFace.h>

List of all members.


Detailed Description

FTFace class provides an abstraction layer for the Freetype Face.

See also:
"Freetype 2 Documentation"

Definition at line 18 of file FTFace.h.


Public Member Functions

bool Attach (const unsigned char *pBufferBytes, size_t bufferSizeInBytes)
bool Attach (const char *filename)
unsigned int CharMapCount ()
FT_Encoding * CharMapList ()
void Close ()
FT_Error Error () const
FT_Face * Face () const
 FTFace (const unsigned char *pBufferBytes, size_t bufferSizeInBytes)
 FTFace (const char *filename)
FT_GlyphSlot Glyph (unsigned int index, FT_Int load_flags)
unsigned int GlyphCount () const
FTPoint KernAdvance (unsigned int index1, unsigned int index2)
const FTSizeSize (const unsigned int size, const unsigned int res)
unsigned int UnitsPerEM () const
virtual ~FTFace ()

Private Attributes

FTSize charSize
FT_Error err
FT_Encoding * fontEncodingList
FT_Face * ftFace
int numGlyphs

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index