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