[WIP] Add options to rotate text 180 and 270 degrees#250
Draft
[WIP] Add options to rotate text 180 and 270 degrees#250
Conversation
Co-authored-by: majorsilence <656288+majorsilence@users.noreply.github.com>
…derers Co-authored-by: majorsilence <656288+majorsilence@users.noreply.github.com>
…0 degrees) Co-authored-by: majorsilence <656288+majorsilence@users.noreply.github.com>
Copilot stopped work on behalf of
majorsilence due to an error
October 19, 2025 19:59
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of Changes
This PR adds support for 180-degree text rotation, allowing text to be rotated to 0, 90, 180, or 270 degrees.
Technical Implementation
rl_bt(right-left, bottom-top) toWritingModeEnumfor 180-degree rotationGetWritingMode()to parse "rl-bt" stringsRotation Modes Supported
lr-tb: 0 degrees (left-right, top-bottom) - standard horizontal texttb-rl: 90 degrees (top-bottom, right-left) - vertical text, right-to-leftrl-bt: 180 degrees (right-left, bottom-top) - upside-down text [NEW]tb-lr: 270 degrees (top-bottom, left-right) - vertical text, left-to-rightTest Report
Created
TextRotationTest.rdldemonstrating all four rotation modes with visual examples.Original prompt
Fixes #134
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.