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

FTBitmapGlyph.h

Go to the documentation of this file.
00001 #ifndef     __FTBitmapGlyph__
00002 #define     __FTBitmapGlyph__
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 
00023 class FTGL_EXPORT FTBitmapGlyph : public FTGlyph
00024 {
00025     public:
00031         FTBitmapGlyph( FT_GlyphSlot glyph);
00032 
00036         virtual ~FTBitmapGlyph();
00037 
00044         virtual const FTPoint& Render( const FTPoint& pen);
00045         
00046     private:
00050         unsigned int destWidth;
00051 
00055         unsigned int destHeight;
00056 
00060         unsigned int destPitch;
00061 
00065         FTPoint pos;
00066         
00070         unsigned char* data;
00071         
00072 };
00073 
00074 
00075 #endif  //  __FTBitmapGlyph__
00076 

Generated on Sun Dec 5 22:24:05 2004 for FTGL by doxygen 1.3.6