| delorie.com/archives/browse.cgi | search |
| From: | Damian Yerrick <MYNAMEISd_yerrick AT hotmail DOT comNO2CANNEDHAM> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Allegro - masked_blit(); |
| Organization: | Pin Eight Software <http://pineight.8m.com/> |
| Message-ID: | <u7le8sc4s8s1hvf2r8pkmjoscm0ra0hd1p@4ax.com> |
| References: | <867egt$dpf$1 AT barcode DOT tesco DOT net> |
| X-Newsreader: | Forte Agent 1.7/32.534 |
| MIME-Version: | 1.0 |
| Lines: | 19 |
| X-Trace: | /wObnYkzbpMbhAw5jRpbVeJVL54iODeZCAfQt8ShnNug3LhXpenf385VFXSC2BGKwEJjt4ByrbOD!tP59oUSdS+VXGXl2UfcYQ1Aks/+gX2U4OsP4j/2Bu8Ayfmf55RnSsAu1r6t0t4DwfD/9R3n4jQ== |
| 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: | Thu, 20 Jan 2000 18:37:26 GMT |
| Distribution: | world |
| Date: | Thu, 20 Jan 2000 18:37:26 GMT |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
"Paul Bibbings" <paul DOT bibbings AT tesco DOT net> wrote in message <867egt$dpf$1 AT barcode DOT tesco DOT net>... > What I'm trying to do is simple enough, but I'm stuck with how to set >transparent pixels. My program simply draws a chessboard to the screen, then >accesses a single bitmap showing the chess pieces (black on a white >background). The question is, what do I need to do so that the masked_blit() >interprets the background as transparent, hence allowing the board to be >seen behind the pieces. Get a paint program (NeoPaint, GIMP, etc.) that lets you see the indexed palette (no MS Paint). Then fill the space between pieces with color 0. -- Damian Yerrick http://yerricde.tripod.com/ View full sig at http://www.rose-hulman.edu/~yerricde/sig.html Comment on story ideas at http://home1.gte.net/frodo/quickjot.html And yes, I have set my attribute line to emulate Outhouse Express.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |