~oem-solutions-group/unity-2d/clutter-1.0

« back to all changes in this revision

Viewing changes to doc/reference/clutter/xml/clutter-animation.xml

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2009-09-06 21:02:03 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090906210203-pqjxypxpcvdp4vr7
Tags: 1.0.4-0ubuntu1
* New upstream release (LP: #425339)
  - Depend on GObject-Introspection 0.6.4, to fix the generation of
    introspection data from uninstalled libraries
  - Fix a crash when closing multiple stages
  - Help gtk-doc pick up ClutterInterval as an object
  - Do not premultiply the color twice inside the CoglPango renderer
  - Fix keyboard navigation of works inside ClutterText
  - Allow key events to bubble up to its parent container if the
    event contains the control modifier is detected
  - Documentation fixes
  - Build fixes
  - Update the MingW script for building Clutter on Windows
  - Update the build instructions for OS X
  - On X11, make sure to destroy the stage Window when switching to
    a foreign one
  - Fix a bug where clutter_actor_apply_relative_transform() was no
    using the right vertex to perform the transformation
* debian/control: bump gobject-introspection and related from 0.6.3 to
  0.6.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version="1.0"?>
2
2
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
3
3
               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
4
 
<!ENTITY version "1.0.0">
 
4
<!ENTITY version "1.0.4">
5
5
]>
6
6
 
7
7
<refentry id="clutter-Implicit-Animations">
857
857
<para>
858
858
<informalexample><programlisting>
859
859
  clutter_actor_animate (rectangle, CLUTTER_LINEAR, 250,
860
 
                         "width", 100,
861
 
                         "height", 100,
 
860
                         "width", 100.0,
 
861
                         "height", 100.0,
862
862
                         NULL);
863
863
</programlisting></informalexample>
864
864
</para>
878
878
</para>
879
879
<para>
880
880
<informalexample><programlisting>
881
 
  clutter_actor_animate (actor, CLUTTER_EASE_IN, 100,
882
 
                         "rotation-angle-z", 360,
 
881
  clutter_actor_animate (actor, CLUTTER_EASE_IN_SINE, 100,
 
882
                         "rotation-angle-z", 360.0,
883
883
                         "fixed::rotation-center-z", &amp;center,
884
884
                         NULL);
885
885
</programlisting></informalexample>
912
912
    clutter_actor_hide (actor);
913
913
  }
914
914
 
915
 
  clutter_actor_animate (actor, CLUTTER_EASE_IN, 100,
 
915
  clutter_actor_animate (actor, CLUTTER_EASE_IN_CUBIC, 100,
916
916
                         "opacity", 0,
917
917
                         "signal::completed", on_animation_completed, actor,
918
918
                         NULL);
935
935
<para>
936
936
<informalexample><programlisting>
937
937
  clutter_actor_animate (actor, CLUTTER_LINEAR, 250,
938
 
                         "width", 100,
939
 
                         "height", 100,
 
938
                         "width", 100.0,
 
939
                         "height", 100.0,
940
940
                         NULL);
941
941
  clutter_actor_animate (actor, CLUTTER_EASE_IN_CUBIC, 500,
942
 
                         "x", 100,
943
 
                         "y", 100,
944
 
                         "width", 200,
 
942
                         "x", 100.0,
 
943
                         "y", 100.0,
 
944
                         "width", 200.0,
945
945
                         NULL);
946
946
</programlisting></informalexample>
947
947
</para>
951
951
<para>
952
952
<informalexample><programlisting>
953
953
  clutter_actor_animate (actor, CLUTTER_EASE_IN_CUBIC, 500,
954
 
                         "x", 100,
955
 
                         "y", 100,
956
 
                         "width", 200,
957
 
                         "height", 100,
 
954
                         "x", 100.0,
 
955
                         "y", 100.0,
 
956
                         "width", 200.0,
 
957
                         "height", 100.0,
958
958
                         NULL);
959
959
</programlisting></informalexample>
960
960
</para>
978
978
                          ClutterActor     *actor)
979
979
  {
980
980
    clutter_actor_animate (actor, CLUTTER_EASE_OUT_CUBIC, 250,
981
 
                           "x", 500,
982
 
                           "y", 500,
 
981
                           "x", 500.0,
 
982
                           "y", 500.0,
983
983
                           NULL);
984
984
  }
985
985
 
986
986
    ...
987
987
    animation = clutter_actor_animate (actor, CLUTTER_EASE_IN_CUBIC, 250,
988
 
                                       "x", 100,
989
 
                                       "y", 100,
 
988
                                       "x", 100.0,
 
989
                                       "y", 100.0,
990
990
                                       NULL);
991
991
    g_signal_connect (animation, "completed",
992
992
                      G_CALLBACK (on_animation_completed),