Logo Search packages:      
Sourcecode: blender version File versions  Download package

FTBBox FTGlyphContainer::BBox ( const unsigned int  characterCode  )  const

Get the bounding box for a character.

Parameters:
characterCode The char code of the glyph NOT the glyph index

Definition at line 57 of file FTGlyphContainer.cpp.

References charMap, and glyphs.

Referenced by FTFont::BBox().

{
    return glyphs[charMap->GlyphListIndex( characterCode)]->BBox();
}


Generated by  Doxygen 1.6.0   Back to index