Results 1 to 5 of 5

Thread: Does BitBlt do rotation?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2000
    Posts
    22
    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?



    [Edited by Philosopher on 04-08-2000 at 08:35 AM]
    This sentence is a lie.

  2. #2
    Junior Member
    Join Date
    Apr 2000
    Posts
    24

    Ahem...

    You need to make an image list and make an image for each rotation.

  3. #3
    Hyperactive Member
    Join Date
    Jan 2000
    Posts
    355

    er..

    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
    buzzwords are the language of fools

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Apr 2000
    Posts
    22

    You've missed the point

    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.

    This sentence is a lie.

  5. #5
    Hyperactive Member
    Join Date
    Jan 2000
    Posts
    355

    no i havent

    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.
    buzzwords are the language of fools

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width