00001
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
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