diff options
| author | MenTaLguY <mental@rydia.net> | 2006-09-04 18:04:48 +0000 |
|---|---|---|
| committer | mental <mental@users.sourceforge.net> | 2006-09-04 18:04:48 +0000 |
| commit | 2ce245567837557d785cfd2038905cc0c38f9e96 (patch) | |
| tree | 4a606241683134e64cc63565e0be3e8b5485b09d /src/dyna-draw-context.cpp | |
| parent | clarify/update dynadraw copyright (diff) | |
| download | inkscape-2ce245567837557d785cfd2038905cc0c38f9e96.tar.gz inkscape-2ce245567837557d785cfd2038905cc0c38f9e96.zip | |
remove spurious fit_and_split wrapper
(bzr r1687)
Diffstat (limited to 'src/dyna-draw-context.cpp')
| -rw-r--r-- | src/dyna-draw-context.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/dyna-draw-context.cpp b/src/dyna-draw-context.cpp index 663961347..758523245 100644 --- a/src/dyna-draw-context.cpp +++ b/src/dyna-draw-context.cpp @@ -80,7 +80,6 @@ static void add_cap(SPCurve *curve, NR::Point const &from, NR::Point const &to, static void accumulate_calligraphic(SPDynaDrawContext *dc); static void fit_and_split(SPDynaDrawContext *ddc, gboolean release); -static void fit_and_split_calligraphics(SPDynaDrawContext *ddc, gboolean release); static void sp_dyna_draw_reset(SPDynaDrawContext *ddc, NR::Point p); static NR::Point sp_dyna_draw_get_npoint(SPDynaDrawContext const *ddc, NR::Point v); @@ -727,20 +726,13 @@ accumulate_calligraphic(SPDynaDrawContext *dc) } } -static void -fit_and_split(SPDynaDrawContext *dc, - gboolean release) -{ - fit_and_split_calligraphics(dc, release); -} - static double square(double const x) { return x * x; } static void -fit_and_split_calligraphics(SPDynaDrawContext *dc, gboolean release) +fit_and_split(SPDynaDrawContext *dc, gboolean release) { double const tolerance_sq = square( NR::expansion(SP_EVENT_CONTEXT(dc)->desktop->w2d()) * TOLERANCE_CALLIGRAPHIC ); @@ -817,7 +809,7 @@ fit_and_split_calligraphics(SPDynaDrawContext *dc, gboolean release) } else { /* fixme: ??? */ #ifdef DYNA_DRAW_VERBOSE - g_print("[fit_and_split_calligraphics] failed to fit-cubic.\n"); + g_print("[fit_and_split] failed to fit-cubic.\n"); #endif draw_temporary_box(dc); |
