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

void FTGlyphContainer::Add ( FTGlyph glyph,
const unsigned int  characterCode 

Adds a glyph to this glyph list.

glyph The FTGlyph to be inserted into the container
characterCode The char code of the glyph NOT the glyph index.

Definition at line 43 of file FTGlyphContainer.cpp.

References charMap, glyphs, FTVector< FT_VECTOR_ITEM_TYPE >::push_back(), and FTVector< FT_VECTOR_ITEM_TYPE >::size().

Referenced by FTFont::CheckGlyph().

    charMap->InsertIndex( characterCode, glyphs.size());
    glyphs.push_back( tempGlyph);

Generated by  Doxygen 1.6.0   Back to index