00001 #ifndef __FTExtrdGlyph__
00002 #define __FTExtrdGlyph__
00003
00004 #include <ft2build.h>
00005 #include FT_FREETYPE_H
00006 #include FT_GLYPH_H
00007
00008 #include "FTGL.h"
00009 #include "FTGlyph.h"
00010
00011 class FTVectoriser;
00012
00021 class FTGL_EXPORT FTExtrdGlyph : public FTGlyph
00022 {
00023 public:
00030 FTExtrdGlyph( FT_GlyphSlot glyph, float depth);
00031
00035 virtual ~FTExtrdGlyph();
00036
00043 virtual float Render( const FTPoint& pen);
00044
00045 private:
00054 FTPoint GetNormal( const FTPoint &a, const FTPoint &b);
00055
00056
00060 GLuint glList;
00061
00065 float depth;
00066
00067 };
00068
00069
00070 #endif // __FTExtrdGlyph__
00071