|
-
Mar 24th, 2000, 07:05 PM
#1
Frenzied Member
Sorry, I still haven't written a bitblt Example, I'm surprised you haven't seen bitblt before, How much do you know about DC's etc
this is what all the bit's of BitBlt do, remember all measurements are in pixels.
hDestDC as long the DC handle of the window you want to copy from
x, the x coord of the top left corner of the place you want to paste the image to
y, the y coord of the top left corner of the place you want to paste the image to
nWidth the width of the image you are pasting
nHeight the height of the image you are pasting
hSrcDC the handle of the DC you are pasting from
xSrc, the xcoord of the top left corner iof the part of the image you want to capture
ySrc, the ycoord of the top left corner iof the part of the image you want to capture
dwROP the Raster Operation you want to perform,
Rater Operations are bitwise operations on the long colour values in the source and destination DCs, srcCopy wil just paste the image onto the destination as you would expect.
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
|