[kaffe] [patch] add Graphics.getClipBounds(Rectangle)

Benja Fallenstein b.fallenstein at gmx.de
Wed Jun 30 15:21:15 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

the attached patch (against the current CVS) does two things:

1. add the Graphics.getClipBounds(Rectangle) method for getting the clip
bounds without creating a new object (beware: only compiled and tested
with X AWT because I can't get the Qt one to compile right now :( )

2. comment out two System.err printouts in java.awt.Image because my
code repeatedly called getWidth() on a double buffer Image and all the
printouts got quite annoying (and somewhat time-consuming).

Cheers,
- - Benja
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFA4zzbUvR5J6wSKPMRAkPqAJ9RHAUunRDonAaQNDKGB27XGCLLbgCgmUMg
0L9tPMXa/QVh2/zFxHYdjHs=
=AmeX
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: get_clip_bounds.patch
Type: text/x-patch
Size: 3138 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20040701/4e92bede/attachment-0002.bin 


More information about the kaffe mailing list