IDWriteTextAnalysisSink1.SetGlyphOrientation

<summary> The text analyzer calls back to this to report the actual orientation of each character for shaping and drawing. </summary> <param name="textPosition">Starting position to report from.</param> <param name="textLength">Number of UTF-16 units of the reported range.</param> <param name="glyphOrientationAngle">Angle of the glyphs within the text range (pass to GetGlyphOrientationTransform to get the world relative transform).</param> <param name="adjustedBidiLevel">The adjusted bidi level to be used by the client layout for reordering runs. This will differ from the resolved bidi level retrieved from the source for cases such as Arabic stacked top-to-bottom, where the glyphs are still shaped as RTL, but the runs are TTB along with any CJK or Latin.</param> <param name="isSideways">Whether the glyphs are rotated on their side, which is the default case for CJK and the case stacked Latin</param> <param name="isRightToLeft">Whether the script should be shaped as right-to-left. For Arabic stacked top-to-bottom, even when the adjusted bidi level is coerced to an even level, this will still be true.</param> <returns> A successful code or error code to abort analysis. </returns>

interface IDWriteTextAnalysisSink1
extern (Windows)
HRESULT
SetGlyphOrientation

Meta