Schaerfke, Marco, Dr., Xzillion/DE wrote:
Dear Reader,
I am looking for way to implement a rubberband zoom function for a 2D
display. Unfortunately I have not found a solution.
Any suggestions ?
See http://www.unidata.ucar.edu/staff/russ/visad/msg03136.html
for a further example of how to use a rubber band box renderer, and
don't forget the calls:
xmap.setRange(samples[0][0], samples[0][1]);
ymap.setRange(samples[1][0], samples[1][1]);
as Bill pointed out.
Ugo
Thank you for your help
Regards
Marco