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

characterCode The char code of the glyph NOT the glyph index
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