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* fontname); 00025 00032 FTGLExtrdFont( const unsigned char *pBufferBytes, size_t bufferSizeInBytes); 00033 00037 ~FTGLExtrdFont(); 00038 00039 void Depth( float d) { depth = d;} 00040 00041 private: 00048 inline virtual FTGlyph* MakeGlyph( unsigned int glyphIndex); 00049 00050 float depth; 00051 }; 00052 00053 00054 #endif // __FTGLExtrdFont__ 00055