|
-
Jan 8th, 2002, 08:36 PM
#1
Thread Starter
Junior Member
Use.....
You can use BitBlt to make the sprite different sizes
-
Jan 9th, 2002, 09:42 AM
#2
PowerPoster
THanks Mman
Didn't realize bitblt would adjust sprite and size it proportionatly,
rather than clipping it.
I use bitblt with my sprite (no images boxes) so will give it a try.
-
Jan 9th, 2002, 03:21 PM
#3
It would probably be better to use StretchBlt .
-
Jan 9th, 2002, 03:43 PM
#4
PowerPoster
Red Rush In
Thanks - since prev reply came to that conclusion. I handle
the sprite in memory using CompatibleBitMap and CompatabileDC.
Do you know if StretchBlt can used to copy the sprite (overlay) onto itself or do I need a separate area in memory?
-
Jan 9th, 2002, 05:01 PM
#5
You can use it the same way you use BitBlt. Are you wanting to load the sprite into memory from a file fisrt? I'm not sure what you are asking.
-
Jan 9th, 2002, 06:29 PM
#6
PowerPoster
Let me rephrase:
Both BitBlt and StretchBlt take a source and destination.
Do you know whether the source and destination can be the same location?
If so, then I can just change the size of my sprite and stretchblt
it to the extact same location.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|