cheshirekow  v0.1.0
freetype::Face Struct Reference

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
 

Detailed Description

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

Note
Fields may be changed after a call to FT_Attach_File or FT_Attach_Stream.

Definition at line 464 of file Face.h.

Member Typedef Documentation

typedef FT_Face freetype::Face::cobjptr

Definition at line 468 of file Face.h.

Definition at line 466 of file Face.h.

typedef FT_Face freetype::Face::Storage

Definition at line 467 of file Face.h.


The documentation for this struct was generated from the following file: