Results 1 to 8 of 8

Thread: how does BitBlt work?

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2002
    Location
    UK
    Posts
    38

    Unhappy how does BitBlt work?

    just trying 2 figure it out

  2. #2
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    It takes the bits of the pixels in the source and destination and uses the form of boolean algebra you specify in your raster operation field. It, of course, works very quickly.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  3. #3

    Thread Starter
    Member
    Join Date
    Mar 2002
    Location
    UK
    Posts
    38
    sorry i didn't say clearly
    i meant how can we use it i.e. what's the code for it and what does each bit of the code mean.

  4. #4
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    *g*

    What a good question.. did you ever think about using the Search function of this forum? I'm sure BitBlt is the most-discussed subject besides GetTickCount in thw whole G&G !

    well however, see my website http://fox.acky.net/vb/english/coding/tutorial/

  5. #5
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

  6. #6
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088

    Red face

    Again, Hack, all constants (SRCCOPY, SRCAND, aso.) are pre-defined in VB.. vbSrcCopy, vbSrcAnd, aso.

  7. #7
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    My own bitblt tutorial (it hasnt been updated for a year, but it works!)
    http://vbden.tripod.com/articles/invmask.htm

    Also covers a technique called "inverse masking".
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  8. #8
    Megatron
    Guest
    See this link.

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