Jump to content
  • Advertisement


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


How to draw image on DC without transparent color?

This topic is 5505 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

Guest Anonymous Poster
if you don''t want to use masks then SelectClipRgn will work if you have a region defined that only contains the non-transparent pixels. there are plenty of net functions available to make a region from a bitmap with a "transparent" color. just google for BitmapToRegion or BitmapToRgn or something like that.

you can also use TransparentBlt or AlphaBlend on 2K and XP. NT, 2K and XP also have the MaskBlt and PlgBlt functions (but they use masks.)

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!