IGlyphRenderer.RenderIndependentGlyphPath

IGlyphRenderer.RenderIndependentGlyphPath method

Renders glyph using independent glyph path. RenderGlyph() function family changes glyph path on rendering. It then leads to necessity reload this glyph again. This function uses copy of glyph path and doesn’t changes original glyph path, so the same glyph could be reused multiple times. This version of function is intended for use with cache of glyphs.

public void RenderIndependentGlyphPath(IFont font, GlyphId glyphId, Glyph glyph, 
    TransformationMatrix glyphPlacementMatrix)
ParameterTypeDescription
fontIFontThe font that contains the glyph.
glyphIdGlyphIdPhysical glyph index inside font. Note that this is not a unicode.
glyphGlyphGlyph to render.
glyphPlacementMatrixTransformationMatrixMatrix that is applied to glyph coordinates.

See Also