On Wed, 10 Oct 2001 ronan@roasp.com wrote: > 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. > Yet another method: Find the maximum Y value in your drawing. For purposes of this example, say that the maximum Y is 150. Enclose your entire drawing in this: <g transform="translate(0,150) scale(1,-1)"> <!-- your graphics here --> </g> --- J. David Eisenberg http://catcode.com/Received on Wednesday, 10 October 2001 15:35:51 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 4 September 2006 18:11:15 GMT