I am new to svg. I have an image that I want to rotate. I have rotated the image using rotation transform and giving it an angle and coordinates of the point around which I want to rotate the image.
My requirement is when I drag the Image after rotation, I want to check that top-left corner is within bounding area. This works before rotate. But after rotation, it seems that after applying this transform to the Image, my coordinate system is also rotated in the same angle. This is causing some problem for me.
Is there any way to rotate the image without rotating the original coordinate system? Also x and y attribute of image is not getting updated if I rotate image .