Blitting with transparency
I am painting one dc on another but I would like all pixels of a color I choose to not be painted. How should I go about this?
"Stop trying to hit me and hit me!"
If you don't care about Win95, use TransparentBlt.
It's marked as Win98 and later and Win2k and later compatible
Edit: Scratch that.. it has a memory leak on Win98.. forgot about it. http://support.microsoft.com/default.aspx?scid=kb;[LN];79212. It has an example to blit transparent with BitBlt
[edited by - Maega on January 6, 2004 2:13:39 AM]
It's marked as Win98 and later and Win2k and later compatible
Edit: Scratch that.. it has a memory leak on Win98.. forgot about it. http://support.microsoft.com/default.aspx?scid=kb;[LN];79212. It has an example to blit transparent with BitBlt
[edited by - Maega on January 6, 2004 2:13:39 AM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement