<summary>
Place glyphs output from the GetGlyphs method according to the font
and the writing system's rendering rules.
</summary>
<param name="textString">The original string the glyphs came from.</param>
<param name="clusterMap">The mapping from character ranges to glyph
ranges. Returned by GetGlyphs.</param>
<param name="textProps">Per-character properties. Returned by
GetGlyphs.</param>
<param name="textLength">The length of textString.</param>
<param name="glyphIndices">Glyph indices. See GetGlyphs</param>
<param name="glyphProps">Per-glyph properties. See GetGlyphs</param>
<param name="glyphCount">The number of glyphs.</param>
<param name="fontFace">The font face the glyphs came from.</param>
<param name="fontEmSize">Logical font size in DIP's.</param>
<param name="pixelsPerDip">Number of physical pixels per DIP. For example, if the DPI of the rendering surface is 96 this
value is 1.0f. If the DPI is 120, this value is 120.0f/96.</param>
<param name="transform">Optional transform applied to the glyphs and their positions. This transform is applied after the
scaling specified by the font size and pixelsPerDip.</param>
<param name="useGdiNatural">
When set to FALSE, the metrics are the same as the metrics of GDI aliased text.
When set to TRUE, the metrics are the same as the metrics of text measured by GDI using a font
created with CLEARTYPE_NATURAL_QUALITY.
</param>
<param name="isSideways">Set to true if the text is intended to be
drawn vertically.</param>
<param name="isRightToLeft">Set to TRUE for right-to-left text.</param>
<param name="scriptAnalysis">Script analysis result from AnalyzeScript.</param>
<param name="localeName">The locale to use when selecting glyphs.
e.g. the same character may map to different glyphs for ja-jp vs zh-chs.
If this is NULL then the default mapping based on the script is used.</param>
<param name="features">An array of pointers to the sets of typographic
features to use in each feature range.</param>
<param name="featureRangeLengths">The length of each feature range, in characters.
The sum of all lengths should be equal to textLength.</param>
<param name="featureRanges">The number of feature ranges.</param>
<param name="glyphAdvances">The advance width of each glyph.</param>
<param name="glyphOffsets">The offset of the origin of each glyph.</param>
<returns>
Standard HRESULT error code.
</returns>
<summary> Place glyphs output from the GetGlyphs method according to the font and the writing system's rendering rules. </summary> <param name="textString">The original string the glyphs came from.</param> <param name="clusterMap">The mapping from character ranges to glyph ranges. Returned by GetGlyphs.</param> <param name="textProps">Per-character properties. Returned by GetGlyphs.</param> <param name="textLength">The length of textString.</param> <param name="glyphIndices">Glyph indices. See GetGlyphs</param> <param name="glyphProps">Per-glyph properties. See GetGlyphs</param> <param name="glyphCount">The number of glyphs.</param> <param name="fontFace">The font face the glyphs came from.</param> <param name="fontEmSize">Logical font size in DIP's.</param> <param name="pixelsPerDip">Number of physical pixels per DIP. For example, if the DPI of the rendering surface is 96 this value is 1.0f. If the DPI is 120, this value is 120.0f/96.</param> <param name="transform">Optional transform applied to the glyphs and their positions. This transform is applied after the scaling specified by the font size and pixelsPerDip.</param> <param name="useGdiNatural"> When set to FALSE, the metrics are the same as the metrics of GDI aliased text. When set to TRUE, the metrics are the same as the metrics of text measured by GDI using a font created with CLEARTYPE_NATURAL_QUALITY. </param> <param name="isSideways">Set to true if the text is intended to be drawn vertically.</param> <param name="isRightToLeft">Set to TRUE for right-to-left text.</param> <param name="scriptAnalysis">Script analysis result from AnalyzeScript.</param> <param name="localeName">The locale to use when selecting glyphs. e.g. the same character may map to different glyphs for ja-jp vs zh-chs. If this is NULL then the default mapping based on the script is used.</param> <param name="features">An array of pointers to the sets of typographic features to use in each feature range.</param> <param name="featureRangeLengths">The length of each feature range, in characters. The sum of all lengths should be equal to textLength.</param> <param name="featureRanges">The number of feature ranges.</param> <param name="glyphAdvances">The advance width of each glyph.</param> <param name="glyphOffsets">The offset of the origin of each glyph.</param> <returns> Standard HRESULT error code. </returns>