Logo Search packages:      
Sourcecode: blender version File versions  Download package

FTGlyph.cpp

#include    "FTGlyph.h"


00004 FTGlyph::FTGlyph( FT_GlyphSlot glyph)
:   advance(0.0f),
    err(0)  
{
    if( glyph)
    {
        bBox = FTBBox( glyph);
        advance = static_cast<float>( glyph->advance.x) / 64.0f;
    }
}


00016 FTGlyph::~FTGlyph()
{}

Generated by  Doxygen 1.6.0   Back to index