/Users/craigcornelius/Projects/SPRING Mac Release 0.2/rasterfont.h

Go to the documentation of this file.
00001 // $Id: rasterfont.h,v 1.5 2001/10/17 16:49:37 kevin Exp $
00002 // $Copyright: (c)2001 National Biocomputation Center, Stanford University $
00003 
00004 
00005 #ifndef RasterFont_Header
00006 #define RasterFont_Header
00007 
00008 class RasterFont {
00009 protected:
00010     int fontOffset;
00011     
00012 public:
00013     RasterFont();
00014     ~RasterFont(void);
00015     static const char* rcsid;
00016     static int debug;
00017     
00018     // some useful constants
00019     enum        {char_width = 10};
00020     enum        {char_height = 15};
00021     
00022     // and the happy helper functions
00023     void printString(char *s, double x, double y, double z=0.0);
00024     void printCenteredString(char *s, double y, int screen_width, double z=0.0);
00025 };
00026 
00027 #endif

Generated on Thu Aug 30 11:03:15 2007 for SPRING Mac by  doxygen 1.5.3