Hash : f0f550ea Author : Date : 2008-03-03T16:36:07
Download
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#include "FTGlyph.h" FTGlyph::FTGlyph( FT_Glyph glyph) : advance(0.0f), err(0) { if( glyph) { bBox = FTBBox( glyph); advance = static_cast<float>( glyph->advance.x) / 65536.0f; } } FTGlyph::~FTGlyph() {}