font.h

Go to the documentation of this file.
00001 /* MANTAINTER: Bernard */
00002 
00003 #ifndef FONT_H
00004 #define FONT_H
00005 
00006 #include <string>
00007 
00018 class Font
00019 {
00020 public:
00021 
00022         
00023         Font();          
00024         virtual ~Font(); 
00025 
00037         virtual void RenderUTF8(const std::string &utf8str, float x, float y) = 0;
00038 
00046 //      virtual void RenderUTF83D(const std::string &utf8str, double x, double y, double z, int flags) = 0;
00047         
00048         
00055         virtual int getTextWidth(const std::string &utf8str) = 0;
00056         
00057         
00065         virtual int     Ascent() = 0;
00066         
00075         virtual void cleanCache();
00076 
00084         virtual int getWwidth() = 0;
00085 };
00086 
00087 #endif

Generated on Wed Apr 12 13:55:28 2006 for bjs by  doxygen 1.4.5