00001 #ifndef __FTGLBitmapFont__
00002 #define __FTGLBitmapFont__
00003
00004 #include "FTFont.h"
00005 #include "FTGL.h"
00006
00007
00008 class FTGlyph;
00009
00010
00011
00012
00013
00014
00015
00016 class FTGL_EXPORT FTGLBitmapFont : public FTFont
00017 {
00018 public:
00019
00020
00021
00022
00023
00024 FTGLBitmapFont( const char* fontFilePath);
00025
00026
00027
00028
00029
00030
00031
00032 FTGLBitmapFont( const unsigned char *pBufferBytes, size_t bufferSizeInBytes);
00033
00034
00035
00036
00037 ~FTGLBitmapFont();
00038
00039
00040
00041
00042 virtual void PreRender();
00043
00044
00045
00046
00047 virtual void PostRender();
00048
00049 private:
00050
00051
00052
00053
00054
00055
00056 inline virtual FTGlyph* MakeGlyph( unsigned int g);
00057
00058 };
00059 #endif // __FTGLBitmapFont__