[]
Gets the glyph placements.
public void GetGlyphPlacements(string textString, short[] clusterMap, ShapingTextProperties[] textProps, int textLength, short[] glyphIndices, ShapingGlyphProperties[] glyphProps, int glyphCount, FontFace fontFace, float fontEmSize, bool isSideways, bool isRightToLeft, ScriptAnalysis scriptAnalysis, string localeName, FontFeature[][] features, int[] featureRangeLengths, float[] glyphAdvances, GlyphOffset[] glyphOffsets)
Public Sub GetGlyphPlacements(textString As String, clusterMap As Short(), textProps As ShapingTextProperties(), textLength As Integer, glyphIndices As Short(), glyphProps As ShapingGlyphProperties(), glyphCount As Integer, fontFace As FontFace, fontEmSize As Single, isSideways As Boolean, isRightToLeft As Boolean, scriptAnalysis As ScriptAnalysis, localeName As String, features As FontFeature()(), featureRangeLengths As Integer(), glyphAdvances As Single(), glyphOffsets As GlyphOffset())
| Type | Name | Description |
|---|---|---|
| string | textString | The text string. |
| short[] | clusterMap | The cluster map. |
| ShapingTextProperties[] | textProps | The text props. |
| int | textLength | Length of the text. |
| short[] | glyphIndices | The glyph indices. |
| ShapingGlyphProperties[] | glyphProps | The glyph props. |
| int | glyphCount | The glyph count. |
| FontFace | fontFace | The font face. |
| float | fontEmSize | Size of the font in ems. |
| bool | isSideways | if set to |
| bool | isRightToLeft | if set to |
| ScriptAnalysis | scriptAnalysis | The script analysis. |
| string | localeName | Name of the locale. |
| FontFeature[][] | features | The features. |
| int[] | featureRangeLengths | The feature range lengths. |
| float[] | glyphAdvances | The glyph advances. |
| GlyphOffset[] | glyphOffsets | The glyph offsets. |
HRESULT IDWriteTextAnalyzer::GetGlyphPlacements([In, Buffer] const wchar_t* textString,[In, Buffer] const unsigned short* clusterMap,[In, Buffer] DWRITE_SHAPING_TEXT_PROPERTIES* textProps,[In] unsigned int textLength,[In, Buffer] const unsigned short* glyphIndices,[In, Buffer] const DWRITE_SHAPING_GLYPH_PROPERTIES* glyphProps,[In] unsigned int glyphCount,[In] IDWriteFontFace* fontFace,[In] float fontEmSize,[In] BOOL isSideways,[In] BOOL isRightToLeft,[In] const DWRITE_SCRIPT_ANALYSIS* scriptAnalysis,[In, Optional] const wchar_t* localeName,[In, Optional] const void** features,[In, Buffer, Optional] const unsigned int* featureRangeLengths,[In] unsigned int featureRanges,[Out, Buffer] float* glyphAdvances,[Out, Buffer] DWRITE_GLYPH_OFFSET* glyphOffsets)
public void GetGlyphPlacements(string textString, short[] clusterMap, ShapingTextProperties[] textProps, int textLength, short[] glyphIndices, ShapingGlyphProperties[] glyphProps, int glyphCount, FontFace fontFace, float fontEmSize, Bool isSideways, Bool isRightToLeft, ScriptAnalysis scriptAnalysis, string localeName, nint features, int[] featureRangeLengths, int featureRanges, float[] glyphAdvances, GlyphOffset[] glyphOffsets)
Public Sub GetGlyphPlacements(textString As String, clusterMap As Short(), textProps As ShapingTextProperties(), textLength As Integer, glyphIndices As Short(), glyphProps As ShapingGlyphProperties(), glyphCount As Integer, fontFace As FontFace, fontEmSize As Single, isSideways As Bool, isRightToLeft As Bool, scriptAnalysis As ScriptAnalysis, localeName As String, features As IntPtr, featureRangeLengths As Integer(), featureRanges As Integer, glyphAdvances As Single(), glyphOffsets As GlyphOffset())
| Type | Name | Description |
|---|---|---|
| string | textString | |
| short[] | clusterMap | |
| ShapingTextProperties[] | textProps | |
| int | textLength | |
| short[] | glyphIndices | |
| ShapingGlyphProperties[] | glyphProps | |
| int | glyphCount | |
| FontFace | fontFace | |
| float | fontEmSize | |
| Bool | isSideways | |
| Bool | isRightToLeft | |
| ScriptAnalysis | scriptAnalysis | |
| string | localeName | |
| nint | features | |
| int[] | featureRangeLengths | |
| int | featureRanges | |
| float[] | glyphAdvances | |
| GlyphOffset[] | glyphOffsets |
HRESULT IDWriteTextAnalyzer::GetGlyphPlacements([In, Buffer] const wchar_t* textString,[In, Buffer] const unsigned short* clusterMap,[In, Buffer] DWRITE_SHAPING_TEXT_PROPERTIES* textProps,[In] unsigned int textLength,[In, Buffer] const unsigned short* glyphIndices,[In, Buffer] const DWRITE_SHAPING_GLYPH_PROPERTIES* glyphProps,[In] unsigned int glyphCount,[In] IDWriteFontFace* fontFace,[In] float fontEmSize,[In] BOOL isSideways,[In] BOOL isRightToLeft,[In] const DWRITE_SCRIPT_ANALYSIS* scriptAnalysis,[In, Optional] const wchar_t* localeName,[In, Optional] const void** features,[In, Buffer, Optional] const unsigned int* featureRangeLengths,[In] unsigned int featureRanges,[Out, Buffer] float* glyphAdvances,[Out, Buffer] DWRITE_GLYPH_OFFSET* glyphOffsets)
public void GetGlyphPlacements(nint textString, nint clusterMap, nint textProps, int textLength, nint glyphIndices, nint glyphProps, int glyphCount, nint fontFace, float fontEmSize, Bool isSideways, Bool isRightToLeft, ScriptAnalysis scriptAnalysis, nint localeName, nint features, nint featureRangeLengths, int featureRanges, nint glyphAdvances, nint glyphOffsets)
Public Sub GetGlyphPlacements(textString As IntPtr, clusterMap As IntPtr, textProps As IntPtr, textLength As Integer, glyphIndices As IntPtr, glyphProps As IntPtr, glyphCount As Integer, fontFace As IntPtr, fontEmSize As Single, isSideways As Bool, isRightToLeft As Bool, scriptAnalysis As ScriptAnalysis, localeName As IntPtr, features As IntPtr, featureRangeLengths As IntPtr, featureRanges As Integer, glyphAdvances As IntPtr, glyphOffsets As IntPtr)
| Type | Name | Description |
|---|---|---|
| nint | textString | |
| nint | clusterMap | |
| nint | textProps | |
| int | textLength | |
| nint | glyphIndices | |
| nint | glyphProps | |
| int | glyphCount | |
| nint | fontFace | |
| float | fontEmSize | |
| Bool | isSideways | |
| Bool | isRightToLeft | |
| ScriptAnalysis | scriptAnalysis | |
| nint | localeName | |
| nint | features | |
| nint | featureRangeLengths | |
| int | featureRanges | |
| nint | glyphAdvances | |
| nint | glyphOffsets |