GetGlyphPlacements(String,Int16[],ShapingTextProperties[],Int32,Int16[],ShapingGlyphProperties[],Int32,FontFace,Single,Bool,Bool,ScriptAnalysis,String,IntPtr,Int32[],Int32,Single[],GlyphOffset[]) Method
In This Topic
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)
Syntax
'Declaration
Public Overloads Sub GetGlyphPlacements( _
ByVal As System.String, _
ByVal () As System.Short, _
ByVal () As ShapingTextProperties, _
ByVal As System.Integer, _
ByVal () As System.Short, _
ByVal () As ShapingGlyphProperties, _
ByVal As System.Integer, _
ByVal As FontFace, _
ByVal As System.Single, _
ByVal As Bool, _
ByVal As Bool, _
ByVal As ScriptAnalysis, _
ByVal As System.String, _
ByVal As System.IntPtr, _
ByVal () As System.Integer, _
ByVal As System.Integer, _
ByVal () As System.Single, _
ByVal () As GlyphOffset _
)
public void GetGlyphPlacements(
System.string ,
System.short[] ,
ShapingTextProperties[] ,
System.int ,
System.short[] ,
ShapingGlyphProperties[] ,
System.int ,
FontFace ,
System.float ,
Bool ,
Bool ,
ScriptAnalysis ,
System.string ,
System.IntPtr ,
System.int[] ,
System.int ,
System.float[] ,
GlyphOffset[]
)
Parameters
- textString
- clusterMap
- textProps
- textLength
- glyphIndices
- glyphProps
- glyphCount
- fontFace
- fontEmSize
- isSideways
- isRightToLeft
- scriptAnalysis
- localeName
- features
- featureRangeLengths
- featureRanges
- glyphAdvances
- glyphOffsets
See Also