goocanvas r13 - in trunk: . src
- From: damon svn gnome org
- To: svn-commits-list gnome org
- Subject: goocanvas r13 - in trunk: . src
- Date: Tue, 16 Sep 2008 20:37:59 +0000 (UTC)
Author: damon
Date: Tue Sep 16 20:37:59 2008
New Revision: 13
URL: http://svn.gnome.org/viewvc/goocanvas?rev=13&view=rev
Log:
2008-09-14 Damon Chaplin <damon gnome org>
* src/goocanvasitemsimple.c (goo_canvas_item_simple_get_requested_area)
(goo_canvas_item_simple_allocate_area): request redraws of the old and
new item bounds.
Modified:
trunk/ChangeLog
trunk/src/goocanvasitemsimple.c
Modified: trunk/src/goocanvasitemsimple.c
==============================================================================
--- trunk/src/goocanvasitemsimple.c (original)
+++ trunk/src/goocanvasitemsimple.c Tue Sep 16 20:37:59 2008
@@ -1302,6 +1302,9 @@
cairo_matrix_t matrix;
double x_offset, y_offset;
+ /* Request a redraw of the existing bounds. */
+ goo_canvas_request_redraw (simple->canvas, &simple->bounds);
+
cairo_save (cr);
if (simple_data->transform)
cairo_transform (cr, simple_data->transform);
@@ -1377,6 +1380,9 @@
simple->bounds.y1 += y_offset;
simple->bounds.x2 += x_offset;
simple->bounds.y2 += y_offset;
+
+ /* Request a redraw of the new bounds. */
+ goo_canvas_request_redraw (simple->canvas, &simple->bounds);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]