You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
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.
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?
The text was updated successfully, but these errors were encountered: