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.

Returns:
the global OGLFT FreeType library handle.


The documentation for this class was generated from the following files:
Generated on Wed Oct 1 10:39:03 2003 for OGLFT by doxygen1.2.18