On Dec 23, 2015 01:05, "Papoj Thamjaroenporn" <pt2277@...3110...> wrote:
Dear Inkscape-devel,
I would like to convert a path that internally stores EllipticalArcs into
a path with a bunch of BezierCurves. Is there a method that already does this? One way I think can be used is to convert path to pwd2, and convert back again to pathVector using path_from_piecewise() because internally it only uses Bezier curves, but I am wondering if there is a more direct way to do this.
Look at pathv_to_linear_and_cubic_beziers(), I think it was either in helper/geom.h or in util/geom.h. Going via SBasis is not recommended.
If I have a PathVector structure, and I know all Paths inside are
connected to each other, is there an easy way to convert such PathVector into Path?
I don't understand this. How are they "connected"? The final point of one path is equal to the initial point of the next one?
Best regards, Krzysztof