xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Santos <aasan...@gmail.com>
Subject Printing visible area after transform
Date Wed, 28 Dec 2005 13:53:23 GMT

I'm trying to print the canvas after a transformation. Say, I have an
SVG first loaded into JSVGCanvas. When I print it everything works

The problem is, I then zoom to a specific part of the image. The
printed area is, however, bigger than the part I'm vieweing on screen
(although the scaling works fine). I'm using the getViewBoxTransform()
to get the visible area, but for some reason it is not working
properly. Any ideas?

I've been using Batik for only a few days, so I'm still not familiar
with most of its concepts. I'm particularly lost at the
viewport/viewbox/screen coordinates required transformations. I would
be most grateful if anyone could clarify this point to me.

BTW, I'm using Batik SVN (05-12-19), JDK 1.4.2_08, Win2k SP4.



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

View raw message