When we rotate any object like Image then its x and y will also change according to the
roation angle.
I just want to know how we can calculate the outer rectangle x and y ( pointed with red
circle in the image ) while rotating the image. We have image width, height and
rotation angle ?
x – your x coordinate
height – height of your image
angle – rotation angle
Then you need (x – height * sin(angle))