summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cd7354e)
raw | patch | inline | side by side (parent: cd7354e)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Wed, 10 Dec 2008 18:52:07 +0000 (18:52 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Wed, 10 Dec 2008 18:52:07 +0000 (18:52 +0000) |
src/nodepath.cpp | patch | blob | history |
diff --git a/src/nodepath.cpp b/src/nodepath.cpp
index 5a13588ab20235132cc95e4c380ee68b843e33e8..1dcf3ed459400f66887698c9716d4a7a6606d042 100644 (file)
--- a/src/nodepath.cpp
+++ b/src/nodepath.cpp
#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>
//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,