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

Free Transform tool #69

Open
olwethumlimi opened this issue Sep 16, 2024 · 3 comments
Open

Free Transform tool #69

olwethumlimi opened this issue Sep 16, 2024 · 3 comments

Comments

@olwethumlimi
Copy link

Is there anyway the center can be controlled rather than manipulating it in the code . Like
images (2)

@Fuzzyma
Copy link
Member

Fuzzyma commented Sep 16, 2024

What du you mean by that? Do you want to move the shape around? Do you want to scale around the center?

@olwethumlimi
Copy link
Author

olwethumlimi commented Sep 16, 2024

I mean allow to drag the red dot as shown and move it around , as a point of transform origin.
which means, when rotating, it'll rotate around that point.
image

@Fuzzyma
Copy link
Member

Fuzzyma commented Sep 16, 2024

No, this is not implemented. I am 70% certain it could work with the current code.
You just need a handle and adapt the origin depending on the handle position when resizing / rotating.
Would you be open to create a PR for implementation?

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

No branches or pull requests

2 participants