But there is one trick for Inkscape: even though the coordinate origin on the Inkscape document is the normal cartesian origin in the bottom left and the y-axis points up, the SVG output always uses the upper left corner of the document as the origin and the y-axis points down (per the SVG Spec, § 7.3).
You can see by the rulers in Inkscape that the square’s origin is at (0,500).
<svg ...> <g ...> <path d="M 0,0 L 100,0 L 100,100 L 0,100 L 0,0 z" /> </g> </svg>
If we ignore everything in the file except the relevant path data, we can see the very first path command is
M 0,0 which is path-speak for move to (0,0). This is exactly as expected from the SVG spec: upper left is the coordinate origin. The cartesian origin in Inkscape is bogus!
<Degrafa:Path data="M 0,0 L 100,0 L 100,100 L 0,100 L 0,0 z"> <Degrafa:fill> <Degrafa:SolidFill color="#EECCEE" /> </Degrafa:fill> <Degrafa:stroke> <Degrafa:SolidStroke color="#FF00FF" weight="3" /> </Degrafa:stroke> </Degrafa:Path>
Give it a fill color and a stroke color, and we get a pretty purple square. Now I know my Degrafa
Path component will have a square in the upper left, because I know my square was in the upper left in Inkscape. Nice and easy.