Combe, Colin wrote:
The only problem I think, that will occur is, that the area is only
changed on the screen, when re-rendering it. So I guess it's not even
POSSIBLE to do the pan-method I want, with LiteRenderer? That would
definitely be NOT good :(
Not sure I follow this - rendering means drawing on screen, so, by
definition, re-rendering is the only way to change whats on the screen?
Sorry, I wasn't exactly enough, with what I also include with rendering:
With the whole rendering, I also include getting the necessary data
outta the shapefile, doing the whole AffineTransform thing and so on.
Actually this shouldn't be nnecessary when just shifting the view, likes
done in uDig.
The whole thing should only be done, when the dragging has finished.
Of course, that means, that the view is shifted out of scope and the
view that is following is not rendered (which means, there would be
nothing to see, besides the features, that are rendered, because they
are reaching out of the old area of interest), but that would be enough
for me and a lot more high-performance than rendering everytime the view
is shifted just 1 pixel. That would be very slow and bot practicable to
really drag. And actually, I have no idea how to shift the view, while
not re-rendering but simply shift the already rendered things.
It would be like draging a screenshot around and everywhere, where the
screenshot is NOT, there would be simply blank space.
But well, I'm gonna play around with the AffineTransform thing, to do my
ZoomBox and the DragFunction and will try to render the whole thing when
moving it only one pixel. Let's see how fast that's gonna be.
Thanks for reflecting my ideas, that really produced food for thoughts :)
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users