00001 #ifndef __FTGLExtrdFont__
00002 #define __FTGLExtrdFont__
00003
00004 #include "FTFont.h"
00005 #include "FTGL.h"
00006
00007 class FTGlyph;
00008
00016 class FTGL_EXPORT FTGLExtrdFont : public FTFont
00017 {
00018 public:
00024 FTGLExtrdFont( const char* fontFilePath);
00025
00032 FTGLExtrdFont( const unsigned char *pBufferBytes, size_t bufferSizeInBytes);
00033
00037 ~FTGLExtrdFont();
00038
00044 void Depth( float d) { depth = d;}
00045
00046 private:
00053 inline virtual FTGlyph* MakeGlyph( unsigned int glyphIndex);
00054
00058 float depth;
00059 };
00060
00061
00062 #endif // __FTGLExtrdFont__
00063