00001 #ifndef __FTPolyGlyph__
00002 #define __FTPolyGlyph__
00003
00004
00005 #include <ft2build.h>
00006 #include FT_FREETYPE_H
00007 #include FT_GLYPH_H
00008
00009 #include "FTGL.h"
00010 #include "FTGlyph.h"
00011
00012 class FTVectoriser;
00013
00022 class FTGL_EXPORT FTPolyGlyph : public FTGlyph
00023 {
00024 public:
00034 FTPolyGlyph( FT_GlyphSlot glyph, bool useDisplayList);
00035
00039 virtual ~FTPolyGlyph();
00040
00047 virtual const FTPoint& Render( const FTPoint& pen);
00048
00049 private:
00053 GLuint glList;
00054
00055 };
00056
00057
00058 #endif // __FTPolyGlyph__
00059