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

const FTGlyph *const FTGlyphContainer::Glyph ( const unsigned int  characterCode  )  const

Get a glyph from the glyph list

Parameters:
characterCode The char code of the glyph NOT the glyph index
Returns:
An FTGlyph or null is it hasn't been loaded.

Definition at line 50 of file FTGlyphContainer.cpp.

References charMap, and glyphs.

Referenced by FTFont::CheckGlyph().

{
    signed int index = charMap->GlyphListIndex( characterCode);
    return glyphs[index];
}


Generated by  Doxygen 1.6.0   Back to index