bluecore/ftgl/FTGlyph.cpp
2008-01-16 11:45:17 +00:00

18 lines
293 B
C++

#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()
{}