[cairo-commit] goocanvas ChangeLog,1.81,1.82 TODO,1.25,1.26

Damon Chaplin commit at pdx.freedesktop.org
Tue Feb 20 06:22:09 PST 2007


Committed by: damon

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

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

	* src/goocanvastext.c (goo_canvas_text_create_layout): 
	(goo_canvas_text_get_item_at): use the ink rect as well as the logical
	rect when calculating the bounds or doing hit-testing.

	* src/goocanvastable.c (goo_canvas_table_size_allocate_pass1): shrink
	homogeneous tables if appropriate.

	* src/goocanvaswidget.c (goo_canvas_widget_get_item_at): return the
	widget item if the point is within its bounds.

	* src/goocanvas.c (goo_canvas_render): if bounds are passed in set
	the clip path to the bounds.

	* demo/demo.c (write_pdf_clicked): added code to test clipped painting.



Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/goocanvas/ChangeLog,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -d -r1.81 -r1.82
--- ChangeLog	19 Feb 2007 13:22:35 -0000	1.81
+++ ChangeLog	20 Feb 2007 14:22:03 -0000	1.82
@@ -1,3 +1,20 @@
+2007-02-20  Damon Chaplin  <damon at gnome.org>
+
+	* src/goocanvastext.c (goo_canvas_text_create_layout): 
+	(goo_canvas_text_get_item_at): use the ink rect as well as the logical
+	rect when calculating the bounds or doing hit-testing.
+
+	* src/goocanvastable.c (goo_canvas_table_size_allocate_pass1): shrink
+	homogeneous tables if appropriate.
+
+	* src/goocanvaswidget.c (goo_canvas_widget_get_item_at): return the
+	widget item if the point is within its bounds.
+
+	* src/goocanvas.c (goo_canvas_render): if bounds are passed in set
+	the clip path to the bounds.
+
+	* demo/demo.c (write_pdf_clicked): added code to test clipped painting.
+
 2007-02-19  Damon Chaplin  <damon at gnome.org>
 
 	* demo/scalability-demo.c (setup_canvas): set the font on the root

Index: TODO
===================================================================
RCS file: /cvs/cairo/goocanvas/TODO,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- TODO	19 Feb 2007 11:16:14 -0000	1.25
+++ TODO	20 Feb 2007 14:22:03 -0000	1.26
@@ -2,8 +2,6 @@
 Bugs
 
  o Demo text layout is changing when scale is changed. Maybe bug 341481.
- o Text item bounds should use ink rect, though layout maybe should use logical
- o Should clip in goo_canvas_paint() if bounds passed in? (e.g. for printing)
  o Table should clip children, if it had to shrink.
 
 Features definitely needed:



More information about the cairo-commit mailing list