delorie.com/archives/browse.cgi | search |
From: | Damian Yerrick <DONT DOT YOU DOT DAREd_yerrick AT hotmail DOT comSEND DOT SPAM> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Masking (?) |
Organization: | Pin Eight Software http://pineight.8m.com/ |
Message-ID: | <mu1lcsocumg2titnlnfeha1nrbso7578q5@4ax.com> |
References: | <8abq7q$p8u$1 AT lure DOT pipex DOT net> |
X-Newsreader: | Forte Agent 1.7/32.534 |
MIME-Version: | 1.0 |
Lines: | 24 |
X-Trace: | /K0ZEBQwAD51xfBAQjg6azJ837I0lUGIIdKR/P0u1vhbI1R7LAEqOKIB3R03Lfgq5oxaNK1kHF2g!yjhPf1ucZaiJMZD86aVNZcn4saSvvQCaYawQgEDhYbj/jPUx8NdBXOgH8zmVqb6QwkfoKO0NlJ8z!5uS1LaM= |
X-Complaints-To: | abuse AT gte DOT net |
X-Abuse-Info: | Please be sure to forward a copy of ALL headers |
X-Abuse-Info: | Otherwise we will be unable to process your complaint properly |
NNTP-Posting-Date: | Sat, 11 Mar 2000 17:55:15 GMT |
Distribution: | world |
Date: | Sat, 11 Mar 2000 17:55:15 GMT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
On Fri, 10 Mar 2000 21:44:47 -0000, "DeepBlack \(Murray Evans\)" <deepblack AT dial DOT pipex DOT com> wrote: >I have a 24-bit bitmap in a datafile, and want to place it onto the screen. >There are parts of the bitmap which I would like to not be seen (i.e, be the >same colour as the background that the bitmap is placed over.) How do I do >this (with allegro preferrably)? >the allegro docs talk about masking, which I think is what I want. can that >be done in software, or soes it have to be a hardware thing? Simply make the transparent parts hot pink (r=255 g=0 b=255) and use masked_blit() instead of blit() For more Allegro help, try the mailing list: http://www.talula.demon.co.uk/allegro/maillist.html -- Damian Yerrick http://yerricde.tripod.com/ Comment on story ideas: http://home1.gte.net/frodo/quickjot.html AOL is sucks! Find out why: http://anti-aol.org/faqs/aas/ View full sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your .sig to prevent the spread of .sig viruses. http://www.mcafee.com/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |