Results 1 to 2 of 2

Thread: bitblt

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 1999
    Posts
    204

    Post

    how do i do that can someoen help me here im good at art just need to learn bitblt

  2. #2
    Lively Member
    Join Date
    Jul 1999
    Posts
    99

    Post

    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).]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width