18 lines
293 B
C++
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()
|
||
|
{}
|