IDWriteTextAnalyzer1.JustifyGlyphAdvances

<summary> Justifies an array of glyph advances to fit the line width. </summary> <param name="lineWidth">Width of the line.</param> <param name="glyphCount">Number of glyphs.</param> <param name="justificationOpportunities">Opportunities per glyph. Call GetJustificationOpportunities() to get suitable opportunities according to script.</param> <param name="glyphAdvances">Original glyph advances from shaping.</param> <param name="glyphOffsets">Original glyph offsets from shaping.</param> <param name="justifiedGlyphAdvances">Justified glyph advances.</param> <param name="justifiedGlyphOffsets">Justified glyph offsets.</param> <remarks> This is called after all the opportunities have been collected, and it spans across the entire line. The input and output arrays are allowed to alias each other, permitting in-place update. </remarks> <returns> Standard HRESULT error code. </returns>

interface IDWriteTextAnalyzer1
extern (Windows)
HRESULT
JustifyGlyphAdvances

Meta