Maybe it would help you to understand what kind of dimensions i would like to get:
Now, I add my JSVG Canvas to a Jpanel (whith Cardinal Layout, to fit on my canvas), and I add my Jpanel to a JscrollPane. Then when rendering is completed, I get the size of my JPanel. This "Bricolage" (excuse me please to use a french word, I really don't know how to say that in english...) gives me the dimensions I would like to get. But I would like to know if there is an easier way to get these dimensions. Thank you. 2009/6/19 Mathieu Pedrero <mathieu.pedr...@centraliens-lille.org> > Hello > > Il would like to know the size of the smallest rectangle which can contain > my SVG picture (when this image is displayed in my JSVG Canvas whith the > initial affine transform Identity). > > Is there a method which could help me? Or do i have to write it? > > I think that in the rasterizer application, pictures are builded with the > help of these dimension. Could any people having worked on the Batik Projed > tell me if i'm right? > > Thanks a lot! >