summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8b1e52c)
raw | patch | inline | side by side (parent: 8b1e52c)
author | mental <mental@users.sourceforge.net> | |
Mon, 4 Sep 2006 18:04:48 +0000 (18:04 +0000) | ||
committer | mental <mental@users.sourceforge.net> | |
Mon, 4 Sep 2006 18:04:48 +0000 (18:04 +0000) |
src/dyna-draw-context.cpp | patch | blob | history |
index 6639613479b6aa1274b8e470fe7e5bfbc1964b99..7585232458ec7a1cead320dcd82a5d7744007f41 100644 (file)
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);
}
}
-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 );
} 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);