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