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

Conversation

PurelyAndy
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)

PurelyAndy and others added 4 commits May 14, 2024 18:04
and the selected pixels now flip with the selection, although that has some weird behavior that still needs to be fixed.
@PurelyAndy
Copy link
Contributor Author

I have no idea what I'm doing. Pushing the unfinished changes I made months ago. Maybe someone else will be able to build off of my work in the future.

@cameronwhite
Copy link
Member

Thanks for the update! I'll close this but it'll be kept around for future reference.

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