Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

OGLFT::Library Class Reference

The FreeType library instance. More...

#include <OGLFT.h>

List of all members.

Static Public Methods

FT_Library& instance (void)

Protected Methods

 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.

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.

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

This destructor is automatically called when the program exits.

Member Function Documentation

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

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

the global OGLFT FreeType library handle.

The documentation for this class was generated from the following files:
Generated at Fri Jul 12 10:47:15 2002 for OGLFT by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001