rendered paste body#include <clutter/clutter.h>ClutterColor black = {0,0,0,0xff};ClutterColor color = {0xff,0xff,0xff,0xff};int main (int argc, char **argv){ ClutterActor *stage = NULL, *group, *rect1, *rect2; if (!clutter_init (&argc, &argv)) return 0; stage = clutter_stage_new (); clutter_stage_set_color (CLUTTER_STAGE (stage), &black); clutter_actor_show (stage); group = clutter_group_new (); rect1 = g_object_new (CLUTTER_TYPE_RECTANGLE, "x", 50.0, "y", -50.0, "width", 400.0, "height", 400.0, "color", &color, NULL); rect2 = g_object_new (CLUTTER_TYPE_RECTANGLE, "x", 440.0, "y", 300.0, "depth", 100.0, "width", 400.0, "height", 200.0, "color", &color, NULL); clutter_container_add (CLUTTER_CONTAINER (group), rect1, rect2, NULL); clutter_container_add_actor (CLUTTER_CONTAINER (stage), group); clutter_stage_set_user_resizable (CLUTTER_STAGE (stage), TRUE); clutter_actor_animate (rect2, CLUTTER_LINEAR, 4000, "depth", -120.0, NULL); clutter_main (); return 0;}