|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Rotating an image and drawing using BitBlt?Hi,
I am currently working on a snooker game with simple graphics using the BitBlt function. How could I rotate an image such as the cue and display it using BitBlt? I read "RotBlt" somewhere but am I right in assuming that it is C++ only? Thanks for any help Matt > I am currently working on a snooker game with simple graphics using the You're probably thinking of the PlgBlt() API call, here's how to use it in VB:> BitBlt function. How could I rotate an image such as the cue and display it > using BitBlt? > > I read "RotBlt" somewhere but am I right in assuming that it is C++ only? http://groups.google.co.uk/group/microsoft.public.vb.winapi/msg/1ed1fe9ecd60e4fa Your other option would be to use a dedicated graphics API such as DirectX which would allow you to perform the same operation but far more efficiently using hardware acceleration. Hope this helps, Mike - Microsoft Visual Basic MVP - E-Mail: ED***@mvps.org WWW: Http://EDais.mvps.org/
The Elements of Style revisited.
Intergating Multiple VB6.0 Projects into one: Project Grouping Parsing UNIX text files How to access related documents in VB through source code? Is this possible ? Please Explain! Lost_Focus event of controls doesn't fire Order of forms MSDN Library on network location Global (Public) variables |
|||||||||||||||||||||||