[cairo-commit] goocanvas ChangeLog,1.112,1.113 TODO,1.31,1.32

Damon Chaplin commit at pdx.freedesktop.org
Mon Apr 30 14:09:55 PDT 2007


Committed by: damon

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

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

	* src/goocanvas.c (goo_canvas_create_cairo_context): if the GooCanvas
	isn't realized, use a temporary image surface to create the cairo_t.
	Hopefully that will result in exactly the same bounds of items.
	(goo_canvas_get_item): initialize item to NULL.



Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/goocanvas/ChangeLog,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -d -r1.112 -r1.113
--- ChangeLog	27 Apr 2007 10:01:51 -0000	1.112
+++ ChangeLog	30 Apr 2007 21:09:45 -0000	1.113
@@ -1,3 +1,10 @@
+2007-04-30  Damon Chaplin  <damon at gnome.org>
+
+	* src/goocanvas.c (goo_canvas_create_cairo_context): if the GooCanvas
+	isn't realized, use a temporary image surface to create the cairo_t.
+	Hopefully that will result in exactly the same bounds of items.
+	(goo_canvas_get_item): initialize item to NULL.
+
 2007-04-27  Damon Chaplin  <damon at gnome.org>
 
 	* src/goocanvasitem.h: 

Index: TODO
===================================================================
RCS file: /cvs/cairo/goocanvas/TODO,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- TODO	25 Apr 2007 11:08:25 -0000	1.31
+++ TODO	30 Apr 2007 21:09:45 -0000	1.32
@@ -1,12 +1,6 @@
 
 Bugs
 
- o Currently the canvas widget must be placed in a GTK+ window before any
-   calls are used that would cause a canvas update.
-   This is because the canvas needs a window to create a cairo_t to do the
-   position calculations. We may use a temporary image cairo_t in future to
-   avoid this issue.
-
  o I need to check the bounds are being calculated correctly so that they
    are correct for all zoom settings. Since cairo uses fixed point maths
    and I think only calculates up to a certain tolerance there might be
@@ -21,6 +15,9 @@
  o Editable text item - a port of GtkTextView.
  o Tooltips - I have code to support tooltips using the new API in GTK+ 2.12.
 
+ o Need a function to setup a given cairo context with the defaults settings
+   of a GooCanvas, e.g. default line width.
+
 
 Possible additional features:
 



More information about the cairo-commit mailing list