libmoldeo (Moldeo 1.0 Core)  1.0
libmoldeo is the group of objects and functions that executes the basic operations of Moldeo 1.0 Platform.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
OGLFT::Library Class Reference

The FreeType library instance. More...

#include <moOGLFT.h>

Static Public Member Functions

static FT_Library & instance (void)
 

Protected Member Functions

 Library (void)
 
 ~Library (void)
 

Detailed Description

The FreeType library instance.

The FreeType library has a single, global instance of a library handle. This reference is used to load font faces. This detail is generally hidden from the user of OGLFT, however, it can be useful to get the FT_Library instance if you want to open a font file yourself, either from disk or embedded in the program.

Definition at line 108 of file moOGLFT.h.

Constructor & Destructor Documentation

OGLFT::Library::Library ( void  )
protected

The constructor for this class is automatically called when this library is loaded. Access the instance through the instance() method.

Definition at line 36 of file moOGLFT.cpp.

OGLFT::Library::~Library ( void  )
protected

This destructor is automatically called when the program exits.

Definition at line 47 of file moOGLFT.cpp.

Member Function Documentation

FT_Library & OGLFT::Library::instance ( void  )
static

The FreeType library's library handle is only available through this accessor method.

Returns
the global OGLFT FreeType library handle.

Definition at line 58 of file moOGLFT.cpp.


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