Sign in
gfiber
/
vendor
/
opensource
/
projectM
/
058533a56d34c839db384d5081208db36da41a17
/
.
/
src
/
WinLibs
/
FTGL
/
src
/
FTGlyph.cpp
blob: d969bddb8748e314c5869cfcc5a882dc5ecb3ceb [
file
] [
log
] [
blame
]
#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
()
{}