[cairo-commit] goocanvas/src goocanvasitem.c, 1.22,
1.23 goocanvasitem.h, 1.15, 1.16 goocanvasitemmodel.c, 1.10,
1.11 goocanvasitemmodel.h, 1.8, 1.9
Damon Chaplin
commit at pdx.freedesktop.org
Mon Feb 26 17:42:13 PST 2007
Committed by: damon
Update of /cvs/cairo/goocanvas/src
In directory kemper:/tmp/cvs-serv6697/src
Modified Files:
goocanvasitem.c goocanvasitem.h goocanvasitemmodel.c
goocanvasitemmodel.h
Log Message:
2007-02-27 Damon Chaplin <damon at gnome.org>
* src/goocanvasitemmodel.[hc]:
* src/goocanvasitem.[hc]: used name "transform" for all arguments
to get/set_transform functions.
Index: goocanvasitem.c
===================================================================
RCS file: /cvs/cairo/goocanvas/src/goocanvasitem.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- goocanvasitem.c 27 Feb 2007 01:28:38 -0000 1.22
+++ goocanvasitem.c 27 Feb 2007 01:42:07 -0000 1.23
@@ -762,11 +762,11 @@
**/
gboolean
goo_canvas_item_get_transform (GooCanvasItem *item,
- cairo_matrix_t *matrix)
+ cairo_matrix_t *transform)
{
GooCanvasItemIface *iface = GOO_CANVAS_ITEM_GET_IFACE (item);
- return iface->get_transform ? iface->get_transform (item, matrix) : FALSE;
+ return iface->get_transform ? iface->get_transform (item, transform) : FALSE;
}
@@ -803,16 +803,16 @@
/**
* goo_canvas_item_set_transform:
* @item: an item.
- * @matrix: the new transformation matrix, or %NULL to reset the
+ * @transform: the new transformation matrix, or %NULL to reset the
* transformation to the identity matrix.
*
* Sets the transformation matrix of an item.
**/
void
goo_canvas_item_set_transform (GooCanvasItem *item,
- cairo_matrix_t *matrix)
+ cairo_matrix_t *transform)
{
- GOO_CANVAS_ITEM_GET_IFACE (item)->set_transform (item, matrix);
+ GOO_CANVAS_ITEM_GET_IFACE (item)->set_transform (item, transform);
}
Index: goocanvasitem.h
===================================================================
RCS file: /cvs/cairo/goocanvas/src/goocanvasitem.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- goocanvasitem.h 27 Feb 2007 01:28:38 -0000 1.15
+++ goocanvasitem.h 27 Feb 2007 01:42:07 -0000 1.16
@@ -215,9 +215,9 @@
/* Virtual methods that canvas items may implement. */
gboolean (* get_transform) (GooCanvasItem *item,
- cairo_matrix_t *matrix);
+ cairo_matrix_t *transform);
void (* set_transform) (GooCanvasItem *item,
- cairo_matrix_t *matrix);
+ cairo_matrix_t *transform);
GooCanvasStyle* (* get_style) (GooCanvasItem *item);
void (* set_style) (GooCanvasItem *item,
GooCanvasStyle *style);
@@ -328,9 +328,9 @@
GooCanvasItem *below);
gboolean goo_canvas_item_get_transform (GooCanvasItem *item,
- cairo_matrix_t *matrix);
+ cairo_matrix_t *transform);
void goo_canvas_item_set_transform (GooCanvasItem *item,
- cairo_matrix_t *matrix);
+ cairo_matrix_t *transform);
void goo_canvas_item_set_simple_transform (GooCanvasItem *item,
gdouble x,
gdouble y,
Index: goocanvasitemmodel.c
===================================================================
RCS file: /cvs/cairo/goocanvas/src/goocanvasitemmodel.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- goocanvasitemmodel.c 27 Feb 2007 01:28:38 -0000 1.10
+++ goocanvasitemmodel.c 27 Feb 2007 01:42:07 -0000 1.11
@@ -527,27 +527,27 @@
**/
gboolean
goo_canvas_item_model_get_transform (GooCanvasItemModel *model,
- cairo_matrix_t *matrix)
+ cairo_matrix_t *transform)
{
GooCanvasItemModelIface *iface = GOO_CANVAS_ITEM_MODEL_GET_IFACE (model);
- return iface->get_transform ? iface->get_transform (model, matrix) : FALSE;
+ return iface->get_transform ? iface->get_transform (model, transform) : FALSE;
}
/**
* goo_canvas_item_model_set_transform:
* @model: an item model.
- * @matrix: the new transformation matrix, or %NULL to reset the
+ * @transform: the new transformation matrix, or %NULL to reset the
* transformation to the identity matrix.
*
* Sets the transformation matrix of an item model.
**/
void
goo_canvas_item_model_set_transform (GooCanvasItemModel *model,
- cairo_matrix_t *matrix)
+ cairo_matrix_t *transform)
{
- GOO_CANVAS_ITEM_MODEL_GET_IFACE (model)->set_transform (model, matrix);
+ GOO_CANVAS_ITEM_MODEL_GET_IFACE (model)->set_transform (model, transform);
}
Index: goocanvasitemmodel.h
===================================================================
RCS file: /cvs/cairo/goocanvas/src/goocanvasitemmodel.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- goocanvasitemmodel.h 27 Feb 2007 01:28:38 -0000 1.8
+++ goocanvasitemmodel.h 27 Feb 2007 01:42:07 -0000 1.9
@@ -115,9 +115,9 @@
/* Virtual methods that all item models may implement. */
gboolean (* get_transform) (GooCanvasItemModel *model,
- cairo_matrix_t *matrix);
+ cairo_matrix_t *transform);
void (* set_transform) (GooCanvasItemModel *model,
- cairo_matrix_t *matrix);
+ cairo_matrix_t *transform);
GooCanvasStyle* (* get_style) (GooCanvasItemModel *model);
void (* set_style) (GooCanvasItemModel *model,
GooCanvasStyle *style);
@@ -193,9 +193,9 @@
GooCanvasItemModel *below);
gboolean goo_canvas_item_model_get_transform (GooCanvasItemModel *model,
- cairo_matrix_t *matrix);
+ cairo_matrix_t *transform);
void goo_canvas_item_model_set_transform (GooCanvasItemModel *model,
- cairo_matrix_t *matrix);
+ cairo_matrix_t *transform);
void goo_canvas_item_model_set_simple_transform (GooCanvasItemModel *model,
gdouble x,
gdouble y,
More information about the cairo-commit
mailing list