IDWriteTextAnalyzer.GetGlyphPlacements

<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="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>

interface IDWriteTextAnalyzer
extern (Windows)
HRESULT
GetGlyphPlacements

Meta