[cairo-commit] goocanvas ChangeLog,1.115,1.116 TODO,1.33,1.34

Damon Chaplin commit at pdx.freedesktop.org
Mon May 14 02:51:36 PDT 2007


Committed by: damon

Update of /cvs/cairo/goocanvas
In directory kemper:/tmp/cvs-serv22569

Modified Files:
	ChangeLog TODO 
Log Message:
2007-05-14  Damon Chaplin  <damon at gnome.org>

	* src/goocanvas.c (goo_canvas_set_property) 
	(goo_canvas_set_bounds): queue a redraw of the widget.
	(goo_canvas_expose_event): clip to the canvas bounds if necessary.

	* demo/mv-demo.c (change_bounds_clicked): 
	* demo/demo.c (change_bounds_clicked): test changing the bounds
	dynamically.



Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/goocanvas/ChangeLog,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -d -r1.115 -r1.116
--- ChangeLog	13 May 2007 11:43:04 -0000	1.115
+++ ChangeLog	14 May 2007 09:51:25 -0000	1.116
@@ -1,3 +1,13 @@
+2007-05-14  Damon Chaplin  <damon at gnome.org>
+
+	* src/goocanvas.c (goo_canvas_set_property) 
+	(goo_canvas_set_bounds): queue a redraw of the widget.
+	(goo_canvas_expose_event): clip to the canvas bounds if necessary.
+
+	* demo/mv-demo.c (change_bounds_clicked): 
+	* demo/demo.c (change_bounds_clicked): test changing the bounds
+	dynamically.
+
 2007-05-13  Damon Chaplin  <damon at gnome.org>
 
 	* src/goocanvaspath.c: use a common GooCanvasPathData like the other

Index: TODO
===================================================================
RCS file: /cvs/cairo/goocanvas/TODO,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- TODO	11 May 2007 16:30:46 -0000	1.33
+++ TODO	14 May 2007 09:51:25 -0000	1.34
@@ -9,9 +9,6 @@
    errors. Maybe we should extend any bounds returned from cairo slightly to
    cover the maximum possible errors.
 
- o goo_canvas_set_bounds() doesn't update the display correctly. Currently
-   you need to do something like goo_canvas_set_scale() afterwards.
-
  o button press events are generating leave-notify and enter-notify signals.
    Seems to be a GTK+/X problem.
 
@@ -70,6 +67,8 @@
  o Make it easy to add a border and background to items. "border-width",
    "border-color" and "background-color" properties? Might also need "x-pad",
    "y-pad", "x-radius", "y-radius" etc. Maybe have a related border item.
+   Note that we only have the bounds in device coords, so drawing a border of
+   a rotated item would be awkward. (Maybe we store the user bounds somewhere.)
  o Link/URL item, or enable URLs in the markup of text items.
  o A button item, with different children displayed for different states,
    maybe with optional automatic prelighting.



More information about the cairo-commit mailing list