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/arc-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/arc-context.cpp')
| -rw-r--r-- | src/arc-context.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arc-context.cpp b/src/arc-context.cpp index 0b0aad79e..032d7febb 100644 --- a/src/arc-context.cpp +++ b/src/arc-context.cpp @@ -412,6 +412,8 @@ static void sp_arc_drag(SPArcContext *ac, NR::Point pt, guint state) NR::Rect const r = Inkscape::snap_rectangular_box(desktop, ac->item, pt, ac->center, state); + sp_canvas_force_full_redraws(desktop->canvas, 1); + sp_arc_position_set(SP_ARC(ac->item), r.midpoint()[NR::X], r.midpoint()[NR::Y], r.dimensions()[NR::X] / 2, r.dimensions()[NR::Y] / 2); @@ -437,6 +439,8 @@ static void sp_arc_finish(SPArcContext *ac) _("Create ellipse")); ac->item = NULL; + + sp_canvas_clear_forced_full_redraws(desktop->canvas); } } |
