Edit

kc3-lang/ftgl/include/FTGLPixmapFont.h

Branch :

  • Show log

    Commit

  • Author : henry
    Date : 2001-09-16 21:52:46
    Hash : 6a024aef
    Message : Updated for changes in *Glyph classes. Added unicode render function. Updated comments

  • include/FTGLPixmapFont.h
  • #ifndef		__FTGLPixmapFont__
    #define		__FTGLPixmapFont__
    
    
    #include	"FTFont.h"
    
    class FTPixmapGlyph;
    
    /**
     * FTGLPixmapFont is a specialisation of the FTFont class for handling
     * Pixmap (Grey Scale) fonts
     *
     * @see		FTFont
     */
    class	FTGLPixmapFont : public FTFont
    {
    	public:
    		// methods
    		FTGLPixmapFont();
    		~FTGLPixmapFont();
    		
    		void render( const char* string);
    		void render( const wchar_t* string);
    
    
    	private:
    		// methods
    		bool MakeGlyphList();
    		
    		// attributes
    		FTPixmapGlyph* tempGlyph;
    		
    };
    
    
    #endif	//	__FTGLPixmapFont__