From 237011c7b21ab8ecc8648683b9a0a5277e484a6f Mon Sep 17 00:00:00 2001 From: johanengelen Date: Wed, 10 Dec 2008 18:52:07 +0000 Subject: [PATCH] nodepath: use 2geom bezier fitting (is copy of inkscape's) --- src/nodepath.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nodepath.cpp b/src/nodepath.cpp index 5a13588ab..1dcf3ed45 100644 --- a/src/nodepath.cpp +++ b/src/nodepath.cpp @@ -48,7 +48,7 @@ #include "libnr/nr-matrix-ops.h" #include "svg/svg.h" #include "verbs.h" -#include "display/bezier-utils.h" +#include <2geom/bezier-utils.h> #include #include #include @@ -2529,7 +2529,7 @@ void sp_node_delete_preserve(GList *nodes_to_delete) //would decreasing error create a better fitting approximation? gdouble error = 1.0; gint ret; - ret = sp_bezier_fit_cubic (bez, adata, data.size(), error); + ret = Geom::bezier_fit_cubic (bez, adata, data.size(), error); //if these nodes are smooth or symmetrical, the endpoints will be thrown out of sync. //make sure these nodes are changed to cusp nodes so that, once the endpoints are moved, -- 2.30.2