2 Jul
2009
2 Jul
'09
3:19 p.m.
On Thu, 02 Jul 2009 10:39:45 +0200 Maarten van der Velde <Maarten.van-der-Velde@...2171...> wrote:
So, basically, if I'd want to get information from the underlaying drawing (like the coordinates of a node), I'd have to do XML operations? Like finding an attribute and it's value, etc?
For a node, yes.
Some python extensions actually call another instance of inkscape on the current file, using the --query-all flag which makes inkscape dump id,x,y,w,h (i.e. bounding box) for all objects, something you can't really do just parsing the XML, on account of possible layered transformations.
Cheers -Terry