<summary>
Returns 2x3 transform matrix for the respective angle to draw the
glyph run or other object.
</summary>
<param name="glyphOrientationAngle">The angle reported to one of the application callbacks,
including IDWriteTextAnalysisSink1::SetGlyphOrientation and IDWriteTextRenderer1::Draw*.</param>
<param name="isSideways">Whether the run's glyphs are sideways or not.</param>
<param name="originX">X origin of the element, be it a glyph run or underline or other.</param>
<param name="originY">Y origin of the element, be it a glyph run or underline or other.</param>
<param name="transform">Returned transform.</param>
<returns>
Standard HRESULT error code.
</returns>
<remarks>
This rotates around the given origin x and y, returning a translation component
such that the glyph run, text decoration, or inline object is drawn with the
right orientation at the expected coordinate.
</remarks>
<summary> Returns 2x3 transform matrix for the respective angle to draw the glyph run or other object. </summary> <param name="glyphOrientationAngle">The angle reported to one of the application callbacks, including IDWriteTextAnalysisSink1::SetGlyphOrientation and IDWriteTextRenderer1::Draw*.</param> <param name="isSideways">Whether the run's glyphs are sideways or not.</param> <param name="originX">X origin of the element, be it a glyph run or underline or other.</param> <param name="originY">Y origin of the element, be it a glyph run or underline or other.</param> <param name="transform">Returned transform.</param> <returns> Standard HRESULT error code. </returns> <remarks> This rotates around the given origin x and y, returning a translation component such that the glyph run, text decoration, or inline object is drawn with the right orientation at the expected coordinate. </remarks>