I have an image of height = 4481 & width = 6033.
Which I have drawn on the canvas and added pan and pinch gestures which are working as expected. Now I want to rotate an image with two fingers by calculating the angle between fingers rotation.
I’m trying to rotate the image by 10 degrees on tap event for time being something like below:
This also not working as expected, it actually rotating SKSurface instead of my image which is on SKSurface.
I want to rotate my image (6033X4481) the size of an image is almost double than canvas surface.
Does anyone have working code sample related to this question?
Thanks in advance for your help!