Re: Image/Pixbuf: How to set colour "behind" (semi)-transparent data?
- From: Ole Laursen <olau hardworking dk>
- To: gtkmm-list gnome org
- Subject: Re: Image/Pixbuf: How to set colour "behind" (semi)-transparent data?
- Date: Thu, 03 Mar 2005 00:31:04 +0100
Toralf Lund <toralf procaptura com> writes:
> When drawing a pixbuf which has an alpha channel, how do I set the
> background colour? I'm talking about the colour that will "shine
> through" fully or partially where alpha value<255. (Seems like a
> grayish colour is the default; I actually want black instead.)
Hm, I think I've done this with both Hardware Monitor and Monster
Masher (source available from my home page). IIRC, there is a
modify_bg() method inherited from Gtk::Widget.
--
Ole Laursen
http://www.cs.aau.dk/~olau/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]