Hi Johan,
you need to do the rotation by yourself - pixel by pixel. If you only
need to rotate in 90 degree steps it would be no problem. You only
need to access the image data quick - for this a real good class
written by Roshan Khan (
http://blogs.msdn.com/windowsmobile/archive/
2008/04/15/faster-c.aspx). The discussion following on this is also
pretty interesting and gives some hints for doing some operations
faster. Everything else is simple sinus and cosinus mathematics - with
which you determine the new positon of each pixel. If you are
interested in a generic solution (e.g. every rotation) using the
FastBitmap, drop a line and I will post it. For 90 degree step
rotation you will find many examples on the net.
Regards,
Tom