|
-
Jun 2nd, 2001, 07:29 AM
#1
Thread Starter
Addicted Member
Transparent Blitting
Hiyas,
I know the standard method of transparent blitting with BitBlt... However, in this case, I cannot have a 2nd black and white image mask.
I have a BMP, and I'm using the colour purple for areas I want transparent...
How can I blit with this image?
Thanks,
-Git
-
Jun 2nd, 2001, 11:08 AM
#2
Good Ol' Platypus
TransparentBlt - It's not supported by Msoft, memory leaks GALORE! Stuff like that, but if it's your only option... Well, I believe that somewhere there is code to let you blit tranparently (3 steps?) without a mask.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Jun 2nd, 2001, 01:25 PM
#3
Member
Or you could generate a mask at runtime
Or use directdraw and a colorkey
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|