so, do you mean that you wish to use Python code to find the value of these
existing variables? The variables that you are probably looking for are:
inkscape:transform-center-x
inkscape:transform-center-y
These are present in the svg file, so you should be able to find them in
Python just by walking the tree and searching for these parameters. You
might need to know the object ID in order to do this.
The only problem I can see is that this variable has a default value that is
not reported in the svg file when you first create the object. So you might
need to duplicate in Python the code that is currently executed in C in
order to define the original default value. This code is probably somewhere
like the file 'sp-item.cpp' which appears to be defining the variable
'item->transform_center_x' which is probably what you would need to emulate.
hth,
Alvin
--
Sent from: http://inkscape.13.x6.nabble.com/Inkscape-Dev-f2781808.html
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel