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 String, _
ByVal () As Short, _
ByVal () As ShapingTextProperties, _
ByVal As Integer, _
ByVal () As Short, _
ByVal () As ShapingGlyphProperties, _
ByVal As Integer, _
ByVal As FontFace, _
ByVal As Single, _
ByVal As Bool, _
ByVal As Bool, _
ByVal As ScriptAnalysis, _
ByVal As String, _
ByVal As IntPtr, _
ByVal () As Integer, _
ByVal As Integer, _
ByVal () As Single, _
ByVal () As GlyphOffset _
)
public void GetGlyphPlacements(
string ,
short[] ,
ShapingTextProperties[] ,
int ,
short[] ,
ShapingGlyphProperties[] ,
int ,
FontFace ,
float ,
Bool ,
Bool ,
ScriptAnalysis ,
string ,
IntPtr ,
int[] ,
int ,
float[] ,
GlyphOffset[]
)
Parameters
- textString
- clusterMap
- textProps
- textLength
- glyphIndices
- glyphProps
- glyphCount
- fontFace
- fontEmSize
- isSideways
- isRightToLeft
- scriptAnalysis
- localeName
- features
- featureRangeLengths
- featureRanges
- glyphAdvances
- glyphOffsets
See Also