Hi
Not sure if this belongs to the "devel" mailing list (maybe tangentially, if it leads to enhancements?)
I know this has been addressed before, but I couldn't find the final resolution to all the questions (here's a related post that doesn't seem to clinch it: http://www.inkscapeforum.com/viewtopic.php?f=5&t=10646)
I have the same problem: via the command line I'm getting one type of value, but in the SVG document a different value is listed.
COMMAND LINE: inkscape -f doc.svg --query-x --query-id=rect4487-1-7 139.43438
inkscape -f doc.svg --query-y --query-id=rect4487-1-7 128.13251
WITHIN THE SVG DOCUMENT:
<rect id="rect4487-1-7" ry="0.53296167" height="1.0654094" width="10.142718" y="72.914459" x="79.345848" style="fill:currentColor" />
Also, within the svg doc, the dimensions are: width="315" height="206"
And thus the above can't seem to account for the discrepancy, by means of origin position adjustment (width - x, height - y)
So far, it looks like different units are used.
thanks