RasterFont Class Reference

#include <rasterfont.h>

List of all members.

Public Types

enum  { char_width = 10 }
enum  { char_height = 15 }

Public Member Functions

 RasterFont ()
 ~RasterFont (void)
void printString (char *s, double x, double y, double z=0.0)
void printCenteredString (char *s, double y, int screen_width, double z=0.0)

Static Public Attributes

static const char * rcsid = "@(#) $Id: rasterfont.cpp,v 1.13 2006/05/24 16:52:37 sean Exp $ $Copyright: (c)2001 National Biocomputation Center, Stanford University $"
static int debug = 0

Protected Attributes

int fontOffset


Detailed Description

Definition at line 8 of file rasterfont.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
char_width 

Definition at line 19 of file rasterfont.h.

anonymous enum

Enumerator:
char_height 

Definition at line 20 of file rasterfont.h.


Constructor & Destructor Documentation

RasterFont::RasterFont (  ) 

Definition at line 124 of file rasterfont.cpp.

RasterFont::~RasterFont ( void   ) 

Definition at line 140 of file rasterfont.cpp.


Member Function Documentation

void RasterFont::printString ( char *  s,
double  x,
double  y,
double  z = 0.0 
)

Definition at line 146 of file rasterfont.cpp.

void RasterFont::printCenteredString ( char *  s,
double  y,
int  screen_width,
double  z = 0.0 
)

Definition at line 161 of file rasterfont.cpp.


Member Data Documentation

int RasterFont::fontOffset [protected]

Definition at line 10 of file rasterfont.h.

const char * RasterFont::rcsid = "@(#) $Id: rasterfont.cpp,v 1.13 2006/05/24 16:52:37 sean Exp $ $Copyright: (c)2001 National Biocomputation Center, Stanford University $" [static]

Definition at line 15 of file rasterfont.h.

int RasterFont::debug = 0 [static]

Definition at line 16 of file rasterfont.h.


The documentation for this class was generated from the following files:
Generated on Thu Aug 30 11:05:02 2007 for SPRING Mac by  doxygen 1.5.3