rotate a bitmap image

Started by
2 comments, last by kuphryn 18 years, 9 months ago
hello guys, i just want to knw if any of you guys got any idea on how to rotate a bitmap image in GDI. I loaded the bitmap from HBITMAP and store it in an object. how can i rotate the image in GDI? thanks
Advertisement
if you can drop 9x support you can use SetgraphicsMode and XForms.

Cheers
Chris
CheersChris
I think I've heard before that PlgBlt() being used to rotate images. I've never tried it myself tough.

If, however, you want to combine rotation with another transformation, there's a good chance you'll need to roll your own routine.
Interesting. Check out GetPixel() and SetPixel().

Kuphryn

This topic is closed to new replies.

Advertisement