[1873] in java-interest
Re: Copying a sub-area of an image into an offscreen image
daemon@ATHENA.MIT.EDU (Jim Graham)
Tue Sep 19 00:56:02 1995
Date: Mon, 18 Sep 1995 17:35:33 -0700
From: flar@bendenweyr.Eng.Sun.COM (Jim Graham)
To: java-interest@java.Eng.Sun.COM, SenthilS@starwave.com
Hi Senthil,
> Is there any way to copy a sub-area of an image into an offscreen
> image? It seems that you can only copy the whole image (may be scaled) into
> an offscreen image. I sort of want to do a copyArea from one image into
> another.
drawImage() honors the current clipping rectangle so you can set the clip
on the Graphics object and then do a regular drawImage()
...jim
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com