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 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 class FTGL_EXPORT FTExtrdGlyph : public FTGlyph
00022 {
00023     public:
00024 
00025 
00026 
00027 
00028 
00029 
00030 
00031 
00032 
00033         FTExtrdGlyph( FT_GlyphSlot glyph, float depth, bool useDisplayList);
00034 
00035 
00036 
00037 
00038         virtual ~FTExtrdGlyph();
00039 
00040 
00041 
00042 
00043 
00044 
00045 
00046         virtual const FTPoint& Render( const FTPoint& pen);
00047         
00048     private:
00049 
00050 
00051 
00052 
00053 
00054 
00055 
00056 
00057         FTPoint GetNormal( const FTPoint &a, const FTPoint &b);
00058         
00059         
00060 
00061 
00062 
00063         GLuint glList;
00064     
00065 };
00066 
00067 
00068 #endif  //  __FTExtrdGlyph__
00069