I am trying to do an application in which I want to achieve the functionality of rotating and resizing the Graphics Item which is basically a Rectangle drawn using paint.
I have used following code to achieve this functionality.
This code is not working correctly when I rotate it and then resize it and then again try to rotate then the centre point will be jumped to another point.
Find my test code attached herewith.
Can anyone tell me what is going wrong in my above code and what I should change to make my custom graphics item resizeable & rotatable.
Bookmarks