diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-12-10 18:57:09 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-12-10 18:57:09 +0000 |
| commit | 85ff7c359db68a7a6952aac0034e79595a8e20be (patch) | |
| tree | d4e683126d3cb84d82d3600d68c1dae1f9e8ee43 /src/sp-spiral.cpp | |
| parent | nodepath: use 2geom bezier fitting (is copy of inkscape's) (diff) | |
| download | inkscape-85ff7c359db68a7a6952aac0034e79595a8e20be.tar.gz inkscape-85ff7c359db68a7a6952aac0034e79595a8e20be.zip | |
use 2geom bezier fitting (is copy of inkscape's)
(bzr r6983)
Diffstat (limited to 'src/sp-spiral.cpp')
| -rw-r--r-- | src/sp-spiral.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 <glibmm/i18n.h> #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); |
