Archived

This topic is now archived and is closed to further replies.

Blitting with transparency

This topic is 5095 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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!"

Share this post


Link to post
Share on other sites
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]

Share this post


Link to post
Share on other sites