Re: GVT AffineTransform of embedded ImageNode

2004-03-25 Thread Andres Toussaint
Hello Thomas and Tonny: Thanks for the pointers. I did solve the problem of the document size applying a final AffineTransform to every point of my shape to scale to my final user defined output document size, and this way I also avoided the problem of unappropiate embedded image resizing. I

Re: GVT AffineTransform of embedded ImageNode

2004-03-25 Thread Thomas DeWeese
Hi Andres, You definately want to use ShapeNode.getGlobalTransform. The reason you end up with such a small output image is because your UserAgent doesn't provide an appropriate viewportSize. The default viewport size (from batik.bridge.UserAgentAdapter) is 1x1. You probably want to change th

Re: GVT AffineTransform of embedded ImageNode

2004-03-24 Thread Tonny Kohar
Hi, > The problem at hand is when i place another SVG file into my original > file using the < SVG attribute. I have noticed that the > GVT refers to this image with a ImageNode. The problem is: The SVG > placed image has a width/height of, for instance 100x100pt, and the > placed image has a widt