Re: Graphics2D.drawImage() and clipping region



Kenneth P. Turvey wrote:
I assume that the drawImage() method in the Graphics class is smart enough not to draw the image outside of the clipping region...

I don't really have to only draw a subImage to get this performance boost do I?

Thanks.

Clipping is pretty fast. Drawing a smaller image would probably be quicker but then you have the overhead of creating the smaller image. I don't think it will say you enough to make much difference either way.


--

Knute Johnson
email s/nospam/linux/

--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDem
.


Quantcast