Writing SVG code for editing with Sodipodi
Pierre Abbat <[email protected]>
| Newsgroups | gmane.comp.graphics.sodipodi |
|---|---|
| Organization | dis |
| Message-ID | <[email protected]> |
I wrote a two-line program that generated a lemniscate and pasted the code into a <path> element in a Sodipodi file. Since the width and height are in millimeters I thought the coordinates would be in millimeters. They weren't. The lemniscate was too small. I then edited it so that it looked like M-87.4619707139396mm 42.4024048078213mm M-88.2947592858927mm 41.4518786277521mm M-89.1006524188368mm 40.4508497187474mm and tried again. The lemniscate went flat. I removed the millimeters and scaled it and put it in the middle of the 300*300mm square. The center is now at 531.4961,531.4961. What unit is Sodipodi using, and how do I tell it that the coordinates are in millimeters? phma -- .i toljundi do .ibabo mi'afra tu'a do .ibabo damba do .ibabo do jinga .icu'u la ma'atman. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn