Re: How can I draw a trasparent pixmap when drawable is a pixmap?
- From: Havoc Pennington <hp redhat com>
- To: rings <rings etang com>
- Cc: "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: Re: How can I draw a trasparent pixmap when drawable is a pixmap?
- Date: 19 Nov 2000 21:32:00 -0500
rings <rings etang com> writes:
I have a question about transparent pixmap.I have a big pixmap,now,I want to get this result.When I
press my mouse button,I draw a small pixmap on the big pixmap.In other words,my drawable is a pixmap. But
my difficult is that a small pixmap's size is 48x48 and it have white background color.I draw it on a big
pixmap,then I will find its white background color hide big pixmap.How can I chang it transparent?
Use a mask to draw the pixmap, so the background won't be drawn. I
think testgtk has examples in it.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]