[cp-patches] FYI: CairoGraphics2D clipping fix

Roman Kennke kennke at aicas.com
Fri Jun 16 10:29:18 UTC 2006

This fixes a problem with clipping for drawImage(). There used to be a
setClip() in drawImage() which replaces the current clip with something
computed in this method. However, it should really intersect the current
clip with the computed one. This fixes painting issues in Swing apps
like reported for Hades.

2006-06-16  Roman Kennke  <kennke at aicas.com>

        PR 28027
        * gnu/java/awt/peer/gtk/CairoGraphics2D.java
        (drawImage): Don't use setClip() but instead clipRect() to
        intersect the current clip with a new one.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-patch
Size: 1010 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20060616/34f0b038/patch.bin

More information about the Classpath-patches mailing list