classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] GdkGraphics2D peer fix


From: Sven de Marothy
Subject: [cp-patches] GdkGraphics2D peer fix
Date: Fri, 26 Nov 2004 15:08:43 +0100

This fixes a bug in the Graphic2D peer. The drawPixels method which
calls cairo expects 32-bit ARGB data, however with 32-bit RGB data,
the alpha channels was left as zero, causing the image to be drawn fully
transparent. (i.e. not at all.)

2004-11-26  Sven de Marothy  <address@hidden>

        * gnu/java/awt/peer/gtk/GdkGraphics2D.java
        (drawRaster): Set alpha component to opaque if image has no alpha





reply via email to

[Prev in Thread] Current Thread [Next in Thread]