[cairo-commit] goocanvas/src goocanvas.h, 1.6, 1.7 goocanvasitem.c, 1.18, 1.19

Damon Chaplin commit at pdx.freedesktop.org
Tue Feb 13 04:40:03 PST 2007


Committed by: damon

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

Modified Files:
	goocanvas.h goocanvasitem.c 
Log Message:
fix docs


Index: goocanvas.h
===================================================================
RCS file: /cvs/cairo/goocanvas/src/goocanvas.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- goocanvas.h	9 Feb 2007 13:41:03 -0000	1.6
+++ goocanvas.h	13 Feb 2007 12:39:57 -0000	1.7
@@ -130,6 +130,8 @@
  * GooCanvasClass
  * @create_item: a virtual method that subclasses may override to create custom
  *  canvas items for item models.
+ * @item_created: signal emitted when a new canvas item has been created.
+ *  Applications can connect to this to setup signal handlers for the new item.
  *
  * The #GooCanvasClass-struct struct contains one virtual method that
  * subclasses may override.

Index: goocanvasitem.c
===================================================================
RCS file: /cvs/cairo/goocanvas/src/goocanvasitem.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- goocanvasitem.c	13 Feb 2007 12:32:44 -0000	1.18
+++ goocanvasitem.c	13 Feb 2007 12:39:57 -0000	1.19
@@ -1232,7 +1232,10 @@
  * @y: the final y offset from the current position.
  * @scale: the final scale of the item.
  * @degrees: the final rotation of the item.
- * @absolute: if the values are absolute or relative to the current transform.
+ * @absolute: if the @x, @y, @scale and @degrees values are absolute, or
+ *  relative to the current transform. Note that absolute animations only work
+ *  if the item currently has a simple transform. If the item has a shear or
+ *  some other complicated transform it may result in strange animations.
  * @duration: the duration of the animation, in milliseconds (1/1000ths of a
  *  second).
  * @step_time: the time between each animation step, in milliseconds.



More information about the cairo-commit mailing list