[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] RFC: Naive GdkGraphics2D.copyArea() implementation
From: |
Mark Wielaard |
Subject: |
Re: [cp-patches] RFC: Naive GdkGraphics2D.copyArea() implementation |
Date: |
Sun, 30 Oct 2005 14:48:26 +0100 |
Hi,
On Sat, 2005-10-01 at 23:40 +0200, Mark Wielaard wrote:
> Here is a somewhat naive implementation of GdkGraphics2D.copyArea() that
> Wolfgang and I made up during DevJam to get Jump started.
>
> 2005-10-01 Mark Wielaard <address@hidden>
>
> * gnu/java/awt/peer/gtk/GdkGraphics2D.java
> (GdkGraphics2D(GdkGraphics2D,int, int, int,int)): New constructor.
> (create(int,int,int,int)): Use new constructor.
> (copyArea): Implement through create() and gdkDrawDrawable().
>
> It doesn't really work correctly in all cases since gdkDrawDrawable()
> really wants to have a GdkGraphics2D with a backing store. But at least
> it makes some things work better (although sometimes things look garbled
> when gdkDrawDrawable copies garbage from a GdkGraphics without backing
> store).
I committed this since there won't be any real fixex to GdkGraphis2D for
the next release. This at least helps in a few cases.
Cheers,
Mark
signature.asc
Description: This is a digitally signed message part