Edit

kc3-lang/ftgl/src/FTGlyph.cpp

Branch :

  • Show log

    Commit

  • Author : henry
    Date : 2001-08-05 21:39:50
    Hash : f8b7df3d
    Message : Minor tidy ups and made render() arg const

  • src/FTGlyph.cpp
  • #include	"FTGlyph.h"
    
    
    // OPSignature:  FTGlyph:FTGlyph( FT_Face:face  int:glyphIndex ) 
    FTGlyph::FTGlyph( int gi)
    :	advance(0),
    	glyphIndex(gi),
    	ftGlyph(0),
    	err(0)	
    {
    	pos.x = 0;
    	pos.y = 0;
    }
    
    
    // OPSignature:  FTGlyph:~FTGlyph() 
    FTGlyph::~FTGlyph()
    {
    	FT_Done_Glyph(ftGlyph); // Is this OK?
    }