Hi Saehoon,
"Saehoon Cheon" <[EMAIL PROTECTED]> wrote on 07/06/2007 08:34:00 PM:
> I used viewBox to draw a value in a minus coordinates.
>
> The code I used is like
>
> ===
> svgRoot.setAttributeNS(null, "viewBox", "-200, 0, 2000, 2000" );
>
> frame.setSize(2000, 2000);
> ===
>
> But, when I used this function, I found the size of drawing was
> reduced, and I couldn't even read it.
> Why does it reduce the size?
Because it fit's the viewBox to the available viewport (required
by SVG specification).
> It absolutely drew a value in minus coordinate but I want to keep the
size.
> If there is a way I can see the drawing with scroll bar without
> resizing the drawing, that will be helpful for me.
You can override the canvas's default calculation of the
initial viewing transform:
protected AffineTransform calculateViewingTransform
(String fragIdent, SVGSVGElement svgElt);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]