2000-01-02 03:59:22 +00:00
|
|
|
<!-- ##### SECTION Title ##### -->
|
2001-02-12 17:50:13 +00:00
|
|
|
Animations
|
2000-01-02 03:59:22 +00:00
|
|
|
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
2001-05-07 15:58:47 +00:00
|
|
|
Animated images.
|
2000-01-02 03:59:22 +00:00
|
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
2002-03-07 23:20:16 +00:00
|
|
|
<para><anchor id="GdkPixbufAnimation">
|
2001-05-07 15:58:47 +00:00
|
|
|
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.
|
2001-02-12 17:50:13 +00:00
|
|
|
</para>
|
2000-12-12 07:32:32 +00:00
|
|
|
|
2000-01-02 03:59:22 +00:00
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
2001-02-12 17:50:13 +00:00
|
|
|
<para>
|
|
|
|
#GdkPixbufLoader
|
|
|
|
</para>
|
2000-12-12 07:32:32 +00:00
|
|
|
|
2001-05-10 23:22:15 +00:00
|
|
|
<!-- ##### STRUCT GdkPixbufFrame ##### -->
|
|
|
|
<para>
|
2001-10-30 23:58:00 +00:00
|
|
|
This object describes an individual frame of an animation.
|
2001-05-10 23:22:15 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### STRUCT GdkPixbufAnimation ##### -->
|
2001-02-12 17:50:13 +00:00
|
|
|
<para>
|
2001-05-07 15:58:47 +00:00
|
|
|
This object describes an animation.
|
2001-02-12 17:50:13 +00:00
|
|
|
</para>
|
2000-10-29 08:03:34 +00:00
|
|
|
|
|
|
|
|
2001-10-13 05:52:14 +00:00
|
|
|
<!-- ##### STRUCT GdkPixbufAnimationIter ##### -->
|
|
|
|
<para>
|
2001-10-30 23:58:00 +00:00
|
|
|
A #GdkPixbufAnimationIter provides the necessary functionality to
|
|
|
|
display an animation. See gdk_pixbuf_animation_get_iter().
|
2001-10-13 05:52:14 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### FUNCTION gdk_pixbuf_animation_new_from_file ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@filename:
|
|
|
|
@error:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_pixbuf_animation_ref ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@animation:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_pixbuf_animation_unref ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@animation:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_pixbuf_animation_get_width ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@animation:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_pixbuf_animation_get_height ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@animation:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2001-10-13 05:52:14 +00:00
|
|
|
<!-- ##### FUNCTION gdk_pixbuf_animation_get_iter ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@animation:
|
|
|
|
@start_time:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_pixbuf_animation_is_static_image ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@animation:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_pixbuf_animation_get_static_image ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@animation:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_pixbuf_animation_iter_advance ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@iter:
|
|
|
|
@current_time:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_pixbuf_animation_iter_get_delay_time ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@iter:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_pixbuf_animation_iter_on_currently_loading_frame ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@iter:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_pixbuf_animation_iter_get_pixbuf ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@iter:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|