Edit

kc3-lang/ftgl/include/FTBitmapGlyph.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/FTBitmapGlyph.h
  • #ifndef		__FTBitmapGlyph__
    #define		__FTBitmapGlyph__
    
    #include <ft2build.h>
    #include FT_FREETYPE_H
    #include FT_GLYPH_H
    
    #include	"FTGlyph.h"
    
    
    class	FTBitmapGlyph : public FTGlyph
    {
    	public:
    		/**
    		 * Constructor
    		 *
    		 * @param
    		 */
    		FTBitmapGlyph( FT_Glyph glyph);
    
    		/**
    		 *
    		 */
    		virtual ~FTBitmapGlyph();
    
    		/**
    		 *
    		 * @param pen	
    		 *
    		 * @return		
    		 */
    		virtual float Render( const FT_Vector& pen);
    		
    		// attributes
    		
    	private:
    		// methods
    		
    		// attributes
    		int destWidth;
    		int destHeight;
    		
    		unsigned char* data;
    		
    };
    
    
    #endif	//	__FTBitmapGlyph__