[]
        
(Showing Draft Content)

C1.Util.DX.DirectWrite.TextAnalyzer.GetGlyphPlacements

GetGlyphPlacements Method

GetGlyphPlacements(string, short[], ShapingTextProperties[], int, short[], ShapingGlyphProperties[], int, FontFace, float, bool, bool, ScriptAnalysis, string, FontFeature[][], int[], float[], GlyphOffset[])

Gets the glyph placements.

Declaration
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)
Parameters
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 true [is sideways].

bool isRightToLeft

if set to true [is right to left].

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.

GetGlyphPlacements(string, short[], ShapingTextProperties[], int, short[], ShapingGlyphProperties[], int, FontFace, float, Bool, Bool, ScriptAnalysis, string, IntPtr, int[], int, float[], GlyphOffset[])

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)

Declaration
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, IntPtr features, int[] featureRangeLengths, int featureRanges, float[] glyphAdvances, GlyphOffset[] glyphOffsets)
Parameters
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
IntPtr features
int[] featureRangeLengths
int featureRanges
float[] glyphAdvances
GlyphOffset[] glyphOffsets

GetGlyphPlacements(IntPtr, IntPtr, IntPtr, int, IntPtr, IntPtr, int, IntPtr, float, Bool, Bool, ScriptAnalysis, IntPtr, IntPtr, IntPtr, int, IntPtr, IntPtr)

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)

Declaration
public void GetGlyphPlacements(IntPtr textString, IntPtr clusterMap, IntPtr textProps, int textLength, IntPtr glyphIndices, IntPtr glyphProps, int glyphCount, IntPtr fontFace, float fontEmSize, Bool isSideways, Bool isRightToLeft, ScriptAnalysis scriptAnalysis, IntPtr localeName, IntPtr features, IntPtr featureRangeLengths, int featureRanges, IntPtr glyphAdvances, IntPtr glyphOffsets)
Parameters
Type Name Description
IntPtr textString
IntPtr clusterMap
IntPtr textProps
int textLength
IntPtr glyphIndices
IntPtr glyphProps
int glyphCount
IntPtr fontFace
float fontEmSize
Bool isSideways
Bool isRightToLeft
ScriptAnalysis scriptAnalysis
IntPtr localeName
IntPtr features
IntPtr featureRangeLengths
int featureRanges
IntPtr glyphAdvances
IntPtr glyphOffsets