diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-12-10 18:52:07 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-12-10 18:52:07 +0000 |
| commit | adf26280d4a50934ab150f55133145b02308aced (patch) | |
| tree | 5773e90f5faa88915951ebebcc699fcb20a625f4 /src/nodepath.cpp | |
| parent | * [INTL: en_GB] British English update by Tim Sheridan (diff) | |
| download | inkscape-adf26280d4a50934ab150f55133145b02308aced.tar.gz inkscape-adf26280d4a50934ab150f55133145b02308aced.zip | |
nodepath: use 2geom bezier fitting (is copy of inkscape's)
(bzr r6982)
Diffstat (limited to 'src/nodepath.cpp')
| -rw-r--r-- | src/nodepath.cpp | 4 |
1 files 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 <vector> #include <algorithm> #include <cstring> @@ -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, |
