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