00001 #ifndef __FTGLPixmapFont__
00002 #define __FTGLPixmapFont__
00003
00004
00005 #include "FTFont.h"
00006 #include "FTGL.h"
00007
00008
00009 class FTGlyph;
00010
00011
00018 class FTGL_EXPORT FTGLPixmapFont : public FTFont
00019 {
00020 public:
00026 FTGLPixmapFont( const char* fontFilePath);
00027
00034 FTGLPixmapFont( const unsigned char *pBufferBytes, size_t bufferSizeInBytes);
00035
00039 ~FTGLPixmapFont();
00040
00046 void Render( const char* string);
00047
00053 void Render( const wchar_t* string);
00054
00055 private:
00062 inline virtual FTGlyph* MakeGlyph( unsigned int g);
00063
00064 };
00065
00066
00067 #endif // __FTGLPixmapFont__
00068