Michael Bedward ha scritto:
> 2009/10/9 Andrea Aime wrote:
>> Doh, this is a surprise. What does it do, redraw everything at
>> all repaints, or can it just repaint the area affected by the
>> animation?
> 
> It's a very basic example - just enough to get Guy started hopefully.
> It doesn't track 'dirty rectangles' etc. though that could be added.
> At the moment, the pane is just redisplaying the image that the
> renderer drew into and then drawing the animation.

Oh, so you are caching the image the renderer drew.
That's fine, I don't really have much of an improvement suggestion then
(not sure repainting only the old area covered by the animation and the
new one will provide much of a benefit, blitting an image to the screen
should be pretty fast).

Cheers
Andrea


-- 
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to