Set the Stroke Width as the inverse of Zoom factor.
Good luck.

ganesan

Tolga Sakman wrote:

> Hello All,
>
> I've got a canvas (subclass of JComponent) which has x&y axes, and some 2D
> geometry on it (several shapes). When I select my zoom tool and select a
> rectangular portion of it, I want to see the magnified canvas with the exact
> view that was in that zoom screen, with the line thicknesses not magnified.
> Needless to say, I also need to be able to go back to my previous view (zoom
> out). I tried to use scale(x,y) but does not really do it.
> Any suggestions / related experiences are mostly appreciated.
>
> Tolga
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Tolga Sakman
> Project Engineer
>
> Analytic & Computational Research, Inc. -- ACRi
> Cincinnati, OH
> Phone: 513-794-0888
> Fax: 513-794-9779
> [EMAIL PROTECTED]
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA2D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to