cheshirekow
v0.1.0
|
traits class for a Face, a Freetype face instance. A face object models a given typeface, in a given style. More...
#include <cpp_freetype/Face.h>
Public Types | |
typedef FT_Face | cobjptr |
typedef FaceDelegate | Delegate |
typedef FT_Face | Storage |
traits class for a Face, a Freetype face instance. A face object models a given typeface, in a given style.
Each face object also owns a single FT_GlyphSlot object, as well as one or more FT_Size objects.
Use FT_New_Face or FT_Open_Face to create a new face object from a given filepathname or a custom input stream.
Use FT_Done_Face to destroy it (along with its slot and sizes).
Faces are reference counted, as such there is an appropriate copy constructor, assignment operator, and destructor for managing the reference counts. Because of it's nature, you should probably not be passing around pointers to Face objects
typedef FT_Face freetype::Face::cobjptr |
typedef FaceDelegate freetype::Face::Delegate |
typedef FT_Face freetype::Face::Storage |