6 May
2008
6 May
'08
3:14 p.m.
Hey guys,
I'm writing a program that generates SVGs. I realized how big of a pain paths are. Right now I am basically just doing straight lines. The curves that I do have are radii and they're all 90 degree semi circles. Those were a pain too, luckily I stumbled upon http://www.whizkidtech.redprince.net/bezier/circle/ and I can create them in my paths.
Anyway, I'm at the point where I need to start doing some more complicated things. I can do these things easily in Inkscape but I'm finding it difficult to generate the path data directly. I am wondering where in the source of Inkscape I can find the routines that do the intersection, union, and difference of paths so that I can incorporate it into my code.
Thanks, ~Eric