Tomorrow I will post a cleaned up version of then extension at launchpad as a bug/feature enhancement. I have a zip with the py, inx and a couple of png samples explaining the result - I assume attaching this to the bug report would be adequate.
The performance is actually quite acceptable now that the --query-all command line flag is available, as a new instance of inkscape is called once instead of once per object in the selection.
Ultimately, when x, y, width and height of objects gets exposed by DOM it won't even have to make that call.
-Rob A>
On Jan 10, 2008 4:18 PM, Ted Gould <ted@...11...> wrote:
On Thu, 2008-01-10 at 09:30 -0800, Bryce Harrington wrote:
The performance issue and the need of calling a second instance of Inkscape suggests it might be better implemented as Inkscape C++ code than as an extension, but maybe one of the other extension writers knows a trick.
Yes, but I think until someone implements a C++ extension a slower Python extension is fine.
--Ted