This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug AWT/17060] New: AWT: problems with drawImage and transparent images
- From: "hendrich at informatik dot uni-hamburg dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Aug 2004 08:59:38 -0000
- Subject: [Bug AWT/17060] New: AWT: problems with drawImage and transparent images
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The attached testcase demonstrates incorrect handling of transparent
images in AWT/GtK.
1. The upper button demonstrates that loading and drawing a transparent image
almost works. However, while the background color is respected, the red
line should not be overdrawn by the image.
2. In the second button, libgcj incorrectly uses the (default Gtk)
background color instead of the expected background.
Download testcase from
tams-www.informatik.uni-hamburg.de/applets/jfig/archive/GcjTransparentImageButton.java
--
Summary: AWT: problems with drawImage and transparent images
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: AWT
AssignedTo: fitzsim at redhat dot com
ReportedBy: hendrich at informatik dot uni-hamburg dot de
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17060