GxRasterFont Class Reference

Builds an OpenGL raster font from an X11 font. More...

#include <gfx/gxrasterfont.h>

Inheritance diagram for GxRasterFont:

Inheritance graph
Collaboration diagram for GxRasterFont:

Collaboration graph

List of all members.

Public Member Functions

virtual const char * fontName () const =0
 Get the string name of the font.
virtual unsigned int listBase () const =0
 Get an OpenGL display list for rendering the font.
virtual void bboxOf (const char *text, Gfx::Bbox &bbox) const =0
 Get the bounding box of a piece of text rendered with this font.
virtual void drawText (const char *text, Gfx::Canvas &canvas) const =0
 Draw the given text on the canvas.
virtual int rasterHeight () const =0
 Return the line height of the font, in screen coords (i.e., pixels).

Detailed Description

Builds an OpenGL raster font from an X11 font.

Definition at line 41 of file gxrasterfont.h.

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

The software described here is Copyright (c) 1998-2005, Rob Peters.
This page was generated Wed Dec 3 06:55:01 2008 by Doxygen version 1.5.5.