
2015-11-25 8:03 GMT-08:00 Jabiertxo Arraiza Cenoz <jabier.arraiza@...2893...>:
Hi to all.
Working with a function that split into subpaths all self crossings of a path, I throw a LPE exception in path.portion I call it with a value for example "path.portion(0,2.9345)" and path size == 4. I think I dont get any continuity problems when creating a portion, anyway it happends, also if active setStitching to the path
Here are the function: https://inkscape.org/en/gallery/item/7011 I comment in the code where the exception happens "std::cout << "EXCEPTON HERE\n";" Next logs to this line don't show if exception.
Any help is welcome, cheers, Jabier.
That is strange.
Can you log the exact parameters of the portion call? I.e. what is the path (in SVG syntax) and what are the parameters to portion? Use Geom::format_coord_nice() from 2Geom to print the portion parameters.
Best regards, Krzysztof.