where my frame is 800 by 600,
my svg file is 1024 by 800 and has a viewbox of 2000 by 1000 pretend,
even though i place the svg doc from that file into a JScrollpane, it resizes the 
frame to be 1024 by 800 instead of the 800 by 600 which it should be.
SVGCanvas.setSize() doesnt seem to do anything as well. Batiks behavior eludes me here 
as well and i dont think its the Layout i use, as i have tried placing it in different 
Layouts to stop this behavior. 



----- Original Message -----
From: Tisserand Romuald <[EMAIL PROTECTED]>
Date: Tuesday, May 25, 2004 9:51 am
Subject: RE: Problem with JSVGComponent.setSize

> As my application is a very graphic application, I don't use 
> layout managers. The JSVGComponent is just placed into a 
> container, and I specify its size and position. Very simple, 
> that's why I don't understand the batik behaviour.
> 
> -----Original Message-----
> From: Tonny Kohar [EMAIL PROTECTED] 
> Sent: vendredi 15 mai 2015 08:27
> To: Batik Users
> Subject: RE: Problem with JSVGComponent.setSize
> 
> 
> Hi,
> 
> On Fri, 2004-05-14 at 16:36, Tisserand Romuald wrote:
> > Thanks for your answer.
> > 
> > I don't know if I use viewbox attributes.
> > I call getSVGDocumentSize to get the SVG image size and set the 
> JSVGComponent to that size.
> 
> Other things to consider also Swing layout. Because for example if you
> are using JScrollPane layout and the component is smaller than the
> container, it will automatically recenter the child component.
> 
> Regards
> Tonny Kohar
> -- 
> Sketsa 
> SVG Graphics Editor
> http://www.kiyut.com
> 
> 
> 
> -------------------------------------------------------------------
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> -------------------------------------------------------------------
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to