Hi all,
I am trying to programatically zoom into an area which i know the absolute
coordinates of.
I searched for a way to do that, and only found this:

        AffineTransform at = new AffineTransform();
        at.scale(scale, scale);
        at.translate(-xStart, -yStart);

        at.concatenate(canvas.getRenderingTransform());
        canvas.setRenderingTransform(at);

but this does not really help me since i know the exact coordinates (x1,y1,
x2,y2) of the area i want to zoom in to.
I appreciate if anyone can tell me how to do that.

thanks
hilz




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to