diff options
| author | John Bintz <me@johnbintz.com> | 2006-09-04 15:46:12 +0000 |
|---|---|---|
| committer | johncoswell <johncoswell@users.sourceforge.net> | 2006-09-04 15:46:12 +0000 |
| commit | e7f783b5e2bed01e633cfffd15f3da3e4d5b874d (patch) | |
| tree | 209972688677279a6ad7adfcb4ab575bf696f051 /src/spiral-context.cpp | |
| parent | Add ability to force canvas to perform a full, non-interruptible redraw (diff) | |
| download | inkscape-e7f783b5e2bed01e633cfffd15f3da3e4d5b874d.tar.gz inkscape-e7f783b5e2bed01e633cfffd15f3da3e4d5b874d.zip | |
Force non-interruptible canvas redraws to ensure accurate display while creating objects
(bzr r1679)
Diffstat (limited to 'src/spiral-context.cpp')
| -rw-r--r-- | src/spiral-context.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/spiral-context.cpp b/src/spiral-context.cpp index 1dc6bd6cb..e878154ba 100644 --- a/src/spiral-context.cpp +++ b/src/spiral-context.cpp @@ -430,6 +430,8 @@ sp_spiral_drag(SPSpiralContext *sc, NR::Point p, guint state) arg = sp_round(arg, M_PI/snaps); } + sp_canvas_force_full_redraws(desktop->canvas, 1); + /* Fixme: these parameters should be got from dialog box */ sp_spiral_position_set(spiral, p0[NR::X], p0[NR::Y], /*expansion*/ sc->exp, @@ -462,6 +464,8 @@ sp_spiral_finish(SPSpiralContext *sc) /* TODO: annotate */ "spiral-context.cpp:462"); sc->item = NULL; + + sp_canvas_clear_forced_full_redraws(desktop->canvas); } } |
