Edit

kc3-lang/ftgl/src/FTGlyph.cpp

Branch :

  • Show log

    Commit

  • Author : sammy
    Date : 2008-04-04 12:43:38
    Hash : 7c358859
    Message : * Generate a config.h file instead of passing all defines in the compiler command line. * "make install" now properly installs the includes, the documentation and the .pc file. * Generate a shared library.

  • src/FTGlyph.cpp
  • #include "config.h"
    
    #include "FTGlyph.h"
    
    
    FTGlyph::FTGlyph( FT_GlyphSlot glyph, bool useList)
    :   useDisplayList(useList),
        err(0)  
    {
        if( glyph)
        {
            bBox = FTBBox( glyph);
            advance = FTPoint( glyph->advance.x / 64.0f, glyph->advance.y / 64.0f, 0.0f);
        }
    }
    
    
    FTGlyph::~FTGlyph()
    {}