Least painful way to rotate an image in perspective and render using GDI
Hi, I am overriding the paint event and drawing bitmap objects to the screen using GDI and Graphics.DrawImage. I would like to actually rotate the image back into the depth of the screen, i.e., the vector coming out of the screen rotated up and back so that the picture is "facing" upwards like in isometric view. (Sort of like how the orange checkerboard "X" in experts exchange at the top of the page is sort of facing to the right)
I'm hoping against hope for a .NET function or parameter to DrawImage. But I actually wouldn't mind doing the math myself to transform pixel by pixel -- if absolutely necessary. But I wouldn't know the fastest way to store the resultant arbitrary pixel data and render it to the screen. Building another bitmap (if possible? just throwing darts.) and calling DrawImage again seems slow.