30 Mar
2009
30 Mar
'09
2:49 a.m.
On Thu, 2009-03-26 at 04:21 -0700, G33K wrote:
Hi, I' d like to ask if there is perhaps some sort of affine transformation library available to the Inkscape Python scripts?
So far, I only found the file simpletransform.py, which is quite useful, but not very comprehensive. The transformation stuff already has excessive support in the Inkscape C++ code. Are there any Python bindings for that?
Right now, I am primarily interested in getting pretty constructor functions for defining rotations and scaling, without having all the mathy matrix clutter in my code. If none are available, I could add those to simpletransform.py myself.
Aren't there Python bindings for lib2geom somewhere?
--Ted