Rotating bitmap and keeping track of location on new image C#
If I rotate a bitmap and want to keep track of a point on the original image as translated on the new image, how would I achieve this. I essentially want to know where the top right corner of the original image is on the new rotated and expanded image, so I can draw to a graphics surface in the correct location. I’m using the following code to rotate the bitmap (originally taken from another post).