Originally posted by: Lisa Nowalk
Using function 3 you need to use the following command to free the memory used by the rotated bitmap that is returned from the function:
::GlobalFree(rotatedBitmapHandle);
If you don't add this you will run out of memory quickly doing repetitive rotations.
ReplyOriginally posted by: G.Gopi
Hello friends,
any one help me how to rotate object like Rectangle without using SetWorldTrasform() method because it will not work in window 95/98 ... Is there any alternate for this method....
according my idea we have to rotate the axis so that with same fuctionality we can achieve the objects rotated any how we can fine the new coorinates of rotated objects
.......if any body have idea of how to rotate object or
even how to rotate axis share idea with me
like i will call pDC->Rectangle() before rotation and after rotation but i should get the rotated rectangle after rotation
bye
G.Gopi
Originally posted by: Tarun
Sir,
In my application I'm using your code. To my understanding, every time when I rotate the image, it is taken from the file. My problem was to start the rotation from the point where the last bitmap stopped. For this I made a temporary bitmap( and also saved it to file ). This solved the above stated problem, but the rotation became slow and more over the image distortion also occurred. How to eliminate this distortion ??
Plz. help
Tarun
Reply
Originally posted by: pabitra
Sir,
I have gone through your article "Rotation of Bitmap Image". But I could not understood the code fully.
If I want to rotate a bitmap about an arbitary point.
Please help me to implement the above stuff.
Best Regards,
Pabitra
Originally posted by: Mike
Help me with a working example to the rotate functions.
I can't get this work. I don't know to handle HBITMAP, I
use CBitmap.
greetings
ReplyOriginally posted by: Alfredo Castro
How do I need to change if I want to use GetRotatedBitmapNT if I use Windows 2000?
Thanks a lot
I tested in Windows NT, It is great. In windows 2000 all images appears in black
Regards
ReplyOriginally posted by: Ken Van Cleave
I have used these methods but have found that the Getpixel function does not work when used on a 3.5" x 2.75" image scanned in with anything higher than 1200 DPI.
The x and y coordinates used are well within the width and height of the image. Is there any other way to get the pixel color some other way?
Reply
Originally posted by: David Chauca
I wonder if anybody know how to simulate flipping a card.
What I mean is, for example if I have an image and I click on it, I would like it to flip and change into another image. I don't just want it to change, I want it to looka like it's turning. Does anyone know how to do this or if you think you know what I mean but are not sure please answer...
Thank you!
Dav�d
ReplyOriginally posted by: Tim Guo
Dear Sirs;
I need to move a bitmap in the program. Is any one can advice me how to move a mitmap in the client area when mouse left key is downed and provide a code to me.
Thanks;
Tim
Originally posted by: Pat
I am trying to make a program in VB 6 that rotates a bitmap according to where the mouse is. Does anyone know how do rotate the bitmap with API calls, i found some code that kinda works but when it is not a 90 degree increment it screws up. Look at the link to see the code I used, http://support.microsoft.com/support/kb/articles/q186/2/60.asp?FR=0 i modified the angle to rotate by and it screwed up. I think it has to do with the lenght and the width changing when the image is rotated but I am not sure.
Reply