From: Krzysztof K. <twe...@gm...> - 2012-09-02 22:58:16
|
2012/8/31 Shriramana Sharma <sa...@gm...>: > Also, instead of lib2geom can I just use the livarot/libnr/2geom which > is inside the Inkscape tree? The API of the function: > > void Path::Outline(Path *dest, double width, JoinType join, ButtType > butt, double miter) > > in src/livarot/PathOutline.cpp seems relatively straightforward? I > observe that the total size of the livarot/libnr/2geom directories in > the Inkscape source tree is less than 2 MB and its compiled form would > probably be less than 0.5 MB? Yes, of course you can use it, as long as you comply with the licensing of the relevant files. > I also would like to know where the Path > Union function is > implemented in livarot as I am unable to find this. src/splivarot.cpp, the relevant function is at lines 115-602. By the way, the API of this function is extremely badly designed, as the actual boolean code begins at line 239; the rest is just error-checking and preparation. Regards, Krzysztof |