GetJustifiedGlyphs Method
In This Topic
HRESULT IDWriteTextAnalyzer1::GetJustifiedGlyphs([In, Optional] IDWriteFontFace* fontFace,[In] float fontEmSize,[In] DWRITE_SCRIPT_ANALYSIS scriptAnalysis,[In] unsigned int textLength,[In] unsigned int glyphCount,[In] unsigned int maxGlyphCount,[In, Buffer, Optional] const unsigned short* clusterMap,[In, Buffer] const unsigned short* glyphIndices,[In, Buffer] const float* glyphAdvances,[In, Buffer] const float* justifiedGlyphAdvances,[In, Buffer] const DWRITE_GLYPH_OFFSET* justifiedGlyphOffsets,[In, Buffer] const DWRITE_SHAPING_GLYPH_PROPERTIES* glyphProperties,[In] unsigned int* actualGlyphCount,[Out, Buffer, Optional] unsigned short* modifiedClusterMap,[Out, Buffer] unsigned short* modifiedGlyphIndices,[Out, Buffer] float* modifiedGlyphAdvances,[Out, Buffer] DWRITE_GLYPH_OFFSET* modifiedGlyphOffsets)
Syntax
'Declaration
Public Sub GetJustifiedGlyphs( _
ByVal As FontFace, _
ByVal As System.Single, _
ByVal As ScriptAnalysis, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal () As System.Short, _
ByVal () As System.Short, _
ByVal () As System.Single, _
ByVal () As System.Single, _
ByVal () As GlyphOffset, _
ByVal () As ShapingGlyphProperties, _
ByVal As System.Integer, _
ByVal () As System.Short, _
ByVal () As System.Short, _
ByVal () As System.Single, _
ByVal () As GlyphOffset _
)
public void GetJustifiedGlyphs(
FontFace ,
System.float ,
ScriptAnalysis ,
System.int ,
System.int ,
System.int ,
System.short[] ,
System.short[] ,
System.float[] ,
System.float[] ,
GlyphOffset[] ,
ShapingGlyphProperties[] ,
System.int ,
System.short[] ,
System.short[] ,
System.float[] ,
GlyphOffset[]
)
Parameters
- fontFace
- fontEmSize
- scriptAnalysis
- textLength
- glyphCount
- maxGlyphCount
- clusterMap
- glyphIndices
- glyphAdvances
- justifiedGlyphAdvances
- justifiedGlyphOffsets
- glyphProperties
- actualGlyphCount
- modifiedClusterMap
- modifiedGlyphIndices
- modifiedGlyphAdvances
- modifiedGlyphOffsets
See Also