Hi!
Can anybody give me an example how to access objects in an open document via the perl interface? Is it possible to get the bounding boxes?
Cordially, Axel
On Tue, 9 May 2006, Axel Huizinga wrote:
Can anybody give me an example how to access objects in an open document via the perl interface? Is it possible to get the bounding boxes?
Basically, the answer today is no. Now, Inkscape does provide a way for you to get the bounding boxes from the command line if you give the object ID. We're also planning on adding some bounding boxes of the selection and the view to the command line for effects that are implemented as scripts. Otherwise, getting that data directly in Perl is planned, but a little ways off.
--Ted
ted@...10... schrieb:
On Tue, 9 May 2006, Axel Huizinga wrote:
Can anybody give me an example how to access objects in an open document via the perl interface? Is it possible to get the bounding boxes?
Basically, the answer today is no. Now, Inkscape does provide a way for you to get the bounding boxes from the command line if you give the object ID. We're also planning on adding some bounding boxes of the selection and the view to the command line for effects that are implemented as scripts. Otherwise, getting that data directly in Perl is planned, but a little ways off.
--Ted
Hi!
Thanks for the tip - via commandline I can get the boxes as needed.
But now I have a question on paths: Has inkscape an option to convert the cubic beziers to quadratic beziers?
Who is working on the perl extension? Maybe I can help to make the document accessible soon ;-)
Cordially, Axel
On Tue, May 23, 2006 at 09:16:34PM +0200, Axel Huizinga wrote:
But now I have a question on paths: Has inkscape an option to convert the cubic beziers to quadratic beziers?
Who is working on the perl extension? Maybe I can help to make the document accessible soon ;-)
Hi Axel,
As I understand it, a prerequisite to this has been getting the DOM interface established. DOM is what the perl (and python) script interpreters would bind to in order to provide access to the document and inkscape's internal functionality.
So if you are interested in working on the perl extension, I would suggest speaking with Bob (ishmal) on IRC to see what the next steps are for DOM, and see if there is an area you would like to work on. It would be great to see the scripting interfaces become available for the next release after this one! :-)
Bryce
Bryce Harrington schrieb:
On Tue, May 23, 2006 at 09:16:34PM +0200, Axel Huizinga wrote:
But now I have a question on paths: Has inkscape an option to convert the cubic beziers to quadratic beziers?
Who is working on the perl extension? Maybe I can help to make the document accessible soon ;-)
Hi Axel,
As I understand it, a prerequisite to this has been getting the DOM interface established. DOM is what the perl (and python) script interpreters would bind to in order to provide access to the document and inkscape's internal functionality.
So if you are interested in working on the perl extension, I would suggest speaking with Bob (ishmal) on IRC to see what the next steps are for DOM, and see if there is an area you would like to work on. It would be great to see the scripting interfaces become available for the next release after this one! :-)
Hi!
Couldn' t find ishmal on #inkscape on irc.freenode.org - Can you send him my email?
Is there a way to configure Inkscape to save paths as quadratic bezier curves (Q tag)?
Cordially, Axel
participants (3)
-
unknown@example.com
-
Axel Huizinga
-
Bryce Harrington