News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Bitmap Rotation functions for PowerBASIC (for Windows)

Started by Zukkero, June 13, 2025, 11:51:21 PM

Previous topic - Next topic

Zukkero

I made two functions for bitmap rotation of images to avoid using the PlgBlt API function. My functions work on Windows 95. BMP_ROTATE changes quite well, but there is still room for optimization. BMP_ROTATE_3PHASE slows down and rotates the image I don't like much (this function is only left because it would be a shame to remove it).
UPD. Sorry for the rush, I read that I should use only ASM and pure API after the post was published. There is not a single line of ASM code here.

NoCforMe

Yes, not many of us speak BASIC here. Please post some assembly-language code.
32-bit code and Windows 7 foreva!

jj2007

Quote from: NoCforMe on June 14, 2025, 04:43:21 AMnot many of us speak BASIC here

Some do, and Hutch, the founder of this forum, was a PowerBasic fan.

However, posting small routines will trigger more and better reactions. PowerBasic is ok in this sub-forum, but keep it very, very simple and add lots of comments. We are good at doubling the speed of an innermost loop, but we insist to do it in Assembly ;-)