From 85ff7c359db68a7a6952aac0034e79595a8e20be Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Wed, 10 Dec 2008 18:57:09 +0000 Subject: use 2geom bezier fitting (is copy of inkscape's) (bzr r6983) --- src/sp-spiral.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sp-spiral.cpp') diff --git a/src/sp-spiral.cpp b/src/sp-spiral.cpp index 23233d04e..377cc13f4 100644 --- a/src/sp-spiral.cpp +++ b/src/sp-spiral.cpp @@ -19,7 +19,7 @@ #include "svg/svg.h" #include "attributes.h" -#include "display/bezier-utils.h" +#include <2geom/bezier-utils.h> #include "display/curve.h" #include #include "xml/repr.h" @@ -388,7 +388,7 @@ sp_spiral_fit_and_draw (SPSpiral const *spiral, /** \todo * We should use better algorithm to specify maximum error. */ - depth = sp_bezier_fit_cubic_full (bezier, NULL, darray, SAMPLE_SIZE, + depth = Geom::bezier_fit_cubic_full (bezier, NULL, darray, SAMPLE_SIZE, hat1, hat2, SPIRAL_TOLERANCE*SPIRAL_TOLERANCE, FITTING_MAX_BEZIERS); -- cgit v1.2.3