bulia byak wrote:
- Aaron Spike was going to look into implementing node deletion in
such a way as to preserve the existing shape as much as possible.
I started looking at this again today. It is probably quite simple to do.
I think node deletion starts here in nodepath.cpp at sp_node_selected_delete() http://www.inkscape.org/doc/doxygen/html/nodepath_8cpp.php#9f24fd43835361f84...
A function for evaluating bezier curves already exists in bezier-utils.cpp called bezier_pt() http://www.inkscape.org/doc/doxygen/html/bezier-utils_8cpp.php#10c13db1a5d67...
and the curve fitting function sp_bezier_fit_cubic() lives right in that same file http://www.inkscape.org/doc/doxygen/html/bezier-utils_8cpp.php#b8df2b5569532...
Like I said, it is probably very simple to hook this all up, I just can't bring myself to do any coding today.
Aaron Spike