[]
Gets the GDI compatible glyph placements.
public void GetGdiCompatibleGlyphPlacements(string textString, short[] clusterMap, ShapingTextProperties[] textProps, int textLength, short[] glyphIndices, ShapingGlyphProperties[] glyphProps, int glyphCount, FontFace fontFace, float fontEmSize, float pixelsPerDip, Matrix3x2? transform, bool useGdiNatural, bool isSideways, bool isRightToLeft, ScriptAnalysis scriptAnalysis, string localeName, FontFeature[][] features, int[] featureRangeLengths, float[] glyphAdvances, GlyphOffset[] glyphOffsets)
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. |
float | pixelsPerDip | The pixels per dip. |
Matrix3x2? | transform | The transform. |
bool | useGdiNatural | if set to |
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::GetGdiCompatibleGlyphPlacements([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] float pixelsPerDip,[In, Optional] const DWRITE_MATRIX* transform,[In] BOOL useGdiNatural,[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 GetGdiCompatibleGlyphPlacements(string textString, short[] clusterMap, ShapingTextProperties[] textProps, int textLength, short[] glyphIndices, ShapingGlyphProperties[] glyphProps, int glyphCount, FontFace fontFace, float fontEmSize, float pixelsPerDip, Matrix3x2? transform, Bool useGdiNatural, Bool isSideways, Bool isRightToLeft, ScriptAnalysis scriptAnalysis, string localeName, IntPtr features, int[] featureRangeLengths, int featureRanges, float[] glyphAdvances, GlyphOffset[] glyphOffsets)
Type | Name | Description |
---|---|---|
string | textString | |
short[] | clusterMap | |
ShapingTextProperties[] | textProps | |
int | textLength | |
short[] | glyphIndices | |
ShapingGlyphProperties[] | glyphProps | |
int | glyphCount | |
FontFace | fontFace | |
float | fontEmSize | |
float | pixelsPerDip | |
Matrix3x2? | transform | |
Bool | useGdiNatural | |
Bool | isSideways | |
Bool | isRightToLeft | |
ScriptAnalysis | scriptAnalysis | |
string | localeName | |
IntPtr | features | |
int[] | featureRangeLengths | |
int | featureRanges | |
float[] | glyphAdvances | |
GlyphOffset[] | glyphOffsets |
HRESULT IDWriteTextAnalyzer::GetGdiCompatibleGlyphPlacements([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] float pixelsPerDip,[In, Optional] const DWRITE_MATRIX* transform,[In] BOOL useGdiNatural,[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 GetGdiCompatibleGlyphPlacements(IntPtr textString, IntPtr clusterMap, IntPtr textProps, int textLength, IntPtr glyphIndices, IntPtr glyphProps, int glyphCount, IntPtr fontFace, float fontEmSize, float pixelsPerDip, Matrix3x2? transform, Bool useGdiNatural, Bool isSideways, Bool isRightToLeft, ScriptAnalysis scriptAnalysis, IntPtr localeName, IntPtr features, IntPtr featureRangeLengths, int featureRanges, IntPtr glyphAdvances, IntPtr glyphOffsets)
Type | Name | Description |
---|---|---|
IntPtr | textString | |
IntPtr | clusterMap | |
IntPtr | textProps | |
int | textLength | |
IntPtr | glyphIndices | |
IntPtr | glyphProps | |
int | glyphCount | |
IntPtr | fontFace | |
float | fontEmSize | |
float | pixelsPerDip | |
Matrix3x2? | transform | |
Bool | useGdiNatural | |
Bool | isSideways | |
Bool | isRightToLeft | |
ScriptAnalysis | scriptAnalysis | |
IntPtr | localeName | |
IntPtr | features | |
IntPtr | featureRangeLengths | |
int | featureRanges | |
IntPtr | glyphAdvances | |
IntPtr | glyphOffsets |