Mail Archives: djgpp/1998/10/20/23:27:50
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
- Raw text -