[]
        
(Showing Draft Content)

C1.Util.DX.DirectWrite.TextAnalyzer.GetGdiCompatibleGlyphPlacements

GetGdiCompatibleGlyphPlacements Method

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

Gets the GDI compatible glyph placements.

Declaration
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)
Public Sub GetGdiCompatibleGlyphPlacements(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, pixelsPerDip As Single, transform As Matrix3x2?, useGdiNatural As Boolean, isSideways As Boolean, isRightToLeft As Boolean, scriptAnalysis As ScriptAnalysis, localeName As String, features As FontFeature()(), featureRangeLengths As Integer(), glyphAdvances As Single(), glyphOffsets As GlyphOffset())
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.

float pixelsPerDip

The pixels per dip.

Matrix3x2? transform

The transform.

bool useGdiNatural

if set to true [use GDI natural].

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.

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

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)

Declaration
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)
Public Sub GetGdiCompatibleGlyphPlacements(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, pixelsPerDip As Single, transform As Matrix3x2?, useGdiNatural As Bool, 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())
Parameters
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

GetGdiCompatibleGlyphPlacements(IntPtr, IntPtr, IntPtr, int, IntPtr, IntPtr, int, IntPtr, float, float, Matrix3x2?, Bool, Bool, Bool, ScriptAnalysis, IntPtr, IntPtr, IntPtr, int, IntPtr, IntPtr)

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)

Declaration
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)
Public Sub GetGdiCompatibleGlyphPlacements(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, pixelsPerDip As Single, transform As Matrix3x2?, useGdiNatural As Bool, 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)
Parameters
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