goo_canvas_item_set_transform (item, &matrix);
}
+void
+goo_demo_item_glide_to (GooCanvasItem *item,
+ gdouble x,
+ gdouble y)
+{
+ goo_canvas_item_animate (item, x, y,
+ 1.0, 0,
+ 1000, 40,
+ GOO_CANVAS_ANIMATE_FREEZE);
+}
+
/* The convenience function to create new items. This should start with a
parent argument and end with a variable list of object properties to fit
in with the standard canvas items. */
for (i = 0; i < num_letters; i++) {
get_letter_position (indices[i], &x, &y);
- goo_demo_item_move_to (letter_items[i], x, y);
+ goo_demo_item_glide_to (letter_items[i], x, y);
}
return TRUE;