|
-
Apr 2nd, 2002, 09:02 PM
#1
Thread Starter
New Member
BitBlt() Question
Okay, what makes BitBlt() so special when you have two picture boxes - one for a black background and another with a picture in it, and you want to put the picture onto the black background?
Couldn't you just use the background picture as a container to hold the picture instead of using BitBlt()?
What I mean is that I have a picture of a dragon hovering on a black, stary background with quite a bit of code using BitBlt, when all I really need to do is just pop the picture onto the background and have much fewer lines of code to make it hover.
Can someone please tell me what is so special about BitBlt() that would make it so prefered over just doing something with even few lines of code? Seems kind of inefficient...
-
Apr 2nd, 2002, 09:21 PM
#2
BitBlt is very versatile - plus your code will obscure the original image in the pic box. What if you have a pink backgound, then you wanna move something over from a black background?
-
Apr 3rd, 2002, 07:55 AM
#3
Also...
Also what you can do with Bitblt is use masks (i.e. you can transfer different shape pictures, not just rectangles), you can move part of a picture, and one of the best things is that you can copy what's on the screen, and play around with it 
Also, if you make your own function in a module, which uses Bitblt in the moct common way you are going to use it in your program, the coding decreases immensly.
-
Apr 3rd, 2002, 07:29 PM
#4
Frenzied Member
has anyone mentioned that bitblt is pretty fast?
Sanity is a full time job
Puh das war harter Stoff!
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
|