Main Page | Class Hierarchy | Data Structures | File List | Data Fields | Globals

FTBufferGlyph.h

Go to the documentation of this file.
00001 #ifndef     __FTBufferGlyph__
00002 #define     __FTBufferGlyph__
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 
00019 class  FTGL_EXPORT FTBufferGlyph : public FTGlyph
00020 {
00021     public:
00027         FTBufferGlyph( FT_GlyphSlot glyph, unsigned char* clientBuffer);
00028 
00032         virtual ~FTBufferGlyph();
00033 
00040         virtual float Render( const FTPoint& pen);
00041         
00042         // attributes
00043 
00044     private:
00048         int destWidth;
00049 
00053         int destHeight;
00054 
00058         unsigned int destPitch;
00059         
00063         FTPoint pos;
00064         
00068         unsigned char* data;
00069         
00070         
00071         unsigned char* buffer;
00072         
00073 };
00074 
00075 
00076 #endif  //  __FTBufferGlyph__

Generated on Sun Dec 5 22:11:47 2004 for FTGL by doxygen 1.3.6