Back to index

extremetuxracer  0.5beta
FTGlyph.cpp
Go to the documentation of this file.
00001 #include    "FTGlyph.h"
00002 
00003 
00004 FTGlyph::FTGlyph( FT_GlyphSlot glyph, bool useList)
00005 :   useDisplayList(useList),
00006     err(0)  
00007 {
00008     if( glyph)
00009     {
00010         bBox = FTBBox( glyph);
00011         advance = FTPoint( glyph->advance.x / 64.0f, glyph->advance.y / 64.0f, 0.0f);
00012     }
00013 }
00014 
00015 
00016 FTGlyph::~FTGlyph()
00017 {}