gdk_pixbuf2 1.0.3-x86-mingw32 → 1.1.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/gdk_pixbuf2/rbgdk-pixbuf-format.c +49 -40
- data/ext/gdk_pixbuf2/rbgdk-pixbuf-loader.c +50 -40
- data/ext/gdk_pixbuf2/rbgdk-pixbuf.c +250 -168
- data/ext/gdk_pixbuf2/rbgdk-pixbuf.h +25 -18
- data/ext/gdk_pixbuf2/rbgdk-pixbuf2conversions.h +42 -0
- data/ext/gdk_pixbuf2/rbgdk-pixbuf2private.h +35 -0
- data/ext/gdk_pixbuf2/rbgdk-pixbufanimation.c +46 -83
- data/ext/gdk_pixbuf2/rbgdk-pixbufanimationiter.c +71 -0
- data/ext/gdk_pixbuf2/rbgdk-pixbufsimpleanim.c +29 -17
- data/ext/gdk_pixbuf2/rbgdk-pixdata.c +81 -77
- data/lib/1.8/gdk_pixbuf2.so +0 -0
- data/lib/1.9/gdk_pixbuf2.so +0 -0
- data/vendor/local/bin/gdk-pixbuf-csource.exe +0 -0
- data/vendor/local/bin/gdk-pixbuf-query-loaders.exe +0 -0
- data/vendor/local/bin/libgdk_pixbuf-2.0-0.dll +0 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-animation.h +40 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +200 -5
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +82 -3
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h +170 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h +6 -1
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h +5 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h +42 -1
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache +2 -2
- data/vendor/local/lib/gdk_pixbuf-2.0.lib +0 -0
- data/vendor/local/lib/libgdk_pixbuf-2.0.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gdk-pixbuf-2.0.pc +4 -2
- data/vendor/local/manifest/{gdk-pixbuf-dev_2.22.1-1_win32.mft → gdk-pixbuf-dev_2.24.0-1_win32.mft} +12 -13
- data/vendor/local/manifest/{gdk-pixbuf_2.22.1-1_win32.mft → gdk-pixbuf_2.24.0-1_win32.mft} +2 -1
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +181 -150
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/annotation-glossary.html +30 -9
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-10.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-12.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-14.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-2.html +35 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-4.html +13 -9
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-6.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-8.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-deprecated.html +7 -7
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-full.html +251 -629
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html +644 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +372 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +642 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +417 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +495 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +485 -184
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +168 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/{gdk-pixbuf-scaling.html → gdk-pixbuf-Scaling.html} +296 -190
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +617 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/{gdk-pixbuf-util.html → gdk-pixbuf-Utilities.html} +83 -93
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Versioning.html +63 -26
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-csource.html +16 -16
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-from-drawables.html +8 -8
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-rendering.html +8 -8
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-query-loaders.html +12 -12
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf.devhelp2 +149 -128
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.html +18 -18
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.sgml +184 -154
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/license.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn01.html +18 -18
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn02.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/style.css +2 -1
- data/vendor/local/share/locale/af/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ang/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/br/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/crh/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/io/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/li/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/my/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nso/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/uz/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/uz@cyrillic/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/man/man1/gdk-pixbuf-csource.1 +2 -2
- data/vendor/local/share/man/man1/gdk-pixbuf-query-loaders.1 +2 -2
- data/vendor/local/src/dieterv/packaging/gdk-pixbuf_2.24.0-1_win32.log +956 -0
- data/vendor/local/src/dieterv/packaging/gdk-pixbuf_2.24.0-1_win32.sh +97 -0
- metadata +26 -24
- data/ChangeLog +0 -482
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-animation.html +0 -654
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-creating.html +0 -406
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-file-loading.html +0 -402
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-file-saving.html +0 -685
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html +0 -460
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-inline.html +0 -516
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-refcounting.html +0 -132
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf.devhelp +0 -175
- data/vendor/local/src/tml/packaging/gdk-pixbuf_2.22.1-1_win32.log +0 -1012
- data/vendor/local/src/tml/packaging/gdk-pixbuf_2.22.1-1_win32.sh +0 -256
@@ -1,654 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>animation</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
|
-
<link rel="home" href="index.html" title="GDK-PixBuf Reference Manual">
|
8
|
-
<link rel="up" href="rn01.html" title="API Reference">
|
9
|
-
<link rel="prev" href="gdk-pixbuf-util.html" title="util">
|
10
|
-
<link rel="next" href="GdkPixbufLoader.html" title="GdkPixbufLoader">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
|
12
|
-
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
-
</head>
|
14
|
-
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
|
-
<tr valign="middle">
|
17
|
-
<td><a accesskey="p" href="gdk-pixbuf-util.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
-
<td><a accesskey="u" href="rn01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
-
<th width="100%" align="center">GDK-PixBuf Reference Manual</th>
|
21
|
-
<td><a accesskey="n" href="GdkPixbufLoader.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
-
</tr>
|
23
|
-
<tr><td colspan="5" class="shortcuts">
|
24
|
-
<a href="#gdk-pixbuf-animation.synopsis" class="shortcut">Top</a>
|
25
|
-
|
|
26
|
-
<a href="#gdk-pixbuf-animation.description" class="shortcut">Description</a>
|
27
|
-
|
|
28
|
-
<a href="#gdk-pixbuf-animation.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
-
|
|
30
|
-
<a href="#gdk-pixbuf-animation.properties" class="shortcut">Properties</a>
|
31
|
-
</td></tr>
|
32
|
-
</table>
|
33
|
-
<div class="refentry" title="animation">
|
34
|
-
<a name="gdk-pixbuf-animation"></a><div class="titlepage"></div>
|
35
|
-
<div class="refnamediv"><table width="100%"><tr>
|
36
|
-
<td valign="top">
|
37
|
-
<h2><span class="refentrytitle"><a name="gdk-pixbuf-animation.top_of_page"></a>animation</span></h2>
|
38
|
-
<p>animation</p>
|
39
|
-
</td>
|
40
|
-
<td valign="top" align="right"></td>
|
41
|
-
</tr></table></div>
|
42
|
-
<div class="refsynopsisdiv" title="Synopsis">
|
43
|
-
<a name="gdk-pixbuf-animation.synopsis"></a><h2>Synopsis</h2>
|
44
|
-
<a name="GdkPixbufAnimation"></a><a name="GdkPixbufAnimationIter"></a><a name="GdkPixbufSimpleAnim"></a><pre class="synopsis">
|
45
|
-
#include <gdk-pixbuf/gdk-pixbuf.h>
|
46
|
-
|
47
|
-
<a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimation-struct" title="GdkPixbufAnimation">GdkPixbufAnimation</a>;
|
48
|
-
<a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimationIter-struct" title="GdkPixbufAnimationIter">GdkPixbufAnimationIter</a>;
|
49
|
-
<a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimation"><span class="returnvalue">GdkPixbufAnimation</span></a> * <a class="link" href="gdk-pixbuf-animation.html#gdk-pixbuf-animation-new-from-file" title="gdk_pixbuf_animation_new_from_file ()">gdk_pixbuf_animation_new_from_file</a> (<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
|
50
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
51
|
-
<a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimation"><span class="returnvalue">GdkPixbufAnimation</span></a> * <a class="link" href="gdk-pixbuf-animation.html#gdk-pixbuf-animation-ref" title="gdk_pixbuf_animation_ref ()">gdk_pixbuf_animation_ref</a> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>);
|
52
|
-
<span class="returnvalue">void</span> <a class="link" href="gdk-pixbuf-animation.html#gdk-pixbuf-animation-unref" title="gdk_pixbuf_animation_unref ()">gdk_pixbuf_animation_unref</a> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>);
|
53
|
-
<span class="returnvalue">int</span> <a class="link" href="gdk-pixbuf-animation.html#gdk-pixbuf-animation-get-width" title="gdk_pixbuf_animation_get_width ()">gdk_pixbuf_animation_get_width</a> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>);
|
54
|
-
<span class="returnvalue">int</span> <a class="link" href="gdk-pixbuf-animation.html#gdk-pixbuf-animation-get-height" title="gdk_pixbuf_animation_get_height ()">gdk_pixbuf_animation_get_height</a> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>);
|
55
|
-
<a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimationIter"><span class="returnvalue">GdkPixbufAnimationIter</span></a> * <a class="link" href="gdk-pixbuf-animation.html#gdk-pixbuf-animation-get-iter" title="gdk_pixbuf_animation_get_iter ()">gdk_pixbuf_animation_get_iter</a> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>,
|
56
|
-
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Date-and-Time-Functions.html#GTimeVal"><span class="type">GTimeVal</span></a> *start_time</code></em>);
|
57
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gdk-pixbuf-animation.html#gdk-pixbuf-animation-is-static-image" title="gdk_pixbuf_animation_is_static_image ()">gdk_pixbuf_animation_is_static_image</a>
|
58
|
-
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>);
|
59
|
-
<a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="gdk-pixbuf-animation.html#gdk-pixbuf-animation-get-static-image" title="gdk_pixbuf_animation_get_static_image ()">gdk_pixbuf_animation_get_static_image</a>
|
60
|
-
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>);
|
61
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gdk-pixbuf-animation.html#gdk-pixbuf-animation-iter-advance" title="gdk_pixbuf_animation_iter_advance ()">gdk_pixbuf_animation_iter_advance</a> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a> *iter</code></em>,
|
62
|
-
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Date-and-Time-Functions.html#GTimeVal"><span class="type">GTimeVal</span></a> *current_time</code></em>);
|
63
|
-
<span class="returnvalue">int</span> <a class="link" href="gdk-pixbuf-animation.html#gdk-pixbuf-animation-iter-get-delay-time" title="gdk_pixbuf_animation_iter_get_delay_time ()">gdk_pixbuf_animation_iter_get_delay_time</a>
|
64
|
-
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a> *iter</code></em>);
|
65
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gdk-pixbuf-animation.html#gdk-pixbuf-animation-iter-on-currently-loading-frame" title="gdk_pixbuf_animation_iter_on_currently_loading_frame ()">gdk_pixbuf_animation_iter_on_currently_loading_frame</a>
|
66
|
-
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a> *iter</code></em>);
|
67
|
-
<a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="gdk-pixbuf-animation.html#gdk-pixbuf-animation-iter-get-pixbuf" title="gdk_pixbuf_animation_iter_get_pixbuf ()">gdk_pixbuf_animation_iter_get_pixbuf</a>
|
68
|
-
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a> *iter</code></em>);
|
69
|
-
|
70
|
-
<a class="link" href="gdk-pixbuf-animation.html#GdkPixbufSimpleAnim-struct" title="GdkPixbufSimpleAnim">GdkPixbufSimpleAnim</a>;
|
71
|
-
<a class="link" href="gdk-pixbuf-animation.html#GdkPixbufSimpleAnim"><span class="returnvalue">GdkPixbufSimpleAnim</span></a> * <a class="link" href="gdk-pixbuf-animation.html#gdk-pixbuf-simple-anim-new" title="gdk_pixbuf_simple_anim_new ()">gdk_pixbuf_simple_anim_new</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
72
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>,
|
73
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> rate</code></em>);
|
74
|
-
<span class="returnvalue">void</span> <a class="link" href="gdk-pixbuf-animation.html#gdk-pixbuf-simple-anim-add-frame" title="gdk_pixbuf_simple_anim_add_frame ()">gdk_pixbuf_simple_anim_add_frame</a> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufSimpleAnim"><span class="type">GdkPixbufSimpleAnim</span></a> *animation</code></em>,
|
75
|
-
<em class="parameter"><code><a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);
|
76
|
-
<span class="returnvalue">void</span> <a class="link" href="gdk-pixbuf-animation.html#gdk-pixbuf-simple-anim-set-loop" title="gdk_pixbuf_simple_anim_set_loop ()">gdk_pixbuf_simple_anim_set_loop</a> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufSimpleAnim"><span class="type">GdkPixbufSimpleAnim</span></a> *animation</code></em>,
|
77
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> loop</code></em>);
|
78
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gdk-pixbuf-animation.html#gdk-pixbuf-simple-anim-get-loop" title="gdk_pixbuf_simple_anim_get_loop ()">gdk_pixbuf_simple_anim_get_loop</a> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufSimpleAnim"><span class="type">GdkPixbufSimpleAnim</span></a> *animation</code></em>);
|
79
|
-
</pre>
|
80
|
-
</div>
|
81
|
-
<div class="refsect1" title="Object Hierarchy">
|
82
|
-
<a name="gdk-pixbuf-animation.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
83
|
-
<pre class="synopsis">
|
84
|
-
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
85
|
-
+----GdkPixbufAnimation
|
86
|
-
+----<a class="link" href="gdk-pixbuf-animation.html#GdkPixbufSimpleAnim">GdkPixbufSimpleAnim</a>
|
87
|
-
</pre>
|
88
|
-
<pre class="synopsis">
|
89
|
-
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
90
|
-
+----GdkPixbufAnimationIter
|
91
|
-
</pre>
|
92
|
-
<pre class="synopsis">
|
93
|
-
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
94
|
-
+----<a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimation">GdkPixbufAnimation</a>
|
95
|
-
+----GdkPixbufSimpleAnim
|
96
|
-
</pre>
|
97
|
-
</div>
|
98
|
-
<div class="refsect1" title="Properties">
|
99
|
-
<a name="gdk-pixbuf-animation.properties"></a><h2>Properties</h2>
|
100
|
-
<pre class="synopsis">
|
101
|
-
"<a class="link" href="gdk-pixbuf-animation.html#GdkPixbufSimpleAnim--loop" title='The "loop" property'>loop</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
102
|
-
</pre>
|
103
|
-
</div>
|
104
|
-
<div class="refsect1" title="Description">
|
105
|
-
<a name="gdk-pixbuf-animation.description"></a><h2>Description</h2>
|
106
|
-
<p>
|
107
|
-
</p>
|
108
|
-
</div>
|
109
|
-
<div class="refsect1" title="Details">
|
110
|
-
<a name="gdk-pixbuf-animation.details"></a><h2>Details</h2>
|
111
|
-
<div class="refsect2" title="GdkPixbufAnimation">
|
112
|
-
<a name="GdkPixbufAnimation-struct"></a><h3>GdkPixbufAnimation</h3>
|
113
|
-
<pre class="programlisting">typedef struct _GdkPixbufAnimation GdkPixbufAnimation;</pre>
|
114
|
-
<p>
|
115
|
-
</p>
|
116
|
-
</div>
|
117
|
-
<hr>
|
118
|
-
<div class="refsect2" title="GdkPixbufAnimationIter">
|
119
|
-
<a name="GdkPixbufAnimationIter-struct"></a><h3>GdkPixbufAnimationIter</h3>
|
120
|
-
<pre class="programlisting">typedef struct _GdkPixbufAnimationIter GdkPixbufAnimationIter;</pre>
|
121
|
-
<p>
|
122
|
-
</p>
|
123
|
-
</div>
|
124
|
-
<hr>
|
125
|
-
<div class="refsect2" title="gdk_pixbuf_animation_new_from_file ()">
|
126
|
-
<a name="gdk-pixbuf-animation-new-from-file"></a><h3>gdk_pixbuf_animation_new_from_file ()</h3>
|
127
|
-
<pre class="programlisting"><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimation"><span class="returnvalue">GdkPixbufAnimation</span></a> * gdk_pixbuf_animation_new_from_file (<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
|
128
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
129
|
-
<p>
|
130
|
-
Creates a new animation by loading it from a file. The file format is
|
131
|
-
detected automatically. If the file's format does not support multi-frame
|
132
|
-
images, then an animation with a single frame will be created. Possible errors
|
133
|
-
are in the <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GDK-PIXBUF-ERROR:CAPS" title="GDK_PIXBUF_ERROR"><span class="type">GDK_PIXBUF_ERROR</span></a> and <a href="http://library.gnome.org/devel/glib/unstable/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a> domains.
|
134
|
-
</p>
|
135
|
-
<div class="variablelist"><table border="0">
|
136
|
-
<col align="left" valign="top">
|
137
|
-
<tbody>
|
138
|
-
<tr>
|
139
|
-
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
140
|
-
<td>Name of file to load, in the GLib file name encoding
|
141
|
-
</td>
|
142
|
-
</tr>
|
143
|
-
<tr>
|
144
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
145
|
-
<td>return location for error
|
146
|
-
</td>
|
147
|
-
</tr>
|
148
|
-
<tr>
|
149
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
150
|
-
<td> A newly-created animation with a reference count of 1, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
151
|
-
if any of several error conditions ocurred: the file could not be opened,
|
152
|
-
there was no loader for the file's format, there was not enough memory to
|
153
|
-
allocate the image buffer, or the image file contained invalid data.
|
154
|
-
</td>
|
155
|
-
</tr>
|
156
|
-
</tbody>
|
157
|
-
</table></div>
|
158
|
-
</div>
|
159
|
-
<hr>
|
160
|
-
<div class="refsect2" title="gdk_pixbuf_animation_ref ()">
|
161
|
-
<a name="gdk-pixbuf-animation-ref"></a><h3>gdk_pixbuf_animation_ref ()</h3>
|
162
|
-
<pre class="programlisting"><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimation"><span class="returnvalue">GdkPixbufAnimation</span></a> * gdk_pixbuf_animation_ref (<em class="parameter"><code><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>);</pre>
|
163
|
-
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
164
|
-
<h3 class="title">Warning</h3>
|
165
|
-
<p><code class="literal">gdk_pixbuf_animation_ref</code> has been deprecated since version 2.0 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a>.</p>
|
166
|
-
</div>
|
167
|
-
<p>
|
168
|
-
Adds a reference to an animation.
|
169
|
-
</p>
|
170
|
-
<div class="variablelist"><table border="0">
|
171
|
-
<col align="left" valign="top">
|
172
|
-
<tbody>
|
173
|
-
<tr>
|
174
|
-
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
175
|
-
<td>An animation.
|
176
|
-
</td>
|
177
|
-
</tr>
|
178
|
-
<tr>
|
179
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
180
|
-
<td> The same as the <em class="parameter"><code>animation</code></em> argument.
|
181
|
-
|
182
|
-
</td>
|
183
|
-
</tr>
|
184
|
-
</tbody>
|
185
|
-
</table></div>
|
186
|
-
</div>
|
187
|
-
<hr>
|
188
|
-
<div class="refsect2" title="gdk_pixbuf_animation_unref ()">
|
189
|
-
<a name="gdk-pixbuf-animation-unref"></a><h3>gdk_pixbuf_animation_unref ()</h3>
|
190
|
-
<pre class="programlisting"><span class="returnvalue">void</span> gdk_pixbuf_animation_unref (<em class="parameter"><code><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>);</pre>
|
191
|
-
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
192
|
-
<h3 class="title">Warning</h3>
|
193
|
-
<p><code class="literal">gdk_pixbuf_animation_unref</code> has been deprecated since version 2.0 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
|
194
|
-
</div>
|
195
|
-
<p>
|
196
|
-
Removes a reference from an animation.
|
197
|
-
</p>
|
198
|
-
<div class="variablelist"><table border="0">
|
199
|
-
<col align="left" valign="top">
|
200
|
-
<tbody><tr>
|
201
|
-
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
202
|
-
<td>An animation.
|
203
|
-
</td>
|
204
|
-
</tr></tbody>
|
205
|
-
</table></div>
|
206
|
-
</div>
|
207
|
-
<hr>
|
208
|
-
<div class="refsect2" title="gdk_pixbuf_animation_get_width ()">
|
209
|
-
<a name="gdk-pixbuf-animation-get-width"></a><h3>gdk_pixbuf_animation_get_width ()</h3>
|
210
|
-
<pre class="programlisting"><span class="returnvalue">int</span> gdk_pixbuf_animation_get_width (<em class="parameter"><code><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>);</pre>
|
211
|
-
<p>
|
212
|
-
Queries the width of the bounding box of a pixbuf animation.
|
213
|
-
</p>
|
214
|
-
<div class="variablelist"><table border="0">
|
215
|
-
<col align="left" valign="top">
|
216
|
-
<tbody>
|
217
|
-
<tr>
|
218
|
-
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
219
|
-
<td>An animation.
|
220
|
-
</td>
|
221
|
-
</tr>
|
222
|
-
<tr>
|
223
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
224
|
-
<td> Width of the bounding box of the animation.
|
225
|
-
</td>
|
226
|
-
</tr>
|
227
|
-
</tbody>
|
228
|
-
</table></div>
|
229
|
-
</div>
|
230
|
-
<hr>
|
231
|
-
<div class="refsect2" title="gdk_pixbuf_animation_get_height ()">
|
232
|
-
<a name="gdk-pixbuf-animation-get-height"></a><h3>gdk_pixbuf_animation_get_height ()</h3>
|
233
|
-
<pre class="programlisting"><span class="returnvalue">int</span> gdk_pixbuf_animation_get_height (<em class="parameter"><code><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>);</pre>
|
234
|
-
<p>
|
235
|
-
Queries the height of the bounding box of a pixbuf animation.
|
236
|
-
</p>
|
237
|
-
<div class="variablelist"><table border="0">
|
238
|
-
<col align="left" valign="top">
|
239
|
-
<tbody>
|
240
|
-
<tr>
|
241
|
-
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
242
|
-
<td>An animation.
|
243
|
-
</td>
|
244
|
-
</tr>
|
245
|
-
<tr>
|
246
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
247
|
-
<td> Height of the bounding box of the animation.
|
248
|
-
</td>
|
249
|
-
</tr>
|
250
|
-
</tbody>
|
251
|
-
</table></div>
|
252
|
-
</div>
|
253
|
-
<hr>
|
254
|
-
<div class="refsect2" title="gdk_pixbuf_animation_get_iter ()">
|
255
|
-
<a name="gdk-pixbuf-animation-get-iter"></a><h3>gdk_pixbuf_animation_get_iter ()</h3>
|
256
|
-
<pre class="programlisting"><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimationIter"><span class="returnvalue">GdkPixbufAnimationIter</span></a> * gdk_pixbuf_animation_get_iter (<em class="parameter"><code><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>,
|
257
|
-
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Date-and-Time-Functions.html#GTimeVal"><span class="type">GTimeVal</span></a> *start_time</code></em>);</pre>
|
258
|
-
<p>
|
259
|
-
Get an iterator for displaying an animation. The iterator provides
|
260
|
-
the frames that should be displayed at a given time.
|
261
|
-
It should be freed after use with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.
|
262
|
-
</p>
|
263
|
-
<p>
|
264
|
-
<em class="parameter"><code>start_time</code></em> would normally come from <a href="http://library.gnome.org/devel/glib/unstable/glib-Date-and-Time-Functions.html#g-get-current-time"><code class="function">g_get_current_time()</code></a>, and
|
265
|
-
marks the beginning of animation playback. After creating an
|
266
|
-
iterator, you should immediately display the pixbuf returned by
|
267
|
-
<a class="link" href="gdk-pixbuf-animation.html#gdk-pixbuf-animation-iter-get-pixbuf" title="gdk_pixbuf_animation_iter_get_pixbuf ()"><code class="function">gdk_pixbuf_animation_iter_get_pixbuf()</code></a>. Then, you should install a
|
268
|
-
timeout (with <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-timeout-add"><code class="function">g_timeout_add()</code></a>) or by some other mechanism ensure
|
269
|
-
that you'll update the image after
|
270
|
-
<a class="link" href="gdk-pixbuf-animation.html#gdk-pixbuf-animation-iter-get-delay-time" title="gdk_pixbuf_animation_iter_get_delay_time ()"><code class="function">gdk_pixbuf_animation_iter_get_delay_time()</code></a> milliseconds. Each time
|
271
|
-
the image is updated, you should reinstall the timeout with the new,
|
272
|
-
possibly-changed delay time.
|
273
|
-
</p>
|
274
|
-
<p>
|
275
|
-
As a shortcut, if <em class="parameter"><code>start_time</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the result of
|
276
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Date-and-Time-Functions.html#g-get-current-time"><code class="function">g_get_current_time()</code></a> will be used automatically.
|
277
|
-
</p>
|
278
|
-
<p>
|
279
|
-
To update the image (i.e. possibly change the result of
|
280
|
-
<a class="link" href="gdk-pixbuf-animation.html#gdk-pixbuf-animation-iter-get-pixbuf" title="gdk_pixbuf_animation_iter_get_pixbuf ()"><code class="function">gdk_pixbuf_animation_iter_get_pixbuf()</code></a> to a new frame of the animation),
|
281
|
-
call <a class="link" href="gdk-pixbuf-animation.html#gdk-pixbuf-animation-iter-advance" title="gdk_pixbuf_animation_iter_advance ()"><code class="function">gdk_pixbuf_animation_iter_advance()</code></a>.
|
282
|
-
</p>
|
283
|
-
<p>
|
284
|
-
If you're using <a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a>, in addition to updating the image
|
285
|
-
after the delay time, you should also update it whenever you
|
286
|
-
receive the area_updated signal and
|
287
|
-
<a class="link" href="gdk-pixbuf-animation.html#gdk-pixbuf-animation-iter-on-currently-loading-frame" title="gdk_pixbuf_animation_iter_on_currently_loading_frame ()"><code class="function">gdk_pixbuf_animation_iter_on_currently_loading_frame()</code></a> returns
|
288
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>. In this case, the frame currently being fed into the loader
|
289
|
-
has received new data, so needs to be refreshed. The delay time for
|
290
|
-
a frame may also be modified after an area_updated signal, for
|
291
|
-
example if the delay time for a frame is encoded in the data after
|
292
|
-
the frame itself. So your timeout should be reinstalled after any
|
293
|
-
area_updated signal.
|
294
|
-
</p>
|
295
|
-
<p>
|
296
|
-
A delay time of -1 is possible, indicating "infinite."
|
297
|
-
</p>
|
298
|
-
<div class="variablelist"><table border="0">
|
299
|
-
<col align="left" valign="top">
|
300
|
-
<tbody>
|
301
|
-
<tr>
|
302
|
-
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
303
|
-
<td>a <a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a>
|
304
|
-
</td>
|
305
|
-
</tr>
|
306
|
-
<tr>
|
307
|
-
<td><p><span class="term"><em class="parameter"><code>start_time</code></em> :</span></p></td>
|
308
|
-
<td>time when the animation starts playing
|
309
|
-
</td>
|
310
|
-
</tr>
|
311
|
-
<tr>
|
312
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
313
|
-
<td> an iterator to move over the animation. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
314
|
-
</td>
|
315
|
-
</tr>
|
316
|
-
</tbody>
|
317
|
-
</table></div>
|
318
|
-
</div>
|
319
|
-
<hr>
|
320
|
-
<div class="refsect2" title="gdk_pixbuf_animation_is_static_image ()">
|
321
|
-
<a name="gdk-pixbuf-animation-is-static-image"></a><h3>gdk_pixbuf_animation_is_static_image ()</h3>
|
322
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gdk_pixbuf_animation_is_static_image
|
323
|
-
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>);</pre>
|
324
|
-
<p>
|
325
|
-
If you load a file with <a class="link" href="gdk-pixbuf-animation.html#gdk-pixbuf-animation-new-from-file" title="gdk_pixbuf_animation_new_from_file ()"><code class="function">gdk_pixbuf_animation_new_from_file()</code></a> and it turns
|
326
|
-
out to be a plain, unanimated image, then this function will return
|
327
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>. Use <a class="link" href="gdk-pixbuf-animation.html#gdk-pixbuf-animation-get-static-image" title="gdk_pixbuf_animation_get_static_image ()"><code class="function">gdk_pixbuf_animation_get_static_image()</code></a> to retrieve
|
328
|
-
the image.
|
329
|
-
</p>
|
330
|
-
<div class="variablelist"><table border="0">
|
331
|
-
<col align="left" valign="top">
|
332
|
-
<tbody>
|
333
|
-
<tr>
|
334
|
-
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
335
|
-
<td>a <a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a>
|
336
|
-
</td>
|
337
|
-
</tr>
|
338
|
-
<tr>
|
339
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
340
|
-
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the "animation" was really just an image
|
341
|
-
</td>
|
342
|
-
</tr>
|
343
|
-
</tbody>
|
344
|
-
</table></div>
|
345
|
-
</div>
|
346
|
-
<hr>
|
347
|
-
<div class="refsect2" title="gdk_pixbuf_animation_get_static_image ()">
|
348
|
-
<a name="gdk-pixbuf-animation-get-static-image"></a><h3>gdk_pixbuf_animation_get_static_image ()</h3>
|
349
|
-
<pre class="programlisting"><a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gdk_pixbuf_animation_get_static_image
|
350
|
-
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>);</pre>
|
351
|
-
<p>
|
352
|
-
If an animation is really just a plain image (has only one frame),
|
353
|
-
this function returns that image. If the animation is an animation,
|
354
|
-
this function returns a reasonable thing to display as a static
|
355
|
-
unanimated image, which might be the first frame, or something more
|
356
|
-
sophisticated. If an animation hasn't loaded any frames yet, this
|
357
|
-
function will return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
358
|
-
</p>
|
359
|
-
<div class="variablelist"><table border="0">
|
360
|
-
<col align="left" valign="top">
|
361
|
-
<tbody>
|
362
|
-
<tr>
|
363
|
-
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
364
|
-
<td>a <a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a>
|
365
|
-
</td>
|
366
|
-
</tr>
|
367
|
-
<tr>
|
368
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
369
|
-
<td> unanimated image representing the animation. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
370
|
-
</td>
|
371
|
-
</tr>
|
372
|
-
</tbody>
|
373
|
-
</table></div>
|
374
|
-
</div>
|
375
|
-
<hr>
|
376
|
-
<div class="refsect2" title="gdk_pixbuf_animation_iter_advance ()">
|
377
|
-
<a name="gdk-pixbuf-animation-iter-advance"></a><h3>gdk_pixbuf_animation_iter_advance ()</h3>
|
378
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gdk_pixbuf_animation_iter_advance (<em class="parameter"><code><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a> *iter</code></em>,
|
379
|
-
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Date-and-Time-Functions.html#GTimeVal"><span class="type">GTimeVal</span></a> *current_time</code></em>);</pre>
|
380
|
-
<p>
|
381
|
-
Possibly advances an animation to a new frame. Chooses the frame based
|
382
|
-
on the start time passed to <a class="link" href="gdk-pixbuf-animation.html#gdk-pixbuf-animation-get-iter" title="gdk_pixbuf_animation_get_iter ()"><code class="function">gdk_pixbuf_animation_get_iter()</code></a>.
|
383
|
-
</p>
|
384
|
-
<p>
|
385
|
-
<em class="parameter"><code>current_time</code></em> would normally come from <a href="http://library.gnome.org/devel/glib/unstable/glib-Date-and-Time-Functions.html#g-get-current-time"><code class="function">g_get_current_time()</code></a>, and
|
386
|
-
must be greater than or equal to the time passed to
|
387
|
-
<a class="link" href="gdk-pixbuf-animation.html#gdk-pixbuf-animation-get-iter" title="gdk_pixbuf_animation_get_iter ()"><code class="function">gdk_pixbuf_animation_get_iter()</code></a>, and must increase or remain
|
388
|
-
unchanged each time <a class="link" href="gdk-pixbuf-animation.html#gdk-pixbuf-animation-iter-get-pixbuf" title="gdk_pixbuf_animation_iter_get_pixbuf ()"><code class="function">gdk_pixbuf_animation_iter_get_pixbuf()</code></a> is
|
389
|
-
called. That is, you can't go backward in time; animations only
|
390
|
-
play forward.
|
391
|
-
</p>
|
392
|
-
<p>
|
393
|
-
As a shortcut, pass <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for the current time and <a href="http://library.gnome.org/devel/glib/unstable/glib-Date-and-Time-Functions.html#g-get-current-time"><code class="function">g_get_current_time()</code></a>
|
394
|
-
will be invoked on your behalf. So you only need to explicitly pass
|
395
|
-
<em class="parameter"><code>current_time</code></em> if you're doing something odd like playing the animation
|
396
|
-
at double speed.
|
397
|
-
</p>
|
398
|
-
<p>
|
399
|
-
If this function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, there's no need to update the animation
|
400
|
-
display, assuming the display had been rendered prior to advancing;
|
401
|
-
if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, you need to call <code class="function">gdk_animation_iter_get_pixbuf()</code> and update the
|
402
|
-
display with the new pixbuf.
|
403
|
-
</p>
|
404
|
-
<div class="variablelist"><table border="0">
|
405
|
-
<col align="left" valign="top">
|
406
|
-
<tbody>
|
407
|
-
<tr>
|
408
|
-
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
409
|
-
<td>a <a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a>
|
410
|
-
</td>
|
411
|
-
</tr>
|
412
|
-
<tr>
|
413
|
-
<td><p><span class="term"><em class="parameter"><code>current_time</code></em> :</span></p></td>
|
414
|
-
<td>current time
|
415
|
-
</td>
|
416
|
-
</tr>
|
417
|
-
<tr>
|
418
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
419
|
-
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the image may need updating
|
420
|
-
|
421
|
-
</td>
|
422
|
-
</tr>
|
423
|
-
</tbody>
|
424
|
-
</table></div>
|
425
|
-
</div>
|
426
|
-
<hr>
|
427
|
-
<div class="refsect2" title="gdk_pixbuf_animation_iter_get_delay_time ()">
|
428
|
-
<a name="gdk-pixbuf-animation-iter-get-delay-time"></a><h3>gdk_pixbuf_animation_iter_get_delay_time ()</h3>
|
429
|
-
<pre class="programlisting"><span class="returnvalue">int</span> gdk_pixbuf_animation_iter_get_delay_time
|
430
|
-
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a> *iter</code></em>);</pre>
|
431
|
-
<p>
|
432
|
-
Gets the number of milliseconds the current pixbuf should be displayed,
|
433
|
-
or -1 if the current pixbuf should be displayed forever. <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-timeout-add"><code class="function">g_timeout_add()</code></a>
|
434
|
-
conveniently takes a timeout in milliseconds, so you can use a timeout
|
435
|
-
to schedule the next update.
|
436
|
-
</p>
|
437
|
-
<div class="variablelist"><table border="0">
|
438
|
-
<col align="left" valign="top">
|
439
|
-
<tbody>
|
440
|
-
<tr>
|
441
|
-
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
442
|
-
<td>an animation iterator
|
443
|
-
</td>
|
444
|
-
</tr>
|
445
|
-
<tr>
|
446
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
447
|
-
<td> delay time in milliseconds (thousandths of a second)
|
448
|
-
</td>
|
449
|
-
</tr>
|
450
|
-
</tbody>
|
451
|
-
</table></div>
|
452
|
-
</div>
|
453
|
-
<hr>
|
454
|
-
<div class="refsect2" title="gdk_pixbuf_animation_iter_on_currently_loading_frame ()">
|
455
|
-
<a name="gdk-pixbuf-animation-iter-on-currently-loading-frame"></a><h3>gdk_pixbuf_animation_iter_on_currently_loading_frame ()</h3>
|
456
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gdk_pixbuf_animation_iter_on_currently_loading_frame
|
457
|
-
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a> *iter</code></em>);</pre>
|
458
|
-
<p>
|
459
|
-
Used to determine how to respond to the area_updated signal on
|
460
|
-
<a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> when loading an animation. area_updated is emitted
|
461
|
-
for an area of the frame currently streaming in to the loader. So if
|
462
|
-
you're on the currently loading frame, you need to redraw the screen for
|
463
|
-
the updated area.
|
464
|
-
</p>
|
465
|
-
<div class="variablelist"><table border="0">
|
466
|
-
<col align="left" valign="top">
|
467
|
-
<tbody>
|
468
|
-
<tr>
|
469
|
-
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
470
|
-
<td>a <a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a>
|
471
|
-
</td>
|
472
|
-
</tr>
|
473
|
-
<tr>
|
474
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
475
|
-
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the frame we're on is partially loaded, or the last frame
|
476
|
-
</td>
|
477
|
-
</tr>
|
478
|
-
</tbody>
|
479
|
-
</table></div>
|
480
|
-
</div>
|
481
|
-
<hr>
|
482
|
-
<div class="refsect2" title="gdk_pixbuf_animation_iter_get_pixbuf ()">
|
483
|
-
<a name="gdk-pixbuf-animation-iter-get-pixbuf"></a><h3>gdk_pixbuf_animation_iter_get_pixbuf ()</h3>
|
484
|
-
<pre class="programlisting"><a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gdk_pixbuf_animation_iter_get_pixbuf
|
485
|
-
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a> *iter</code></em>);</pre>
|
486
|
-
<p>
|
487
|
-
Gets the current pixbuf which should be displayed; the pixbuf will
|
488
|
-
be the same size as the animation itself
|
489
|
-
(<a class="link" href="gdk-pixbuf-animation.html#gdk-pixbuf-animation-get-width" title="gdk_pixbuf_animation_get_width ()"><code class="function">gdk_pixbuf_animation_get_width()</code></a>, <a class="link" href="gdk-pixbuf-animation.html#gdk-pixbuf-animation-get-height" title="gdk_pixbuf_animation_get_height ()"><code class="function">gdk_pixbuf_animation_get_height()</code></a>).
|
490
|
-
This pixbuf should be displayed for
|
491
|
-
<a class="link" href="gdk-pixbuf-animation.html#gdk-pixbuf-animation-iter-get-delay-time" title="gdk_pixbuf_animation_iter_get_delay_time ()"><code class="function">gdk_pixbuf_animation_iter_get_delay_time()</code></a> milliseconds. The caller
|
492
|
-
of this function does not own a reference to the returned pixbuf;
|
493
|
-
the returned pixbuf will become invalid when the iterator advances
|
494
|
-
to the next frame, which may happen anytime you call
|
495
|
-
<a class="link" href="gdk-pixbuf-animation.html#gdk-pixbuf-animation-iter-advance" title="gdk_pixbuf_animation_iter_advance ()"><code class="function">gdk_pixbuf_animation_iter_advance()</code></a>. Copy the pixbuf to keep it
|
496
|
-
(don't just add a reference), as it may get recycled as you advance
|
497
|
-
the iterator.
|
498
|
-
</p>
|
499
|
-
<div class="variablelist"><table border="0">
|
500
|
-
<col align="left" valign="top">
|
501
|
-
<tbody>
|
502
|
-
<tr>
|
503
|
-
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
504
|
-
<td>an animation iterator
|
505
|
-
</td>
|
506
|
-
</tr>
|
507
|
-
<tr>
|
508
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
509
|
-
<td> the pixbuf to be displayed. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
510
|
-
</td>
|
511
|
-
</tr>
|
512
|
-
</tbody>
|
513
|
-
</table></div>
|
514
|
-
</div>
|
515
|
-
<hr>
|
516
|
-
<div class="refsect2" title="GdkPixbufSimpleAnim">
|
517
|
-
<a name="GdkPixbufSimpleAnim-struct"></a><h3>GdkPixbufSimpleAnim</h3>
|
518
|
-
<pre class="programlisting">typedef struct _GdkPixbufSimpleAnim GdkPixbufSimpleAnim;</pre>
|
519
|
-
<p>
|
520
|
-
</p>
|
521
|
-
</div>
|
522
|
-
<hr>
|
523
|
-
<div class="refsect2" title="gdk_pixbuf_simple_anim_new ()">
|
524
|
-
<a name="gdk-pixbuf-simple-anim-new"></a><h3>gdk_pixbuf_simple_anim_new ()</h3>
|
525
|
-
<pre class="programlisting"><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufSimpleAnim"><span class="returnvalue">GdkPixbufSimpleAnim</span></a> * gdk_pixbuf_simple_anim_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
526
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>,
|
527
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> rate</code></em>);</pre>
|
528
|
-
<p>
|
529
|
-
Creates a new, empty animation.
|
530
|
-
</p>
|
531
|
-
<div class="variablelist"><table border="0">
|
532
|
-
<col align="left" valign="top">
|
533
|
-
<tbody>
|
534
|
-
<tr>
|
535
|
-
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
536
|
-
<td>the width of the animation
|
537
|
-
</td>
|
538
|
-
</tr>
|
539
|
-
<tr>
|
540
|
-
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
541
|
-
<td>the height of the animation
|
542
|
-
</td>
|
543
|
-
</tr>
|
544
|
-
<tr>
|
545
|
-
<td><p><span class="term"><em class="parameter"><code>rate</code></em> :</span></p></td>
|
546
|
-
<td>the speed of the animation, in frames per second
|
547
|
-
</td>
|
548
|
-
</tr>
|
549
|
-
<tr>
|
550
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
551
|
-
<td> a newly allocated <a class="link" href="gdk-pixbuf-animation.html#GdkPixbufSimpleAnim"><span class="type">GdkPixbufSimpleAnim</span></a>
|
552
|
-
|
553
|
-
</td>
|
554
|
-
</tr>
|
555
|
-
</tbody>
|
556
|
-
</table></div>
|
557
|
-
<p class="since">Since 2.8</p>
|
558
|
-
</div>
|
559
|
-
<hr>
|
560
|
-
<div class="refsect2" title="gdk_pixbuf_simple_anim_add_frame ()">
|
561
|
-
<a name="gdk-pixbuf-simple-anim-add-frame"></a><h3>gdk_pixbuf_simple_anim_add_frame ()</h3>
|
562
|
-
<pre class="programlisting"><span class="returnvalue">void</span> gdk_pixbuf_simple_anim_add_frame (<em class="parameter"><code><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufSimpleAnim"><span class="type">GdkPixbufSimpleAnim</span></a> *animation</code></em>,
|
563
|
-
<em class="parameter"><code><a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
|
564
|
-
<p>
|
565
|
-
Adds a new frame to <em class="parameter"><code>animation</code></em>. The <em class="parameter"><code>pixbuf</code></em> must
|
566
|
-
have the dimensions specified when the animation
|
567
|
-
was constructed.
|
568
|
-
</p>
|
569
|
-
<div class="variablelist"><table border="0">
|
570
|
-
<col align="left" valign="top">
|
571
|
-
<tbody>
|
572
|
-
<tr>
|
573
|
-
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
574
|
-
<td>a <a class="link" href="gdk-pixbuf-animation.html#GdkPixbufSimpleAnim"><span class="type">GdkPixbufSimpleAnim</span></a>
|
575
|
-
</td>
|
576
|
-
</tr>
|
577
|
-
<tr>
|
578
|
-
<td><p><span class="term"><em class="parameter"><code>pixbuf</code></em> :</span></p></td>
|
579
|
-
<td>the pixbuf to add
|
580
|
-
</td>
|
581
|
-
</tr>
|
582
|
-
</tbody>
|
583
|
-
</table></div>
|
584
|
-
<p class="since">Since 2.8</p>
|
585
|
-
</div>
|
586
|
-
<hr>
|
587
|
-
<div class="refsect2" title="gdk_pixbuf_simple_anim_set_loop ()">
|
588
|
-
<a name="gdk-pixbuf-simple-anim-set-loop"></a><h3>gdk_pixbuf_simple_anim_set_loop ()</h3>
|
589
|
-
<pre class="programlisting"><span class="returnvalue">void</span> gdk_pixbuf_simple_anim_set_loop (<em class="parameter"><code><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufSimpleAnim"><span class="type">GdkPixbufSimpleAnim</span></a> *animation</code></em>,
|
590
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> loop</code></em>);</pre>
|
591
|
-
<p>
|
592
|
-
Sets whether <em class="parameter"><code>animation</code></em> should loop indefinitely when it reaches the end.
|
593
|
-
</p>
|
594
|
-
<div class="variablelist"><table border="0">
|
595
|
-
<col align="left" valign="top">
|
596
|
-
<tbody>
|
597
|
-
<tr>
|
598
|
-
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
599
|
-
<td>a <a class="link" href="gdk-pixbuf-animation.html#GdkPixbufSimpleAnim"><span class="type">GdkPixbufSimpleAnim</span></a>
|
600
|
-
</td>
|
601
|
-
</tr>
|
602
|
-
<tr>
|
603
|
-
<td><p><span class="term"><em class="parameter"><code>loop</code></em> :</span></p></td>
|
604
|
-
<td>whether to loop the animation
|
605
|
-
</td>
|
606
|
-
</tr>
|
607
|
-
</tbody>
|
608
|
-
</table></div>
|
609
|
-
<p class="since">Since 2.18</p>
|
610
|
-
</div>
|
611
|
-
<hr>
|
612
|
-
<div class="refsect2" title="gdk_pixbuf_simple_anim_get_loop ()">
|
613
|
-
<a name="gdk-pixbuf-simple-anim-get-loop"></a><h3>gdk_pixbuf_simple_anim_get_loop ()</h3>
|
614
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gdk_pixbuf_simple_anim_get_loop (<em class="parameter"><code><a class="link" href="gdk-pixbuf-animation.html#GdkPixbufSimpleAnim"><span class="type">GdkPixbufSimpleAnim</span></a> *animation</code></em>);</pre>
|
615
|
-
<p>
|
616
|
-
Gets whether <em class="parameter"><code>animation</code></em> should loop indefinitely when it reaches the end.
|
617
|
-
</p>
|
618
|
-
<div class="variablelist"><table border="0">
|
619
|
-
<col align="left" valign="top">
|
620
|
-
<tbody>
|
621
|
-
<tr>
|
622
|
-
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
623
|
-
<td>a <a class="link" href="gdk-pixbuf-animation.html#GdkPixbufSimpleAnim"><span class="type">GdkPixbufSimpleAnim</span></a>
|
624
|
-
</td>
|
625
|
-
</tr>
|
626
|
-
<tr>
|
627
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
628
|
-
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the animation loops forever, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise
|
629
|
-
|
630
|
-
</td>
|
631
|
-
</tr>
|
632
|
-
</tbody>
|
633
|
-
</table></div>
|
634
|
-
<p class="since">Since 2.18</p>
|
635
|
-
</div>
|
636
|
-
</div>
|
637
|
-
<div class="refsect1" title="Property Details">
|
638
|
-
<a name="gdk-pixbuf-animation.property-details"></a><h2>Property Details</h2>
|
639
|
-
<div class="refsect2" title='The "loop" property'>
|
640
|
-
<a name="GdkPixbufSimpleAnim--loop"></a><h3>The <code class="literal">"loop"</code> property</h3>
|
641
|
-
<pre class="programlisting"> "loop" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
642
|
-
<p>
|
643
|
-
Whether the animation should loop when it reaches the end.
|
644
|
-
</p>
|
645
|
-
<p>Default value: FALSE</p>
|
646
|
-
<p class="since">Since 2.18</p>
|
647
|
-
</div>
|
648
|
-
</div>
|
649
|
-
</div>
|
650
|
-
<div class="footer">
|
651
|
-
<hr>
|
652
|
-
Generated by GTK-Doc V1.15</div>
|
653
|
-
</body>
|
654
|
-
</html>
|