PDA

Click to See Complete Forum and Search --> : What is the diffrence?


Arie
Aug 10th, 2001, 12:59 AM
Hi, Guys!

I have a little question:
What is the diffrence between vbSrcInvert and vbSrcPaint?

Thank you,
Arie. (mag.up.co.il)

Jotaf98
Aug 10th, 2001, 06:51 AM
vbSrcPaint uses an Or operator. The result is a weird combination of the two images that looks a lot like Additive Blend (darker = more transparent).

vbSrcInvert uses a Xor operator. It seems to work like vbSrcPaint except that it inverts the image before blting it.

Hope that clears everything :)

Arie
Aug 10th, 2001, 11:58 PM
Ok...
What should I use? What's best?

Jotaf98
Aug 12th, 2001, 02:38 PM
If you just want to draw an image, use vbSrcCopy. If you want transparent areas, that's a little more complex, just reply here again. If you want to use a cheap special effect :) use vbSrcPaint ;)