Date: Wed, 21 Oct 1998 04:25:05 +0100 (BST) From: George Foot To: djgpp AT delorie DOT com Subject: Re: Printing text onto a bitmap. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Tue, 20 Oct 1998 DoctorXV AT aol DOT com wrote: > Hi! I use Allegro and I have a data file to load. I load the data file, put a > picture onto the screen, then I print some text across the bitmap. The problem > is, the text doesn't have a transparent background. It completely ruins the > picture. How do I get the text to have a transparent background? I use the > function textout() Use the `text_mode' function: text_mode (-1); textout (...); The parameter is the desired background colour; passing -1 results in a transparent background. The default is 0. -- george DOT foot AT merton DOT oxford DOT ac DOT uk xu do tavla fo la lojban -- http://xiron.pc.helsinki.fi/lojban/lojban.html