<summary>
IDWriteTextLayout::Draw calls this function to instruct the client to draw
a strikethrough.
</summary>
<param name="clientDrawingContext">The context passed to
IDWriteTextLayout::Draw.</param>
<param name="baselineOriginX">X-coordinate of the baseline.</param>
<param name="baselineOriginY">Y-coordinate of the baseline.</param>
<param name="strikethrough">Strikethrough logical information.</param>
<param name="clientDrawingEffect">The drawing effect set in
IDWriteTextLayout::SetDrawingEffect.</param>
<returns>
Standard HRESULT error code.
</returns>
<remarks>
A single strikethrough can be broken into multiple calls, depending on
how the formatting changes attributes. Strikethrough is not averaged
across font sizes/styles changes.
To get the correct top coordinate of the strikethrough rect,
add strikethrough::offset to the baseline's Y.
Like underlines, the x coordinate will always be passed as the left side,
regardless of text directionality.
</remarks>
<summary> IDWriteTextLayout::Draw calls this function to instruct the client to draw a strikethrough. </summary> <param name="clientDrawingContext">The context passed to IDWriteTextLayout::Draw.</param> <param name="baselineOriginX">X-coordinate of the baseline.</param> <param name="baselineOriginY">Y-coordinate of the baseline.</param> <param name="strikethrough">Strikethrough logical information.</param> <param name="clientDrawingEffect">The drawing effect set in IDWriteTextLayout::SetDrawingEffect.</param> <returns> Standard HRESULT error code. </returns> <remarks> A single strikethrough can be broken into multiple calls, depending on how the formatting changes attributes. Strikethrough is not averaged across font sizes/styles changes. To get the correct top coordinate of the strikethrough rect, add strikethrough::offset to the baseline's Y. Like underlines, the x coordinate will always be passed as the left side, regardless of text directionality. </remarks>