Thank you again, Dear Bishop.

Then, how can I make java code ?

Thank you in advance.




On 7/3/07, Bishop, Michael W. CONTR J9C880 <[EMAIL PROTECTED]>
wrote:

Set a viewBox attribute in the root of the SVG document.

<svg viewBox="-200 -200 600 650"/>

Michael Bishop

________________________________

From: Saehoon Cheon [mailto:[EMAIL PROTECTED]
Sent: Mon 7/2/2007 6:36 PM
To: [email protected]
Subject: how to set a range in JSVGCANVAS?


Hi,
I set the canvas size (400,450) like this.


svgRoot.setAttributeNS(null, "width", "400");

svgRoot.setAttributeNS(null, "height", "450");

Then, I used scrolllPane like this.


JSVGScrollPane svgScrollPane = new JSVGScrollPane(canvas);


Now how can I show a minus coordinate? For example , I want to draw a text
located at (-10, 10) in this canvas.

In this case, I think I need to set a range for the coordinate as well as
just width and height.
How can I do this?

Thank you in advance.


--
Saehoon Cheon
The University of Arizona
Dept.Electrical and Computer Engineering

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




--
Saehoon Cheon
The University of Arizona
Dept.Electrical and Computer Engineering

Reply via email to