The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: Hjortur on November 08, 2006, 04:34:48 PM

Title: Rotate bitmap
Post by: Hjortur on November 08, 2006, 04:34:48 PM
I was wondering if you do know any usefull api call, that can rotate a bitmap x degrees ?
or mabey just some trick I could use instead.

I did have a look at the msdni help and found nothing of use.

All I want is to display a bitmap, user gives me some number x and i rotate the bitmap x°.
Title: Re: Rotate bitmap
Post by: ragdog on November 08, 2006, 05:29:33 PM
hi

you mean this ?

is from comrade


[attachment deleted by admin]
Title: Re: Rotate bitmap
Post by: raneti on November 09, 2006, 08:51:15 AM
Programming Windows by Charles Petzold:

QuoteWindows NT also includes another BitBlt-like function not supported under Windows 98. This is the PlgBlt ("parallelogram blt") function that lets you rotate or skew bitmap images.

http://www.google.ro/search?hl=en&q=rotate+bitmap&btnG=Search
Title: Re: Rotate bitmap
Post by: Hjortur on November 09, 2006, 12:04:10 PM
Thank you I think I got it now.  The keygen code was somewhat criptic but understood it after re-reading about the fpu instructions.
Thank you both.

And sorry for my bad english