From: Nathan H. <nj...@nj...> - 2013-08-13 13:54:11
|
On Tue, Aug 13, 2013 at 03:05:59AM -0300, Vin?cius dos Santos Oliveira wrote: > Hi 2geom developers, > > I'm playing with 2geom and I can see which code I can use to read from > SVG files. I can use the function Geom::parse_svg_path and pass a > Geom::PathBuiler as the second parameter. In the end, I'll be able to > extract the Geom::PathVector through the method PathBuilder::peek. > > Anyway, what I need is to do the other way back (generate a SVG file > from some Geom::PathVector). The only code I found related to this > functionality lies in the toys (not part of the lib) and uses a > complicated scheme involving cairo and a lot of virtual func calls. Is > there another way? If there is not, I want to implement it and I want to > implement it fast. I think you should be able to write something using direct string concatenation in an afternoon. > Would be possible to release another lib2geom version > fast if code goes okay? Absolutely, indeed I think we should just give your write access to the repo (given you're already an inkscape dev). Who remembers how to do this? njh |