Edit

kc3-lang/ftgl/include/FTPixmapGlyph.h

Branch :

  • Show log

    Commit

  • Author : henry
    Date : 2001-09-16 21:49:52
    Hash : c704216e
    Message : Removed glyph index parameter from c_stor (see FTGlyph) and updated comments

  • include/FTPixmapGlyph.h
  • #ifndef		__FTPixmapGlyph__
    #define		__FTPixmapGlyph__
    
    #include <ft2build.h>
    #include FT_FREETYPE_H
    #include FT_GLYPH_H
    
    #include	"FTGlyph.h"
    
    
    class FTPixmapGlyph : public FTGlyph
    {
    	public:
    		// methods
    		FTPixmapGlyph( FT_Glyph glyph);
    		virtual ~FTPixmapGlyph();
    		virtual float Render( const FT_Vector& pen);
    		
    		// attributes
    
    	private:
    		// methods
    		
    		// attributes
    		int destWidth;
    		int destHeight;
    		
    		int numGreys;
    
    		unsigned char* data;
    		
    };
    
    
    #endif	//	__FTPixmapGlyph__