RE: Bitmaps



Is there anyway I can draw the foreground and background, so should I draw a
rectangle with the background first, set clip mask, then draw foreground?

-Michael

-----Original Message-----
From: Havoc Pennington [mailto:hp redhat com]
Sent: Monday, February 19, 2001 12:40 PM
To: Michael Mitton
Cc: Gtk-App-Devel-List (E-mail)
Subject: Re: Bitmaps



Michael Mitton <Michael Mitton millersville edu> writes: 
Ok, my question.  How do I draw a bitmap?  Every time I draw one, I get a
strange error which I've tracked down to color depth problems.  I've moved
over to a pixmap with the same color depth as the display and it works,
however, I cannot change the color of the font anymore.  Any ideas?


To draw a bitmap, set it as a clip mask on a GC, then draw a
rectangle.

Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]