Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handles follow moved selection and resize on rotate, and... #802

Open
wants to merge 4 commits into
base: feature/resize-selected-pixels
Choose a base branch
from

Conversation

NoSkillPureAndy
Copy link
Contributor

constraining with shift preserves aspect ratio.

 constraining with shift preserves aspect ratio.
@cameronwhite
Copy link
Member

It's been a while since I looked at this branch so I'll need to refresh my memory on what my thoughts were for future changes :)
I think I wanted to use Cairo.Matrix.GetComponents() to decompose the transform into its rotation / scale components and then rotate the handle along with the rotation

One other note is that the selection tools also use the rectangle handle, so having the ability to constrain to a square selection is still needed for the current behaviour (but probably can share most of the code since the aspect ratio is then just 1:1)

and the selected pixels now flip with the selection, although that has some weird behavior that still needs to be fixed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants