PDA

Click to See Complete Forum and Search --> : Does BitBlt do rotation?


Philosopher
Apr 7th, 2000, 02:59 AM
I have a BitBlt 'thing' that just inverts (vbSrcInvert). I would like to invert the image at an angle (say 15 degrees). (This is because it is a car and I would like it to turn gradually ). Is there a function or API call or SOMETHING that could do this. The faster it can do it the better.

Thank you all.

I don't know why I'm thanking you. Most of the 'views' are mine, and I've got no replies from any of you whimps.

A BIT TOO HARD, HEY?

:mad:

[Edited by Philosopher on 04-08-2000 at 08:35 AM]

Baron_Fel
Apr 8th, 2000, 09:50 PM
You need to make an image list and make an image for each rotation.

KENNNY
Apr 9th, 2000, 01:33 AM
IMAGELIST??

er.. active X control + games = bad - you want to have a bitmap with each image in it, so you can read from different parts of the bitmap DC when you rotate.

BTW, you can do rotation using API, but it's stupidly slow. The only other way is using Direct3d IM - hard :(

Philosopher
Apr 9th, 2000, 06:57 PM
The point is I DON'T want to have to redraw every single picture myself at every possible angle. I want some code that can do it for me at run-time, when I want, where I want.

;)

KENNNY
Apr 10th, 2000, 01:37 AM
did u actually read my post?
"you can do rotation using API"
but it's too slow to be worth it. so either learn ASM and write a func urself or use D3D.
thank you. please read.