On 11-04-13 21:32, Alexander Brock wrote:
On 11/04/13 14:03, Jasper van de Gronde wrote:
... However, don't let that stop you from experimenting. Feel free to come up with a proposal for how to do this, with some examples of the effect. (A patch would obviously be welcome if your suggestion is an improvement.)
I found the lib2geom files but I didn't find the code which handles deleting nodes, can somebody please tell me where to look for that?
lib2geom does not handle it itself, but it provides the basic tools used for manipulating paths internally. This includes some "not so basic" stuff that might be useful to you. Most of it is based on representing paths using an alternative basis that is slightly easier to work with than the Bézier basis, but this is mostly transparent, as all sorts of tools exist to manipulate this representation (including computing derivates and such).
The actual deleteNodes method seems to be the one in src/ui/tool/path-manipulator.cpp.