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

void FTFont::DoRender ( const unsigned int  chr,
const unsigned int  nextChr 
) [inline, private]

Render a character This function does an implicit conversion on it's arguments.

Parameters:
chr current character
nextChr next character

Definition at line 252 of file FTFont.cpp.

References CheckGlyph(), glyphList, pen, FTGlyphContainer::Render(), FTPoint::x, and FTPoint::y.

Referenced by Render().

{
    CheckGlyph( chr);

    FTPoint kernAdvance = glyphList->Render( chr, nextChr, pen);
    
    pen.x += kernAdvance.x;
    pen.y += kernAdvance.y;
}


Generated by  Doxygen 1.6.0   Back to index