Is there a way to change the agle an image is drawn using BitBlt or a simular function? Also I'm wanting to do this without using DirectX.
Printable View
Is there a way to change the agle an image is drawn using BitBlt or a simular function? Also I'm wanting to do this without using DirectX.
I don't think so. The pixels should be rotated using very fast algorithms and in a memory DC or matrix.
There is an API called PlgBlt or something similar, someone said that it can rotate, I'm not sure. You might want to look around for it.
PlgBlt() is not supported in Win9x/Me/CE, only NT/2K and probably also XP.
That's the bad part. You could, I suppose, use Cos() and Sin(), but these create nasty rotation holes.
well there have been a lot of posts in this forum before answering that question. If you want to do it without DX I think (can't be sure though, you should read the old threads) the code by David Brebner (www.ur.co.nz) does the job quite fast.
And here is the page.
well isn't that a great service here :)?
Exactly what I needed! Thanks guys.
Yea, it was all thr0p :)
MisanThrop!!! please ;)