IGlyphRenderer.RenderIndependentGlyphPath
IGlyphRenderer.RenderIndependentGlyphPath method
使用独立的字形路径渲染字形。RenderGlyph() 函数族在渲染时会更改字形路径,这会导致需要再次重新加载该字形。此函数使用字形路径的副本且不更改原始字形路径,因此同一字形可以多次重复使用。此函数版本旨在与字形缓存一起使用。
public void RenderIndependentGlyphPath(IFont font, GlyphId glyphId, Glyph glyph,
TransformationMatrix glyphPlacementMatrix)
| 参数 | 类型 | 描述 |
|---|---|---|
| 字体 | IFont | 包含该字形的字体。 |
| glyphId | GlyphId | 字体内部的物理 glyph 索引。注意,这不是 Unicode。 |
| 字形 | 字形 | 待渲染的字形。 |
| glyphPlacementMatrix | TransformationMatrix | 应用于字形坐标的矩阵。 |
另见
- interface IFont
- class GlyphId
- class Glyph
- class TransformationMatrix
- interface IGlyphRenderer
- namespace Aspose.Font.Renderers
- assembly Aspose.Font