xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruben Fonseca <rubenfons...@di.uminho.pt>
Subject Center and AutoSizing SVG on JSVGCanvas
Date Thu, 12 Apr 2007 14:45:50 GMT
Hi!

I'm using Batik library to display a SVG image on a Java program, using
the JSVGCanvas widget.

The problem is, when the image is loaded, it goes straight to the top
left corner of the canvas, and stays very little.

I wanted it to appear centered on canvas and auto zoomed with the best
fit possible for the canvas.

Is this possible? I searched on the API and docs with no success.

Thank you :)


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


Mime
View raw message