bluecore/ftgl/FTGlyph.cpp

18 lines
293 B
C++
Raw Normal View History

2008-01-16 11:45:17 +00:00
#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()
{}