CanvasTextAnalyzerAddGlyphsAfterJustification Method (CanvasFontFace, Single, CanvasAnalyzedScript, Int32, CanvasGlyph, CanvasGlyph, CanvasGlyphShaping, Int32) |
Namespace: Microsoft.Graphics.Canvas.Text
public CanvasGlyph[] AddGlyphsAfterJustification( CanvasFontFace fontFace, float fontSize, CanvasAnalyzedScript script, int[] clusterMapIndicesElements, CanvasGlyph[] originalGlyphsElements, CanvasGlyph[] justifiedGlyphsElements, CanvasGlyphShaping[] glyphShapingResultsElements, out int[] outputClusterMapIndicesElements )
This is used when inserting Arabic kashida.
To determine whether a script may add justification characters, call GetScriptProperties(CanvasAnalyzedScript) after analyzing the text's script, and check whether JustificationCharacter is non-null.