[cp-patches] FYI: CairoGraphics clipping fix

2007-02-26 Thread Francis Kung
Hi, This patch fixes a clipping problem when drawing images in CairoGraphics2D, if your clip region is smaller than the image. Cheers, Francis 2007-02-26 Francis Kung [EMAIL PROTECTED] * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawCairoSurface): Do not reset clip.

[cp-patches] FYI: CairoGraphics clipping fix

2006-06-07 Thread Roman Kennke
The clip(Shape) method wasn't implemented correctly. It simply called setClip(), but it really should intersect the current clip with the specified shape. I adapted this method from AbstractGraphics2D. This fixes all remaining Swing painting problems (at least for me). 2006-06-07 Roman Kennke