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

gltext::FontRenderer Class Reference

#include <gltext.h>

Inheritance diagram for gltext::FontRenderer:

Inheritance graph
[legend]
Collaboration diagram for gltext::FontRenderer:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual void GLTEXT_CALL render (const char *text)=0
virtual int GLTEXT_CALL getWidth (const char *text)=0
virtual int GLTEXT_CALL getHeight (const char *text)=0
virtual Font *GLTEXT_CALL getFont ()=0

Detailed Description

Interface to an object that knows how to render a font.


Member Function Documentation

virtual Font* GLTEXT_CALL gltext::FontRenderer::getFont   [pure virtual]
 

Returns the font used to create this renderer.

virtual int GLTEXT_CALL gltext::FontRenderer::getHeight const char *    text [pure virtual]
 

Computes the height of the given text string if it were to be rendered with this renderer.

virtual int GLTEXT_CALL gltext::FontRenderer::getWidth const char *    text [pure virtual]
 

Computes the width of the given text string if it were to be rendered with this renderer.

virtual void GLTEXT_CALL gltext::FontRenderer::render const char *    text [pure virtual]
 

Renders the text in the given string as glyphs using this font renderer's current font.


The documentation for this class was generated from the following file:
Generated on Mon Aug 4 22:04:31 2003 for GLText by doxygen1.3-rc1