pixmap disappers
- From: matsu arch comp kyutech ac jp (Takashi Matsuda)
- To: gtk-list redhat com
- Subject: pixmap disappers
- Date: Sat, 6 Dec 1997 23:35:38 +0900 (JST)
With gtk+-971201, I can not display pixmap.
My environment is
SunOS arch 5.5.1 Generic_103640-05 sun4u sparc SUNW,Ultra-1
X11R6.3
As Patrice Fortier mentioned in gtk-fortier-971112-1.patch.README,
white pixel is 0 and black pixel is 1.
I restored gdkpixmap.c to the state that above patch is not applied,
and pixmaps were displayed.
It seems that clip mask is not interpreted as usual pixmap, just mask pattern.
In the gimp-0.99.15/app/interface.c (create_pixmap ()), I can see following
code.
*mask = gdk_pixmap_new (parent, width, height, 1);
gc = gdk_gc_new (*mask);
gdk_draw_rectangle (*mask, gc, TRUE, 0, 0, -1, -1);
tmp_color.pixel = 1;
gdk_gc_set_foreground (gc, &tmp_color);
-Takashi Matsuda
matsu@arch.comp.kyutech.ac.jp
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]