1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
5 Animations as multi-frame structures.
7 <!-- ##### SECTION Long_Description ##### -->
9 The <application>gdk-pixbuf</application> library provides a
10 simple mechanism to load and represent animations, primarily
11 animated GIF files. Animations are represented as lists of
12 #GdkPixbufFrame structures. Each frame structure contains a
13 #GdkPixbuf structure and information about the frame's overlay
17 <!-- ##### SECTION See_Also ##### -->
22 <!-- ##### ENUM GdkPixbufFrameAction ##### -->
24 Each animation frame can have several things happen to it when the
25 next frame is displayed. The #GdkPixbufFrameAction determines
26 this. These are essentially the overlay modes supported by GIF
30 @GDK_PIXBUF_FRAME_RETAIN: The previous image should remain displayed,
31 and will potentially be occluded by the new frame.
32 @GDK_PIXBUF_FRAME_DISPOSE: The animation will be reverted to the state
33 before the frame was shown.
34 @GDK_PIXBUF_FRAME_REVERT: The animation will be reverted to the first
37 <!-- ##### STRUCT GdkPixbufFrame ##### -->
39 This structure describes a frame in a #GdkPixbufAnimation. Each
40 frame consists of a #GdkPixbuf, an offset of the frame within the
41 animation's bounding box, a duration, and an overlay mode or
51 <!-- ##### STRUCT GdkPixbufAnimation ##### -->
53 This structure describes an animation, which is represented as a
54 list of #GdkPixbufFrame structures.
63 <!-- ##### STRUCT GdkPixbufAnimationClass ##### -->
69 <!-- ##### FUNCTION gdk_pixbuf_animation_new_from_file ##### -->
78 <!-- ##### FUNCTION gdk_pixbuf_animation_ref ##### -->
87 <!-- ##### FUNCTION gdk_pixbuf_animation_unref ##### -->
95 <!-- ##### FUNCTION gdk_pixbuf_animation_get_frames ##### -->
104 <!-- ##### FUNCTION gdk_pixbuf_animation_get_width ##### -->
113 <!-- ##### FUNCTION gdk_pixbuf_animation_get_num_frames ##### -->
122 <!-- ##### FUNCTION gdk_pixbuf_animation_get_height ##### -->
131 <!-- ##### FUNCTION gdk_pixbuf_frame_get_pixbuf ##### -->
140 <!-- ##### FUNCTION gdk_pixbuf_frame_get_action ##### -->
149 <!-- ##### FUNCTION gdk_pixbuf_frame_get_y_offset ##### -->
158 <!-- ##### FUNCTION gdk_pixbuf_frame_get_delay_time ##### -->
167 <!-- ##### FUNCTION gdk_pixbuf_frame_get_x_offset ##### -->
176 sgml-parent-document: ("../gdk-pixbuf.sgml" "book" "refsect2" "")