Re: Graphics2D.drawImage() and clipping region
- From: Knute Johnson <nospam@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 23 Apr 2008 09:44:10 -0700
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
.
- References:
- Graphics2D.drawImage() and clipping region
- From: Kenneth P. Turvey
- Graphics2D.drawImage() and clipping region
- Prev by Date: Re: Size of a radiobutton
- Next by Date: Current week job updates-visit www.northvacancies.com
- Previous by thread: Graphics2D.drawImage() and clipping region
- Next by thread: Current week job updates-visit www.northvacancies.com
- Index(es):