Copying a Rotated bitmap

Nov 19, 2012 at 4:13 PM

I’m trying to rotate a rectangular bitmap and then copy (blit) it onto another bitmap. So, I can rotate the image easily enough using RotateFree, but I then find the areas where the rectangle used to be aren’t transparent. I guess I could try and work out the exact coordinates of the rotated rectangle and use this as the SourceRect in Blit, but this sounds overly complicated?

Has anyone done anything similar, or know the best way to approach this?

Thanks