diff options
| author | Aaron Spike <aaron@ekips.org> | 2006-04-14 21:24:32 +0000 |
|---|---|---|
| committer | acspike <acspike@users.sourceforge.net> | 2006-04-14 21:24:32 +0000 |
| commit | 84e458fdfe11cb21e5798ca04283bb734b52ecc2 (patch) | |
| tree | a2450eef49ce479b22974a32473002ecf024ba64 /src/display/bezier-utils.cpp | |
| parent | Remove warnings (diff) | |
| download | inkscape-84e458fdfe11cb21e5798ca04283bb734b52ecc2.tar.gz inkscape-84e458fdfe11cb21e5798ca04283bb734b52ecc2.zip | |
Attempt to preserve the shape of the path when deleting nodes
Old deletion behavior is available via Ctrl+Delete
(bzr r525)
Diffstat (limited to 'src/display/bezier-utils.cpp')
| -rw-r--r-- | src/display/bezier-utils.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/display/bezier-utils.cpp b/src/display/bezier-utils.cpp index 8316c86cc..04a38c236 100644 --- a/src/display/bezier-utils.cpp +++ b/src/display/bezier-utils.cpp @@ -53,7 +53,6 @@ static void estimate_bi(NR::Point b[4], unsigned ei, NR::Point const data[], double const u[], unsigned len); static void reparameterize(NR::Point const d[], unsigned len, double u[], BezierCurve const bezCurve); static gdouble NewtonRaphsonRootFind(BezierCurve const Q, NR::Point const &P, gdouble u); -static NR::Point bezier_pt(unsigned degree, NR::Point const V[], gdouble t); static NR::Point sp_darray_center_tangent(NR::Point const d[], unsigned center, unsigned length); static NR::Point sp_darray_right_tangent(NR::Point const d[], unsigned const len); static unsigned copy_without_nans_or_adjacent_duplicates(NR::Point const src[], unsigned src_len, NR::Point dest[]); @@ -652,7 +651,7 @@ NewtonRaphsonRootFind(BezierCurve const Q, NR::Point const &P, gdouble const u) * is i * BezierII(i-1, V'), where for all j, V'[j] = * V[j + 1] - V[j]. */ -static NR::Point +NR::Point bezier_pt(unsigned const degree, NR::Point const V[], gdouble const t) { /** Pascal's triangle. */ |
