Animations
<!-- ##### SECTION Short_Description ##### -->
-Animations as multi-frame structures.
+Animated images.
<!-- ##### SECTION Long_Description ##### -->
<para>
- The &gdk-pixbuf; library provides a simple mechanism to load and
- represent animations, primarily animated GIF files. Animations
- are represented as lists of #GdkPixbufFrame structures. Each
- frame structure contains a #GdkPixbuf structure and information
- about the frame's overlay mode and duration.
+ The &gdk-pixbuf; library provides a simple mechanism to load and represent
+ animations. An animation is conceptually a series of frames to be displayed
+ over time. Each frame is the same size. The animation may not be represented
+ as a series of frames internally; for example, it may be stored as a
+ sprite and instructions for moving the sprite around a background. To display
+ an animation you don't need to understand its representation, however; you just
+ ask &gdk-pixbuf; what should be displayed at a given point in time.
</para>
<!-- ##### SECTION See_Also ##### -->
#GdkPixbufLoader
</para>
-<!-- ##### ENUM GdkPixbufFrameAction ##### -->
- <para>
- Each animation frame can have several things happen to it when the
- next frame is displayed. The #GdkPixbufFrameAction determines
- this. These are essentially the overlay modes supported by GIF
- animations.
- </para>
+<!-- ##### SECTION Stability_Level ##### -->
-@GDK_PIXBUF_FRAME_RETAIN: The previous image should remain displayed,
-and will potentially be occluded by the new frame.
-@GDK_PIXBUF_FRAME_DISPOSE: The animation will be reverted to the state
-before the frame was shown.
-@GDK_PIXBUF_FRAME_REVERT: The animation will be reverted to the first
-frame.
-<!-- ##### STRUCT GdkPixbufFrame ##### -->
- <para>
- This structure describes a frame in a #GdkPixbufAnimation. Each
- frame consists of a #GdkPixbuf, an offset of the frame within the
- animation's bounding box, a duration, and an overlay mode or
- action.
- </para>
+<!-- ##### SECTION Image ##### -->
<!-- ##### STRUCT GdkPixbufAnimation ##### -->
- <para>
- This structure describes an animation, which is represented as a
- list of #GdkPixbufFrame structures.
- </para>
+<para>
+An opaque struct representing an animation.
+</para>
+
+
+<!-- ##### STRUCT GdkPixbufAnimationIter ##### -->
+<para>
+An opaque struct representing an iterator which points to a
+certain position in an animation.
+</para>
<!-- ##### FUNCTION gdk_pixbuf_animation_new_from_file ##### -->
@Returns:
-<!-- ##### FUNCTION gdk_pixbuf_animation_ref ##### -->
+<!-- ##### FUNCTION gdk_pixbuf_animation_get_width ##### -->
<para>
</para>
@Returns:
-<!-- ##### FUNCTION gdk_pixbuf_animation_unref ##### -->
+<!-- ##### FUNCTION gdk_pixbuf_animation_get_height ##### -->
<para>
</para>
@animation:
+@Returns:
-<!-- ##### FUNCTION gdk_pixbuf_animation_get_frames ##### -->
+<!-- ##### FUNCTION gdk_pixbuf_animation_get_iter ##### -->
<para>
</para>
@animation:
+@start_time:
@Returns:
-<!-- ##### FUNCTION gdk_pixbuf_animation_get_width ##### -->
+<!-- ##### FUNCTION gdk_pixbuf_animation_is_static_image ##### -->
<para>
</para>
@Returns:
-<!-- ##### FUNCTION gdk_pixbuf_animation_get_num_frames ##### -->
+<!-- ##### FUNCTION gdk_pixbuf_animation_get_static_image ##### -->
<para>
</para>
@Returns:
-<!-- ##### FUNCTION gdk_pixbuf_animation_get_height ##### -->
+<!-- ##### FUNCTION gdk_pixbuf_animation_iter_advance ##### -->
<para>
</para>
-@animation:
+@iter:
+@current_time:
@Returns:
-<!-- ##### FUNCTION gdk_pixbuf_frame_get_pixbuf ##### -->
+<!-- ##### FUNCTION gdk_pixbuf_animation_iter_get_delay_time ##### -->
<para>
</para>
-@frame:
+@iter:
@Returns:
-<!-- ##### FUNCTION gdk_pixbuf_frame_get_action ##### -->
+<!-- ##### FUNCTION gdk_pixbuf_animation_iter_on_currently_loading_frame ##### -->
<para>
</para>
-@frame:
+@iter:
@Returns:
-<!-- ##### FUNCTION gdk_pixbuf_frame_get_y_offset ##### -->
+<!-- ##### FUNCTION gdk_pixbuf_animation_iter_get_pixbuf ##### -->
<para>
</para>
-@frame:
+@iter:
@Returns:
-<!-- ##### FUNCTION gdk_pixbuf_frame_get_delay_time ##### -->
+<!-- ##### STRUCT GdkPixbufSimpleAnim ##### -->
+<para>
+An opaque struct representing a simple animation.
+</para>
+
+
+<!-- ##### ARG GdkPixbufSimpleAnim:loop ##### -->
+<para>
+
+</para>
+
+<!-- ##### FUNCTION gdk_pixbuf_simple_anim_new ##### -->
<para>
</para>
-@frame:
+@width:
+@height:
+@rate:
@Returns:
-<!-- ##### FUNCTION gdk_pixbuf_frame_get_x_offset ##### -->
+<!-- ##### FUNCTION gdk_pixbuf_simple_anim_add_frame ##### -->
<para>
</para>
-@frame:
-@Returns: <!--
-Local variables:
-mode: sgml
-sgml-parent-document: ("../gdk-pixbuf.sgml" "book" "refsect2" "")
-End:
--->
+@animation:
+@pixbuf:
+
+
+<!-- ##### FUNCTION gdk_pixbuf_simple_anim_set_loop ##### -->
+<para>
+
+</para>
+
+@animation:
+@loop:
+
+
+<!-- ##### FUNCTION gdk_pixbuf_simple_anim_get_loop ##### -->
+<para>
+
+</para>
+
+@animation:
+@Returns: