xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas DeWeese <Thomas.DeWe...@Kodak.com>
Subject Re: viewbox problem
Date Fri, 23 Jul 2004 10:40:12 GMT
Hi Himerus,

    I suspect the problem is that you should use:

      setAttributeNS(null, "viewBox", "0 0 600 600");

    You should only have to do this once.

Himerus wrote:

> 
> hi,
> i'am having a viewbox problem; i put a jsvgscrollpane on a frame; and 
> when i draw a quadcurve2D(or anything else) with a mousePresed event , 
> the scroollpane tries to resize the scrollbars;so in 
> checkAndSetViewBoxRect() the viewBox attribute of the element svg is not 
> found (is returned as ""); i tryed to set it manualy : 
> setAttributeNs(svgNS,"viewBox","0 0 600 600") but it doesn't appear in 
> the document when i stream it to the System.out; and if even that would 
> work, i have to set it again and again every time i draw something on 
> the pane's canvas?


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


Mime
View raw message