[cp-patches] Re: RFC: GDK backend for AbstractGraphics2D

Sven de Marothy sven at physto.se
Sun May 21 07:21:05 UTC 2006


Hey,
Here's a patch which might be of use..

I created a GtkImage.getBufferedImage() method which returns a
BufferedImage backed by the GtkImage. (Only works for the pixbuf
GtkImages at the moment though, so it's not terribly useful.)

Attached is a small demo too. Works on my machine.

/Sven


-------------- next part --------------
A non-text attachment was scrubbed...
Name: gtkimage.patch
Type: text/x-patch
Size: 5744 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20060521/77ca6448/gtkimage-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestGtk.java
Type: text/x-java
Size: 1006 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20060521/77ca6448/TestGtk-0001.java


More information about the Classpath-patches mailing list