From: Krzysztof K. <twe...@gm...> - 2012-09-04 17:11:33
|
2012/9/4 Shriramana Sharma <sa...@gm...>: > My program is going to be GPL. I suppose that's OK? Is there some GPL > 2 vs GPL 3 problem involved? Most of livarot is actually public domain. The license situation of Inkscape is not completely clear, as currently it seems to contain both GPLv2-only and GPLv3-only code, but most of the files are GPLv2. > BTW if union of two filled paths causes empty regions to be produced > (think o overlaid on I), I suppose this function will include the > inner "unfilled" paths also in the same output path object? (Currently > this is what happens in Inkscape's GUI by clicking Path > Union but > just confirming that this one function does everything that is > needed.) Then I will just have to do the equivalent of "Path > Break > Apart" (found sp_selected_path_break_apart at path-chemistry.cpp l > 180). Yes, the unfilled parts will be included. as counterdirectional subpaths. 'Break apart' is equivalent to creating one Geom::PathVector per Geom::Path. (Note that in SVG terminology, Geom::PathVector corresponds to a path and Geom::Path to a subpath.) Regards, Krzysztof |