[cairo-commit] goocanvas ChangeLog,1.76,1.77 TODO,1.22,1.23

Damon Chaplin commit at pdx.freedesktop.org
Thu Feb 15 06:18:56 PST 2007


Committed by: damon

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

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

	* src/goocanvasutils.c: 
	* src/goocanvaspath.c: moved data structures and code for parsing and
	creating SVG paths from goocanvaspath.[hc] to goocanvasutils.[hc].
	Added goo_canvas_parse_path_data() and goo_canvas_create_path() public
	functions.

	* src/goocanvasitemsimple.c: added "clip-path" and "clip-fill-rule"
	properties to specify the clip path and fill rule, and used these
	to calculate bounds, paint, and do hit testing.

	* src/goocanvasitemsimple.h (struct _GooCanvasItemSimpleData): added
	clip_path_commands and clip_fill_rule.

	* src/goocanvastext.c (goo_canvas_text_set_model): 
	* src/goocanvasrect.c (goo_canvas_rect_set_model): 
	* src/goocanvaspolyline.c (goo_canvas_polyline_set_model): 
	* src/goocanvaspath.c (goo_canvas_path_set_model): 
	* src/goocanvasimage.c (goo_canvas_image_set_model): 
	* src/goocanvasgroup.c (goo_canvas_group_set_model): 
	* src/goocanvasellipse.c (goo_canvas_ellipse_set_model): use
	goo_canvas_item_simple_set_model() rather than getting parent iface.
	(For GooCanvasTable this actually caused a crash as when it called
	the GooCanvasGroup function that got the parent iface which pointed to
	itself so it got into an infinite loop.)

	* demo/mv-demo-clipping.c: 
	* demo/demo-clipping.c: new files for clipping demo pages.

	* demo/Makefile.am: 
	* demo/mv-demo.c: 
	* demo/demo.c: added clipping pages.



Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/goocanvas/ChangeLog,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -d -r1.76 -r1.77
--- ChangeLog	13 Feb 2007 13:25:09 -0000	1.76
+++ ChangeLog	15 Feb 2007 14:18:50 -0000	1.77
@@ -1,3 +1,37 @@
+2007-02-15  Damon Chaplin  <damon at gnome.org>
+
+	* src/goocanvasutils.c: 
+	* src/goocanvaspath.c: moved data structures and code for parsing and
+	creating SVG paths from goocanvaspath.[hc] to goocanvasutils.[hc].
+	Added goo_canvas_parse_path_data() and goo_canvas_create_path() public
+	functions.
+
+	* src/goocanvasitemsimple.c: added "clip-path" and "clip-fill-rule"
+	properties to specify the clip path and fill rule, and used these
+	to calculate bounds, paint, and do hit testing.
+
+	* src/goocanvasitemsimple.h (struct _GooCanvasItemSimpleData): added
+	clip_path_commands and clip_fill_rule.
+
+	* src/goocanvastext.c (goo_canvas_text_set_model): 
+	* src/goocanvasrect.c (goo_canvas_rect_set_model): 
+	* src/goocanvaspolyline.c (goo_canvas_polyline_set_model): 
+	* src/goocanvaspath.c (goo_canvas_path_set_model): 
+	* src/goocanvasimage.c (goo_canvas_image_set_model): 
+	* src/goocanvasgroup.c (goo_canvas_group_set_model): 
+	* src/goocanvasellipse.c (goo_canvas_ellipse_set_model): use
+	goo_canvas_item_simple_set_model() rather than getting parent iface.
+	(For GooCanvasTable this actually caused a crash as when it called
+	the GooCanvasGroup function that got the parent iface which pointed to
+	itself so it got into an infinite loop.)
+
+	* demo/mv-demo-clipping.c: 
+	* demo/demo-clipping.c: new files for clipping demo pages.
+
+	* demo/Makefile.am: 
+	* demo/mv-demo.c: 
+	* demo/demo.c: added clipping pages.
+
 2007-02-13  Damon Chaplin  <damon at gnome.org>
 
 	* src/goocanvas.c (goo_canvas_size_allocate): only allocate the child

Index: TODO
===================================================================
RCS file: /cvs/cairo/goocanvas/TODO,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- TODO	13 Feb 2007 12:32:44 -0000	1.22
+++ TODO	15 Feb 2007 14:18:50 -0000	1.23
@@ -1,13 +1,14 @@
 
 Bugs
 
- o Demo text layout is changing when scale is 0.65. Maybe bug 341481.
- o Text item view bounds should use ink rect.
+ o Demo text layout is changing when scale is changed. Maybe bug 341481.
+ o Text item bounds should use ink rect.
+ o Should clip in goo_canvas_paint()? (e.g. for printing)
+ o Table should clip children.
 
 
 Features definitely needed:
 
- o Clip paths/masks for items. Also clip in paint()?
  o Editable text item - a port of GtkTextView.
 
 



More information about the cairo-commit mailing list