[cp-patches] FYI: VolatileImageGraphics fixlet

Roman Kennke roman at kennke.org
Sat Jun 10 14:07:23 UTC 2006


We need to clipRect() and not setClip() when creating a child graphics.
Otherwise we loose an already set clip.

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

        * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
        (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
        instead of setClip(), so that an already present clip is
intersected
        and not resetted.

/Roman

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


More information about the Classpath-patches mailing list