just trying 2 figure it out
Printable View
just trying 2 figure it out
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.
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.
*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 :D http://fox.acky.net/vb/english/coding/tutorial/
Again, Hack, all constants (SRCCOPY, SRCAND, aso.) are pre-defined in VB.. vbSrcCopy, vbSrcAnd, aso.
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".
See this link.