PDA

Click to See Complete Forum and Search --> : bitblt


BoB
Nov 25th, 1999, 09:33 AM
how do i do that can someoen help me here im good at art just need to learn bitblt

Tonio169
Nov 28th, 1999, 11:31 AM
BoB

bitblt is declared as:

"Declare Function Bitblt.....................
(hSrc, xSrc, ySRc ,dxSrc, dySrc, hDst, dxDst, dyDst, Op) as Long"

WHERE:
hSrc - is the handle for the pic yer copying
xSrc - is where copying begins
ySrc
dxSrc - is where copying ends
dySrc
hDst - is the handle for the pic yer going 2
paint into.
xDst - is where the pic copied be placed
yDst
Op - is the raster operation constant to perform (SRCCOPY in this case)

Here's a simplified explnation

xSrc, ySrc
\
\
= --------------
| | |
| | |
dySrc | hSrc |
| | (source) |
| | |
| | |
= -------------- xDst,yDst
!!---dxSrc--!! \
\
= ---------------
| | |
| | |
dySrc | hSrc |
| |(Destination)| | | |
| | |
= --------------

get the picture? u can use api viewer for the declaration of bitblt and the value for SRCCOPY...


[This message has been edited by Tonio169 (edited 12-01-1999).]