<summary>
IDWriteTextLayout::Draw calls this function to instruct the client to
render a run of glyphs.
</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="orientationAngle">Orientation of the glyph run.</param>
<param name="measuringMode">Specifies measuring method for glyphs in
the run. Renderer implementations may choose different rendering
modes for given measuring methods, but best results are seen when
the rendering mode matches the corresponding measuring mode:
DWRITE_RENDERING_MODE_CLEARTYPE_NATURAL for DWRITE_MEASURING_MODE_NATURAL
DWRITE_RENDERING_MODE_CLEARTYPE_GDI_CLASSIC for DWRITE_MEASURING_MODE_GDI_CLASSIC
DWRITE_RENDERING_MODE_CLEARTYPE_GDI_NATURAL for DWRITE_MEASURING_MODE_GDI_NATURAL
</param>
<param name="glyphRun">The glyph run to draw.</param>
<param name="glyphRunDescription">Properties of the characters
associated with this run.</param>
<param name="clientDrawingEffect">The drawing effect set in
IDWriteTextLayout::SetDrawingEffect.</param>
<returns>
Standard HRESULT error code.
</returns>
<remarks>
If a non-identity orientation is passed, the glyph run should be
rotated around the given baseline x and y coordinates. The function
IDWriteAnalyzer2::GetGlyphOrientationTransform will return the
necessary transform for you, which can be combined with any existing
world transform on the drawing context.
</remarks>
<summary> IDWriteTextLayout::Draw calls this function to instruct the client to render a run of glyphs. </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="orientationAngle">Orientation of the glyph run.</param> <param name="measuringMode">Specifies measuring method for glyphs in the run. Renderer implementations may choose different rendering modes for given measuring methods, but best results are seen when the rendering mode matches the corresponding measuring mode: DWRITE_RENDERING_MODE_CLEARTYPE_NATURAL for DWRITE_MEASURING_MODE_NATURAL DWRITE_RENDERING_MODE_CLEARTYPE_GDI_CLASSIC for DWRITE_MEASURING_MODE_GDI_CLASSIC DWRITE_RENDERING_MODE_CLEARTYPE_GDI_NATURAL for DWRITE_MEASURING_MODE_GDI_NATURAL </param> <param name="glyphRun">The glyph run to draw.</param> <param name="glyphRunDescription">Properties of the characters associated with this run.</param> <param name="clientDrawingEffect">The drawing effect set in IDWriteTextLayout::SetDrawingEffect.</param> <returns> Standard HRESULT error code. </returns> <remarks> If a non-identity orientation is passed, the glyph run should be rotated around the given baseline x and y coordinates. The function IDWriteAnalyzer2::GetGlyphOrientationTransform will return the necessary transform for you, which can be combined with any existing world transform on the drawing context. </remarks>