[]
Gets the glyphs (TODO doc)
public int GetGlyphs(string textString, int textLength, FontFace fontFace, bool isSideways, bool isRightToLeft, ScriptAnalysis scriptAnalysis, string localeName, NumberSubstitution numberSubstitution, FontFeature[][] features, int[] featureRangeLengths, int maxGlyphCount, short[] clusterMap, ShapingTextProperties[] textProps, short[] glyphIndices, ShapingGlyphProperties[] glyphProps)
Type | Name | Description |
---|---|---|
string | textString | The text string. |
int | textLength | Length of the text. |
FontFace | fontFace | The font face. |
bool | isSideways | if set to |
bool | isRightToLeft | if set to |
ScriptAnalysis | scriptAnalysis | The script analysis. |
string | localeName | Name of the locale. |
NumberSubstitution | numberSubstitution | The number substitution. |
FontFeature[][] | features | The features. |
int[] | featureRangeLengths | The feature range lengths. |
int | maxGlyphCount | The max glyph count. |
short[] | clusterMap | The cluster map. |
ShapingTextProperties[] | textProps | The text props. |
short[] | glyphIndices | The glyph indices. |
ShapingGlyphProperties[] | glyphProps | The glyph props. |
Type | Description |
---|---|
int |
HRESULT IDWriteTextAnalyzer::GetGlyphs([In, Buffer] const wchar_t* textString,[In] unsigned int textLength,[In] IDWriteFontFace* fontFace,[In] BOOL isSideways,[In] BOOL isRightToLeft,[In] const DWRITE_SCRIPT_ANALYSIS* scriptAnalysis,[In, Optional] const wchar_t* localeName,[In, Optional] IDWriteNumberSubstitution* numberSubstitution,[In, Optional] const void** features,[In, Buffer, Optional] const unsigned int* featureRangeLengths,[In] unsigned int featureRanges,[In] unsigned int maxGlyphCount,[Out, Buffer] unsigned short* clusterMap,[Out, Buffer] DWRITE_SHAPING_TEXT_PROPERTIES* textProps,[Out, Buffer] unsigned short* glyphIndices,[Out, Buffer] DWRITE_SHAPING_GLYPH_PROPERTIES* glyphProps,[Out] unsigned int* actualGlyphCount)
public int GetGlyphs(string textString, int textLength, FontFace fontFace, Bool isSideways, Bool isRightToLeft, ScriptAnalysis scriptAnalysis, string localeName, NumberSubstitution numberSubstitution, IntPtr features, int[] featureRangeLengths, int featureRanges, int maxGlyphCount, short[] clusterMap, ShapingTextProperties[] textProps, short[] glyphIndices, ShapingGlyphProperties[] glyphProps)
Type | Name | Description |
---|---|---|
string | textString | |
int | textLength | |
FontFace | fontFace | |
Bool | isSideways | |
Bool | isRightToLeft | |
ScriptAnalysis | scriptAnalysis | |
string | localeName | |
NumberSubstitution | numberSubstitution | |
IntPtr | features | |
int[] | featureRangeLengths | |
int | featureRanges | |
int | maxGlyphCount | |
short[] | clusterMap | |
ShapingTextProperties[] | textProps | |
short[] | glyphIndices | |
ShapingGlyphProperties[] | glyphProps |
Type | Description |
---|---|
int |
HRESULT IDWriteTextAnalyzer::GetGlyphs([In, Buffer] const wchar_t* textString,[In] unsigned int textLength,[In] IDWriteFontFace* fontFace,[In] BOOL isSideways,[In] BOOL isRightToLeft,[In] const DWRITE_SCRIPT_ANALYSIS* scriptAnalysis,[In, Optional] const wchar_t* localeName,[In, Optional] IDWriteNumberSubstitution* numberSubstitution,[In, Optional] const void** features,[In, Buffer, Optional] const unsigned int* featureRangeLengths,[In] unsigned int featureRanges,[In] unsigned int maxGlyphCount,[Out, Buffer] unsigned short* clusterMap,[Out, Buffer] DWRITE_SHAPING_TEXT_PROPERTIES* textProps,[Out, Buffer] unsigned short* glyphIndices,[Out, Buffer] DWRITE_SHAPING_GLYPH_PROPERTIES* glyphProps,[Out] unsigned int* actualGlyphCount)
public HResult GetGlyphs(IntPtr textString, int textLength, IntPtr fontFace, bool isSideways, bool isRightToLeft, ScriptAnalysis scriptAnalysis, IntPtr localeName, IntPtr numberSubstitution, IntPtr features, IntPtr featureRangeLengths, int maxGlyphCount, IntPtr clusterMap, IntPtr textProps, IntPtr glyphIndices, IntPtr glyphProps, out int actualGlyphCount)
Type | Name | Description |
---|---|---|
IntPtr | textString | |
int | textLength | |
IntPtr | fontFace | |
bool | isSideways | |
bool | isRightToLeft | |
ScriptAnalysis | scriptAnalysis | |
IntPtr | localeName | |
IntPtr | numberSubstitution | |
IntPtr | features | |
IntPtr | featureRangeLengths | |
int | maxGlyphCount | |
IntPtr | clusterMap | |
IntPtr | textProps | |
IntPtr | glyphIndices | |
IntPtr | glyphProps | |
int | actualGlyphCount |
Type | Description |
---|---|
HResult |