Welcome to mirror list, hosted at ThFree Co, Russian Federation.

FTGlyph.cpp « src « bFTGL « extern - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c68632949c2837924ca87f67f09d3224ceb9070f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include    "FTGlyph.h"


FTGlyph::FTGlyph( FT_GlyphSlot glyph)
:   advance(0.0f),
    err(0)  
{
    if( glyph)
    {
        bBox = FTBBox( glyph);
        advance = static_cast<float>( glyph->advance.x) / 64.0f;
    }
}


FTGlyph::~FTGlyph()
{}