From: "Andrew Green" Newsgroups: comp.os.msdos.djgpp References: <7c1sru$2a8i$1 AT news DOT gate DOT net> Subject: Re: ALLEGRO: Using masks ... Lines: 23 X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Message-ID: Date: Tue, 09 Mar 1999 01:44:18 GMT NNTP-Posting-Host: 207.161.106.124 X-Trace: typhoon.mbnet.mb.ca 920943858 207.161.106.124 (Mon, 08 Mar 1999 19:44:18 CDT) NNTP-Posting-Date: Mon, 08 Mar 1999 19:44:18 CDT Organization: MBnet Networking Inc. To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I think I know what your asking but if not oh well. Here's my idea anyway instead of having 255,0,255 as trans color you could use black(0,0,0). You could then draw to black with an XOR and to the white with and AND. It's just an idea and I'm not sure if AND and XOR blits or drawsprites exist in allegro(and dont feel like looking:) Matt Murrian wrote in message <7c1sru$2a8i$1 AT news DOT gate DOT net>... >Hi, >What I want is this ... I have 3 images ... 2 are normal images and 1 is a >mask. The mask contains 255,0,255 (transparent color) on one side, and white >on the other. I want to draw image 1 over the transparent color and image 2 >over the white, that's not what I technically need to do, I know that, but >it's the easiest way to explain it. If anyone has any ideas, it would be >appreciated very much. Please e-mail response to mmurrian AT gate DOT net >Thanks, >Matt > >