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

Disable rotation around image center? #4

Open
gerchicov-bp opened this issue Sep 22, 2020 · 0 comments
Open

Disable rotation around image center? #4

gerchicov-bp opened this issue Sep 22, 2020 · 0 comments

Comments

@gerchicov-bp
Copy link

How your control looks like by default:
https://i.pinimg.com/564x/c5/58/3c/c5583c9d4cc8498b958c19303b685706.jpg
What I want to achieve:
https://i.pinimg.com/564x/0c/b6/29/0cb629b7a7210cc0676e8d40fce20ed0.jpg
The images are not rotated around their centers.
With matrix transform it looks like as multiply on matrix which performs these steps:
1)moves an image to (0, 0)
2)rotates this image to the necessary angle
3)moves this image back to its position
But how to achieve this with this control?

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

1 participant