www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/14/07:15:33

From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: off topics Poscript question
Date: 14 Jan 1998 11:14:03 GMT
Organization: The National Capital FreeNet
Lines: 19
Message-ID: <69i6lr$8pe@freenet-news.carleton.ca>
References: <199801131211 DOT NAA01591 AT pimprenelle DOT lps DOT ens DOT fr>
Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
NNTP-Posting-Host: freenet6.carleton.ca
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Vincent Croquette (vincent AT lps DOT ens DOT fr) writes:
> 	Does anyone know how to make one color in a 
> 	bitmat image become transparent for was is behind

In Allegro:
  In 8 bit modes:
    Use color 0, and use a method of blitting or whatever that does
    transparency (i.e., draw_sprite instead of blit).
  In other modes:
    Use the color red 255, green 0, blue 255, otherwise the same method.
In GRX:
  I haven't the foggiest.

--
    .*.  Friendship, companionship, love, and having fun are the reasons for
 -()  <  life. All else; sex, money, fame, etc.; are just to get/express these.
    `*'  Send any and all mail with attachments to the hotmail address please.
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca pgd73 AT hotmail DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019