xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "M. van Veen" <mich...@microweb.nl>
Subject Re: Set Zoom
Date Fri, 21 Jun 2002 12:04:51 GMT
Hi!

Just set the renderingtransform with a custom affine transform something like 
this:

AffineTransform transform = new AffineTransform();
transform.scale( 1.2, 1.2 );
JSVGCanvas.setRenderingTransform( transform );

Probably have to repaint after setting the new transform.

NOTE: You can also use rotate, translate (like the batik svg browser). See 
for more details the Java API on AffineTransform.

Good luck!

Michael.

On Friday 21 June 2002 14:00, you wrote:
> Hi,
> I have a svg and i want see in browser with a zoom factor of 1.2,
> what i have to do?
>
> TIA
>
> Nelson Lourenco
> MAISIS
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Mime
View raw message