IGlyphRenderer.RenderGlyph

RenderGlyph(IFont, uint)

渲染字形。

public void RenderGlyph(IFont font, uint glyphIndex)
参数类型描述
字体IFont包含该字形的字体。
glyphIndexUInt32字体内部的物理 glyph 索引。注意,这不是 Unicode。

另见


RenderGlyph(IFont, uint, TransformationMatrix)

渲染字形。

public void RenderGlyph(IFont font, uint glyphIndex, TransformationMatrix glyphPlacementMatrix)
参数类型描述
字体IFont包含该字形的字体。
glyphIndexUInt32字体内部的物理 glyph 索引。注意,这不是 Unicode。
glyphPlacementMatrixTransformationMatrix应用于字形坐标的矩阵。

另见


RenderGlyph(IFont, GlyphId)

渲染字形。

public void RenderGlyph(IFont font, GlyphId glyphId)
参数类型描述
字体IFont包含该字形的字体。
glyphIdGlyphId字体内部的物理 glyph 索引。注意,这不是 Unicode。

另见


RenderGlyph(IFont, GlyphId, TransformationMatrix)

渲染字形。

public void RenderGlyph(IFont font, GlyphId glyphId, TransformationMatrix glyphPlacementMatrix)
参数类型描述
字体IFont包含该字形的字体。
glyphIdGlyphId字体内部的物理 glyph 索引。注意,这不是 Unicode。
glyphPlacementMatrixTransformationMatrix应用于字形坐标的矩阵。

另见


RenderGlyph(IFont, GlyphId, Glyph, TransformationMatrix)

渲染字形,此重载版本的目标是用于字形缓存。

public void RenderGlyph(IFont font, GlyphId glyphId, Glyph glyph, 
    TransformationMatrix glyphPlacementMatrix)
参数类型描述
字体IFont包含该字形的字体。
glyphIdGlyphId字体内部的物理 glyph 索引。注意,这不是 Unicode。
字形字形待渲染的字形。
glyphPlacementMatrixTransformationMatrix应用于字形坐标的矩阵。

另见