RE: Changing the Y axis

Hi,

Unfortunately, SVG works from the top, left hand corner. There are two ways
to move the axis back to the bottom left hand.

1/ translate everyting by defining a transformation and using it in all
objects and use y = -y

2/ calculate all the points.

3/ create an svg document and embed it at the position you want using the
$svg->image() method. For this case, you just need to use y=-y.

I use option 2 for the line calculator at
http://roasp.com/svg/lines.html
This is the most reliable and fastest option but the most cumbersome.

Ronan.

§-----Original Message-----
§From: www-svg-request@w3.org [mailto:www-svg-request@w3.org]On Behalf Of
§albert valls
§Sent: Wednesday, October 10, 2001 1:48 PM
§To: www-svg@w3.org
§Subject: Changing the Y axis
§
§
§It's possible to change the coordinate system to make the Y axis work from
§bottom to top instead of top to bottom which is the default??
§
§
§thanks
§
§_________________________________________________________________
§Descargue GRATUITAMENTE MSN Explorer en http://explorer.msn.es/intl.asp
§
§

Received on Wednesday, 10 October 2001 15:17:32 UTC