Typeface Class Reference
[Graphics]

Utility for drawing text with GTK GL. More...

#include <Typeface.hpp>

List of all members.

Public Member Functions

 Typeface ()
int getHeight () const
void load (const string &descriptor)
void write (const string &text)

Private Attributes

GLuint base
int height

Detailed Description

Utility for drawing text with GTK GL.


Constructor & Destructor Documentation

Typeface (  ) 

Generates enough display lists for each character.


Member Function Documentation

int getHeight (  )  const [inline]
Returns:
Number of pixels from descender to ascender.
void load ( const string &  descriptor  ) 

Load the font and create the display lists for each character.

void write ( const string &  text  ) 

Write some text by calling the display lists.


The documentation for this class was generated from the following files:
Generated on Wed Jun 9 01:36:37 2010 for Gander by  doxygen 1.6.3