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

Angle and co-ordinate problems #58

Open
rsands2801 opened this issue Nov 3, 2013 · 2 comments
Open

Angle and co-ordinate problems #58

rsands2801 opened this issue Nov 3, 2013 · 2 comments

Comments

@rsands2801
Copy link

Have a bit of a problem with rotate. If you set angle 90 the co-ordinates of imagetocontainer is not correct. it is still reading the co-ordinates of the image before the rotate. If you go to 270....it gets worse. The co-ordinates are very far out.

Any ideas? I assume its not rotating on center point and hence throws them off?

@rsands2801
Copy link
Author

If i set angle 0 and position image top left its 0 and 0.

i can see problem...it is always taking co-ordinates of image to container from top left corner of image. if we angle it to 90...the co-ordinates what was the top left is now top right...so its getting co-ordinates from thee top left BEFORE angle was set.

If angle is set it should really get co-ordinates from the new top left?

@can3p
Copy link
Collaborator

can3p commented Nov 19, 2013

I'm not sure that it should be the other way. Current way works in cases when you need to place something on the image (cover some area) and to make sure that this thing will be on the same place with any angle.

Why do you need the plugin the way you describe?

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