RenderIndependentGlyphPath

GlyphRendererBase.RenderIndependentGlyphPath method

使用独立的字形路径渲染字形。 RenderGlyph() 函数族在渲染时更改字形路径。 然后导致需要再次重新加载此字形。此函数使用字形路径的副本,并且不会 更改原始字形路径,因此可以多次重复使用相同的字形。此版本的函数旨在 与字形缓存一起使用。

public void RenderIndependentGlyphPath(IFont font, GlyphId glyphId, Glyph glyph, 
    TransformationMatrix glyphPlacementMatrix)
范围类型描述
fontIFont包含字形的字体。
glyphIdGlyphId字体内的物理字形索引。请注意,这不是 unicode。
glyphGlyph要渲染的字形。
glyphPlacementMatrixTransformationMatrix应用于字形坐标的矩阵。

也可以看看