[4586] in java-interest
Re: missing functionality : drawImage != BitBlt/StretchBlt
daemon@ATHENA.MIT.EDU (Pat Niemeyer)
Mon Jan 8 10:11:41 1996
Date: Mon, 8 Jan 1996 07:17:16 -0600 (CST)
From: Pat Niemeyer <pat@icon-stl.net>
To: Jonathan Locke <jonl@sealevelsoftware.com>
cc: java <java-interest@java.sun.com>
In-Reply-To: <Pine.LNX.3.91.960107102333.5277B-100000@sealevel.sealevelsoftware.com>
On Sun, 7 Jan 1996, Jonathan Locke wrote:
> ok, so i recently discovered i couldn't expose/InvalidateRect a rectangle
> in my applet... so i decided to do all the damaged rectangle management
> myself. i get all done with it and i'm ready to blt the updates of each
> exposed area to the screen when i discover... you can't do it with AWT!
> there don't seem to be enough parameters to draw image. with drawImage, your
> destination is implicitly the Graphics you are using and you can specify the
> x, y, width and height of your destination rectangle, *but* you can't specify
> the subrectangle of the image you want to Blt. you have to Blt the whole
> image or nothing at all. we need two new functions:
You should use Graphics.clipRect() to set a clipping region on the
destination of your image.
Pat
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com