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
@@ -23,6 +23,7 @@ share/locale/da/LC_MESSAGES/gdk-pixbuf.mo
|
|
23
23
|
share/locale/de/LC_MESSAGES/gdk-pixbuf.mo
|
24
24
|
share/locale/dz/LC_MESSAGES/gdk-pixbuf.mo
|
25
25
|
share/locale/el/LC_MESSAGES/gdk-pixbuf.mo
|
26
|
+
share/locale/en@shaw/LC_MESSAGES/gdk-pixbuf.mo
|
26
27
|
share/locale/en_CA/LC_MESSAGES/gdk-pixbuf.mo
|
27
28
|
share/locale/en_GB/LC_MESSAGES/gdk-pixbuf.mo
|
28
29
|
share/locale/eo/LC_MESSAGES/gdk-pixbuf.mo
|
@@ -101,4 +102,4 @@ share/locale/yi/LC_MESSAGES/gdk-pixbuf.mo
|
|
101
102
|
share/locale/zh_CN/LC_MESSAGES/gdk-pixbuf.mo
|
102
103
|
share/locale/zh_HK/LC_MESSAGES/gdk-pixbuf.mo
|
103
104
|
share/locale/zh_TW/LC_MESSAGES/gdk-pixbuf.mo
|
104
|
-
manifest/gdk-pixbuf_2.
|
105
|
+
manifest/gdk-pixbuf_2.24.0-1_win32.mft
|
@@ -6,15 +6,15 @@
|
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
7
|
<link rel="home" href="index.html" title="GDK-PixBuf Reference Manual">
|
8
8
|
<link rel="up" href="rn01.html" title="API Reference">
|
9
|
-
<link rel="prev" href="gdk-pixbuf-
|
9
|
+
<link rel="prev" href="gdk-pixbuf-Animations.html" title="Animations">
|
10
10
|
<link rel="next" href="gdk-pixbuf-Module-Interface.html" title="Module Interface">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.17.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
15
|
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
16
|
<tr valign="middle">
|
17
|
-
<td><a accesskey="p" href="gdk-pixbuf-
|
17
|
+
<td><a accesskey="p" href="gdk-pixbuf-Animations.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
18
|
<td><a accesskey="u" href="rn01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
19
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
20
|
<th width="100%" align="center">GDK-PixBuf Reference Manual</th>
|
@@ -30,72 +30,126 @@
|
|
30
30
|
<a href="#GdkPixbufLoader.signals" class="shortcut">Signals</a>
|
31
31
|
</td></tr>
|
32
32
|
</table>
|
33
|
-
<div class="refentry"
|
33
|
+
<div class="refentry">
|
34
34
|
<a name="GdkPixbufLoader"></a><div class="titlepage"></div>
|
35
35
|
<div class="refnamediv"><table width="100%"><tr>
|
36
36
|
<td valign="top">
|
37
37
|
<h2><span class="refentrytitle"><a name="GdkPixbufLoader.top_of_page"></a>GdkPixbufLoader</span></h2>
|
38
|
-
<p>GdkPixbufLoader
|
38
|
+
<p>GdkPixbufLoader — Application-driven progressive image loading.</p>
|
39
39
|
</td>
|
40
40
|
<td valign="top" align="right"></td>
|
41
41
|
</tr></table></div>
|
42
|
-
<div class="refsynopsisdiv"
|
42
|
+
<div class="refsynopsisdiv">
|
43
43
|
<a name="GdkPixbufLoader.synopsis"></a><h2>Synopsis</h2>
|
44
44
|
<pre class="synopsis">
|
45
45
|
#include <gdk-pixbuf/gdk-pixbuf.h>
|
46
46
|
|
47
|
-
|
47
|
+
struct <a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-struct" title="struct GdkPixbufLoader">GdkPixbufLoader</a>;
|
48
48
|
<a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="returnvalue">GdkPixbufLoader</span></a> * <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-new" title="gdk_pixbuf_loader_new ()">gdk_pixbuf_loader_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
49
49
|
<a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="returnvalue">GdkPixbufLoader</span></a> * <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-new-with-type" title="gdk_pixbuf_loader_new_with_type ()">gdk_pixbuf_loader_new_with_type</a> (<em class="parameter"><code>const <span class="type">char</span> *image_type</code></em>,
|
50
|
-
<em class="parameter"><code><
|
50
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
51
51
|
<a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="returnvalue">GdkPixbufLoader</span></a> * <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-new-with-mime-type" title="gdk_pixbuf_loader_new_with_mime_type ()">gdk_pixbuf_loader_new_with_mime_type</a>
|
52
52
|
(<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
|
53
|
-
<em class="parameter"><code><
|
54
|
-
<a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="GdkPixbufFormat"><span class="returnvalue">GdkPixbufFormat</span></a> * <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-get-format" title="gdk_pixbuf_loader_get_format ()">gdk_pixbuf_loader_get_format</a> (<em class="parameter"><code><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader</code></em>);
|
55
|
-
<
|
56
|
-
<em class="parameter"><code>const <
|
57
|
-
<em class="parameter"><code><
|
58
|
-
<em class="parameter"><code><
|
53
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
54
|
+
<a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="returnvalue">GdkPixbufFormat</span></a> * <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-get-format" title="gdk_pixbuf_loader_get_format ()">gdk_pixbuf_loader_get_format</a> (<em class="parameter"><code><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader</code></em>);
|
55
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-write" title="gdk_pixbuf_loader_write ()">gdk_pixbuf_loader_write</a> (<em class="parameter"><code><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader</code></em>,
|
56
|
+
<em class="parameter"><code>const <span class="type">guchar</span> *buf</code></em>,
|
57
|
+
<em class="parameter"><code><span class="type">gsize</span> count</code></em>,
|
58
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
59
59
|
<span class="returnvalue">void</span> <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-set-size" title="gdk_pixbuf_loader_set_size ()">gdk_pixbuf_loader_set_size</a> (<em class="parameter"><code><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader</code></em>,
|
60
60
|
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
61
61
|
<em class="parameter"><code><span class="type">int</span> height</code></em>);
|
62
|
-
<a class="link" href="gdk-pixbuf-
|
63
|
-
<a class="link" href="gdk-pixbuf-
|
64
|
-
<
|
65
|
-
<em class="parameter"><code><
|
62
|
+
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-get-pixbuf" title="gdk_pixbuf_loader_get_pixbuf ()">gdk_pixbuf_loader_get_pixbuf</a> (<em class="parameter"><code><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader</code></em>);
|
63
|
+
<a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="returnvalue">GdkPixbufAnimation</span></a> * <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-get-animation" title="gdk_pixbuf_loader_get_animation ()">gdk_pixbuf_loader_get_animation</a> (<em class="parameter"><code><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader</code></em>);
|
64
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-close" title="gdk_pixbuf_loader_close ()">gdk_pixbuf_loader_close</a> (<em class="parameter"><code><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader</code></em>,
|
65
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
66
66
|
</pre>
|
67
67
|
</div>
|
68
|
-
<div class="refsect1"
|
68
|
+
<div class="refsect1">
|
69
69
|
<a name="GdkPixbufLoader.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
70
70
|
<pre class="synopsis">
|
71
|
-
|
71
|
+
GObject
|
72
72
|
+----GdkPixbufLoader
|
73
73
|
</pre>
|
74
74
|
</div>
|
75
|
-
<div class="refsect1"
|
75
|
+
<div class="refsect1">
|
76
76
|
<a name="GdkPixbufLoader.signals"></a><h2>Signals</h2>
|
77
77
|
<pre class="synopsis">
|
78
|
-
"<a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-area-prepared" title='The "area-prepared" signal'>area-prepared</a>" : Run Last
|
79
|
-
"<a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-area-updated" title='The "area-updated" signal'>area-updated</a>" : Run Last
|
80
|
-
"<a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-closed" title='The "closed" signal'>closed</a>" : Run Last
|
81
|
-
"<a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-size-prepared" title='The "size-prepared" signal'>size-prepared</a>" : Run Last
|
78
|
+
"<a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-area-prepared" title='The "area-prepared" signal'>area-prepared</a>" : <code class="literal">Run Last</code>
|
79
|
+
"<a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-area-updated" title='The "area-updated" signal'>area-updated</a>" : <code class="literal">Run Last</code>
|
80
|
+
"<a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-closed" title='The "closed" signal'>closed</a>" : <code class="literal">Run Last</code>
|
81
|
+
"<a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-size-prepared" title='The "size-prepared" signal'>size-prepared</a>" : <code class="literal">Run Last</code>
|
82
82
|
</pre>
|
83
83
|
</div>
|
84
|
-
<div class="refsect1"
|
84
|
+
<div class="refsect1">
|
85
85
|
<a name="GdkPixbufLoader.description"></a><h2>Description</h2>
|
86
86
|
<p>
|
87
|
+
<a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> provides a way for applications to drive the
|
88
|
+
process of loading an image, by letting them send the image data
|
89
|
+
directly to the loader instead of having the loader read the data
|
90
|
+
from a file. Applications can use this functionality instead of
|
91
|
+
<a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-file" title="gdk_pixbuf_new_from_file"><code class="function">gdk_pixbuf_new_from_file()</code></a> or <a class="link" href="gdk-pixbuf-Animations.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>
|
92
|
+
when they need to parse image data in
|
93
|
+
small chunks. For example, it should be used when reading an
|
94
|
+
image from a (potentially) slow network connection, or when
|
95
|
+
loading an extremely large file.
|
96
|
+
</p>
|
97
|
+
<p>
|
98
|
+
To use <a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> to load an image, just create a new one,
|
99
|
+
and call <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-write" title="gdk_pixbuf_loader_write ()"><code class="function">gdk_pixbuf_loader_write()</code></a> to send the data to it. When
|
100
|
+
done, <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-close" title="gdk_pixbuf_loader_close ()"><code class="function">gdk_pixbuf_loader_close()</code></a> should be called to end the stream
|
101
|
+
and finalize everything. The loader will emit three important
|
102
|
+
signals throughout the process. The first, "<a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-size-prepared" title='The "size-prepared" signal'>size_prepared</a>",
|
103
|
+
will be called as soon as the image has enough information to
|
104
|
+
determine the size of the image to be used. If you want to scale
|
105
|
+
the image while loading it, you can call <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-set-size" title="gdk_pixbuf_loader_set_size ()"><code class="function">gdk_pixbuf_loader_set_size()</code></a>
|
106
|
+
in response to this signal.
|
107
|
+
</p>
|
108
|
+
<p>
|
109
|
+
The second signal, "<a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-area-prepared" title='The "area-prepared" signal'>area_prepared</a>",
|
110
|
+
will be called as soon as the pixbuf of the desired has been
|
111
|
+
allocated. You can obtain it by calling <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-get-pixbuf" title="gdk_pixbuf_loader_get_pixbuf ()"><code class="function">gdk_pixbuf_loader_get_pixbuf()</code></a>.
|
112
|
+
If you want to use it, simply ref it.
|
113
|
+
In addition, no actual information will be passed in yet, so the
|
114
|
+
pixbuf can be safely filled with any temporary graphics (or an
|
115
|
+
initial color) as needed. You can also call
|
116
|
+
<a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-get-pixbuf" title="gdk_pixbuf_loader_get_pixbuf ()"><code class="function">gdk_pixbuf_loader_get_pixbuf()</code></a> later and get the same pixbuf.
|
117
|
+
</p>
|
118
|
+
<p>
|
119
|
+
The last signal, "<a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-area-updated" title='The "area-updated" signal'>area_updated</a>" gets
|
120
|
+
called every time a region is updated. This way you can update a
|
121
|
+
partially completed image. Note that you do not know anything
|
122
|
+
about the completeness of an image from the area updated. For
|
123
|
+
example, in an interlaced image, you need to make several passes
|
124
|
+
before the image is done loading.
|
125
|
+
</p>
|
126
|
+
<p>
|
127
|
+
</p>
|
128
|
+
<div class="refsect2">
|
129
|
+
<a name="id456443"></a><h3>Loading an animation</h3>
|
130
|
+
<p>
|
131
|
+
Loading an animation is almost as easy as loading an
|
132
|
+
image. Once the first "<a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-area-prepared" title='The "area-prepared" signal'>area_prepared</a>" signal
|
133
|
+
has been emitted, you can call <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-get-animation" title="gdk_pixbuf_loader_get_animation ()"><code class="function">gdk_pixbuf_loader_get_animation()</code></a>
|
134
|
+
to get the <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> struct and <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-get-iter" title="gdk_pixbuf_animation_get_iter ()"><code class="function">gdk_pixbuf_animation_get_iter()</code></a>
|
135
|
+
to get an <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a> for displaying it.
|
136
|
+
</p>
|
137
|
+
</div>
|
138
|
+
<p>
|
87
139
|
</p>
|
88
140
|
</div>
|
89
|
-
<div class="refsect1"
|
141
|
+
<div class="refsect1">
|
90
142
|
<a name="GdkPixbufLoader.details"></a><h2>Details</h2>
|
91
|
-
<div class="refsect2"
|
92
|
-
<a name="GdkPixbufLoader-struct"></a><h3>GdkPixbufLoader</h3>
|
93
|
-
<pre class="programlisting">
|
143
|
+
<div class="refsect2">
|
144
|
+
<a name="GdkPixbufLoader-struct"></a><h3>struct GdkPixbufLoader</h3>
|
145
|
+
<pre class="programlisting">struct GdkPixbufLoader;</pre>
|
94
146
|
<p>
|
147
|
+
The <span class="structname">GdkPixbufLoader</span> struct contains only private
|
148
|
+
fields.
|
95
149
|
</p>
|
96
150
|
</div>
|
97
151
|
<hr>
|
98
|
-
<div class="refsect2"
|
152
|
+
<div class="refsect2">
|
99
153
|
<a name="gdk-pixbuf-loader-new"></a><h3>gdk_pixbuf_loader_new ()</h3>
|
100
154
|
<pre class="programlisting"><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="returnvalue">GdkPixbufLoader</span></a> * gdk_pixbuf_loader_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
101
155
|
<p>
|
@@ -105,16 +159,15 @@ Creates a new pixbuf loader object.
|
|
105
159
|
<col align="left" valign="top">
|
106
160
|
<tbody><tr>
|
107
161
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
108
|
-
<td>
|
109
|
-
</td>
|
162
|
+
<td>A newly-created pixbuf loader.</td>
|
110
163
|
</tr></tbody>
|
111
164
|
</table></div>
|
112
165
|
</div>
|
113
166
|
<hr>
|
114
|
-
<div class="refsect2"
|
167
|
+
<div class="refsect2">
|
115
168
|
<a name="gdk-pixbuf-loader-new-with-type"></a><h3>gdk_pixbuf_loader_new_with_type ()</h3>
|
116
169
|
<pre class="programlisting"><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="returnvalue">GdkPixbufLoader</span></a> * gdk_pixbuf_loader_new_with_type (<em class="parameter"><code>const <span class="type">char</span> *image_type</code></em>,
|
117
|
-
<em class="parameter"><code><
|
170
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
118
171
|
<p>
|
119
172
|
Creates a new pixbuf loader object that always attempts to parse
|
120
173
|
image data as if it were an image of type <em class="parameter"><code>image_type</code></em>, instead of
|
@@ -128,35 +181,33 @@ The list of supported image formats depends on what image loaders
|
|
128
181
|
are installed, but typically "png", "jpeg", "gif", "tiff" and
|
129
182
|
"xpm" are among the supported formats. To obtain the full list of
|
130
183
|
supported image formats, call <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-get-name" title="gdk_pixbuf_format_get_name ()"><code class="function">gdk_pixbuf_format_get_name()</code></a> on each
|
131
|
-
of the <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> structs returned by <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-get-formats" title="gdk_pixbuf_get_formats ()"><code class="function">gdk_pixbuf_get_formats()</code></a>.
|
184
|
+
of the <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> structs returned by <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-get-formats" title="gdk_pixbuf_get_formats ()"><code class="function">gdk_pixbuf_get_formats()</code></a>.
|
132
185
|
</p>
|
133
186
|
<div class="variablelist"><table border="0">
|
134
187
|
<col align="left" valign="top">
|
135
188
|
<tbody>
|
136
189
|
<tr>
|
137
190
|
<td><p><span class="term"><em class="parameter"><code>image_type</code></em> :</span></p></td>
|
138
|
-
<td>name of the image format to be loaded with the image
|
139
|
-
</td>
|
191
|
+
<td>name of the image format to be loaded with the image</td>
|
140
192
|
</tr>
|
141
193
|
<tr>
|
142
194
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
143
|
-
<td>
|
195
|
+
<td>return location for an allocated <span class="type">GError</span>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to ignore errors. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
144
196
|
</td>
|
145
197
|
</tr>
|
146
198
|
<tr>
|
147
199
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
148
|
-
<td>
|
149
|
-
</td>
|
200
|
+
<td>A newly-created pixbuf loader.</td>
|
150
201
|
</tr>
|
151
202
|
</tbody>
|
152
203
|
</table></div>
|
153
204
|
</div>
|
154
205
|
<hr>
|
155
|
-
<div class="refsect2"
|
206
|
+
<div class="refsect2">
|
156
207
|
<a name="gdk-pixbuf-loader-new-with-mime-type"></a><h3>gdk_pixbuf_loader_new_with_mime_type ()</h3>
|
157
208
|
<pre class="programlisting"><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="returnvalue">GdkPixbufLoader</span></a> * gdk_pixbuf_loader_new_with_mime_type
|
158
209
|
(<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
|
159
|
-
<em class="parameter"><code><
|
210
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
160
211
|
<p>
|
161
212
|
Creates a new pixbuf loader object that always attempts to parse
|
162
213
|
image data as if it were an image of mime type <em class="parameter"><code>mime_type</code></em>, instead of
|
@@ -170,7 +221,7 @@ The list of supported mime types depends on what image loaders
|
|
170
221
|
are installed, but typically "image/png", "image/jpeg", "image/gif",
|
171
222
|
"image/tiff" and "image/x-xpixmap" are among the supported mime types.
|
172
223
|
To obtain the full list of supported mime types, call
|
173
|
-
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-get-mime-types" title="gdk_pixbuf_format_get_mime_types ()"><code class="function">gdk_pixbuf_format_get_mime_types()</code></a> on each of the <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a>
|
224
|
+
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-get-mime-types" title="gdk_pixbuf_format_get_mime_types ()"><code class="function">gdk_pixbuf_format_get_mime_types()</code></a> on each of the <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a>
|
174
225
|
structs returned by <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-get-formats" title="gdk_pixbuf_get_formats ()"><code class="function">gdk_pixbuf_get_formats()</code></a>.
|
175
226
|
</p>
|
176
227
|
<div class="variablelist"><table border="0">
|
@@ -178,27 +229,25 @@ structs returned by <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-p
|
|
178
229
|
<tbody>
|
179
230
|
<tr>
|
180
231
|
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
|
181
|
-
<td>the mime type to be loaded
|
182
|
-
</td>
|
232
|
+
<td>the mime type to be loaded</td>
|
183
233
|
</tr>
|
184
234
|
<tr>
|
185
235
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
186
|
-
<td>
|
236
|
+
<td>return location for an allocated <span class="type">GError</span>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to ignore errors. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
187
237
|
</td>
|
188
238
|
</tr>
|
189
239
|
<tr>
|
190
240
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
191
|
-
<td>
|
192
|
-
</td>
|
241
|
+
<td>A newly-created pixbuf loader.</td>
|
193
242
|
</tr>
|
194
243
|
</tbody>
|
195
244
|
</table></div>
|
196
245
|
<p class="since">Since 2.4</p>
|
197
246
|
</div>
|
198
247
|
<hr>
|
199
|
-
<div class="refsect2"
|
248
|
+
<div class="refsect2">
|
200
249
|
<a name="gdk-pixbuf-loader-get-format"></a><h3>gdk_pixbuf_loader_get_format ()</h3>
|
201
|
-
<pre class="programlisting"><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="GdkPixbufFormat"><span class="returnvalue">GdkPixbufFormat</span></a> * gdk_pixbuf_loader_get_format (<em class="parameter"><code><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader</code></em>);</pre>
|
250
|
+
<pre class="programlisting"><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="returnvalue">GdkPixbufFormat</span></a> * gdk_pixbuf_loader_get_format (<em class="parameter"><code><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader</code></em>);</pre>
|
202
251
|
<p>
|
203
252
|
Obtains the available information about the format of the
|
204
253
|
currently loading image file.
|
@@ -208,69 +257,63 @@ currently loading image file.
|
|
208
257
|
<tbody>
|
209
258
|
<tr>
|
210
259
|
<td><p><span class="term"><em class="parameter"><code>loader</code></em> :</span></p></td>
|
211
|
-
<td>A pixbuf loader
|
212
|
-
</td>
|
260
|
+
<td>A pixbuf loader.</td>
|
213
261
|
</tr>
|
214
262
|
<tr>
|
215
263
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
216
|
-
<td>
|
217
|
-
by GdkPixbuf and should not be freed
|
218
|
-
|
219
|
-
</td>
|
264
|
+
<td>A <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. The return value is owned
|
265
|
+
by GdkPixbuf and should not be freed.</td>
|
220
266
|
</tr>
|
221
267
|
</tbody>
|
222
268
|
</table></div>
|
223
269
|
<p class="since">Since 2.2</p>
|
224
270
|
</div>
|
225
271
|
<hr>
|
226
|
-
<div class="refsect2"
|
272
|
+
<div class="refsect2">
|
227
273
|
<a name="gdk-pixbuf-loader-write"></a><h3>gdk_pixbuf_loader_write ()</h3>
|
228
|
-
<pre class="programlisting"><
|
229
|
-
<em class="parameter"><code>const <
|
230
|
-
<em class="parameter"><code><
|
231
|
-
<em class="parameter"><code><
|
274
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> gdk_pixbuf_loader_write (<em class="parameter"><code><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader</code></em>,
|
275
|
+
<em class="parameter"><code>const <span class="type">guchar</span> *buf</code></em>,
|
276
|
+
<em class="parameter"><code><span class="type">gsize</span> count</code></em>,
|
277
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
232
278
|
<p>
|
233
279
|
This will cause a pixbuf loader to parse the next <em class="parameter"><code>count</code></em> bytes of
|
234
|
-
an image. It will return <
|
235
|
-
and <
|
236
|
-
will be closed, and will not accept further writes. If <
|
237
|
-
returned, <em class="parameter"><code>error</code></em> will be set to an error from the <a class="link" href="gdk-pixbuf-
|
238
|
-
or <
|
280
|
+
an image. It will return <code class="literal">TRUE</code> if the data was loaded successfully,
|
281
|
+
and <code class="literal">FALSE</code> if an error occurred. In the latter case, the loader
|
282
|
+
will be closed, and will not accept further writes. If <code class="literal">FALSE</code> is
|
283
|
+
returned, <em class="parameter"><code>error</code></em> will be set to an error from the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERROR:CAPS" title="GDK_PIXBUF_ERROR"><span class="type">GDK_PIXBUF_ERROR</span></a>
|
284
|
+
or <span class="type">G_FILE_ERROR</span> domains.
|
239
285
|
</p>
|
240
286
|
<div class="variablelist"><table border="0">
|
241
287
|
<col align="left" valign="top">
|
242
288
|
<tbody>
|
243
289
|
<tr>
|
244
290
|
<td><p><span class="term"><em class="parameter"><code>loader</code></em> :</span></p></td>
|
245
|
-
<td>A pixbuf loader
|
246
|
-
</td>
|
291
|
+
<td>A pixbuf loader.</td>
|
247
292
|
</tr>
|
248
293
|
<tr>
|
249
294
|
<td><p><span class="term"><em class="parameter"><code>buf</code></em> :</span></p></td>
|
250
|
-
<td>Pointer to image data.
|
295
|
+
<td>Pointer to image data. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=count]</span>
|
251
296
|
</td>
|
252
297
|
</tr>
|
253
298
|
<tr>
|
254
299
|
<td><p><span class="term"><em class="parameter"><code>count</code></em> :</span></p></td>
|
255
|
-
<td>Length of the <em class="parameter"><code>buf</code></em> buffer in bytes
|
256
|
-
</td>
|
300
|
+
<td>Length of the <em class="parameter"><code>buf</code></em> buffer in bytes.</td>
|
257
301
|
</tr>
|
258
302
|
<tr>
|
259
303
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
260
|
-
<td>return location for errors
|
261
|
-
</td>
|
304
|
+
<td>return location for errors</td>
|
262
305
|
</tr>
|
263
306
|
<tr>
|
264
307
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
265
|
-
<td>
|
266
|
-
|
267
|
-
|
308
|
+
<td>
|
309
|
+
<code class="literal">TRUE</code> if the write was successful, or <code class="literal">FALSE</code> if the loader
|
310
|
+
cannot parse the buffer.</td>
|
268
311
|
</tr>
|
269
312
|
</tbody>
|
270
313
|
</table></div>
|
271
314
|
</div>
|
272
315
|
<hr>
|
273
|
-
<div class="refsect2"
|
316
|
+
<div class="refsect2">
|
274
317
|
<a name="gdk-pixbuf-loader-set-size"></a><h3>gdk_pixbuf_loader_set_size ()</h3>
|
275
318
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_pixbuf_loader_set_size (<em class="parameter"><code><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader</code></em>,
|
276
319
|
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
@@ -290,51 +333,47 @@ emission of the ::size-prepared signal.
|
|
290
333
|
<tbody>
|
291
334
|
<tr>
|
292
335
|
<td><p><span class="term"><em class="parameter"><code>loader</code></em> :</span></p></td>
|
293
|
-
<td>A pixbuf loader
|
294
|
-
</td>
|
336
|
+
<td>A pixbuf loader.</td>
|
295
337
|
</tr>
|
296
338
|
<tr>
|
297
339
|
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
298
|
-
<td>The desired width of the image being loaded
|
299
|
-
</td>
|
340
|
+
<td>The desired width of the image being loaded.</td>
|
300
341
|
</tr>
|
301
342
|
<tr>
|
302
343
|
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
303
|
-
<td>The desired height of the image being loaded
|
304
|
-
</td>
|
344
|
+
<td>The desired height of the image being loaded.</td>
|
305
345
|
</tr>
|
306
346
|
</tbody>
|
307
347
|
</table></div>
|
308
348
|
<p class="since">Since 2.2</p>
|
309
349
|
</div>
|
310
350
|
<hr>
|
311
|
-
<div class="refsect2"
|
351
|
+
<div class="refsect2">
|
312
352
|
<a name="gdk-pixbuf-loader-get-pixbuf"></a><h3>gdk_pixbuf_loader_get_pixbuf ()</h3>
|
313
|
-
<pre class="programlisting"><a class="link" href="gdk-pixbuf-
|
353
|
+
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gdk_pixbuf_loader_get_pixbuf (<em class="parameter"><code><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader</code></em>);</pre>
|
314
354
|
<p>
|
315
|
-
Queries the <a class="link" href="gdk-pixbuf-
|
355
|
+
Queries the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> that a pixbuf loader is currently creating.
|
316
356
|
In general it only makes sense to call this function after the
|
317
357
|
"area-prepared" signal has been emitted by the loader; this means
|
318
358
|
that enough data has been read to know the size of the image that
|
319
359
|
will be allocated. If the loader has not received enough data via
|
320
|
-
<a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-write" title="gdk_pixbuf_loader_write ()"><code class="function">gdk_pixbuf_loader_write()</code></a>, then this function returns <a href="
|
360
|
+
<a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-write" title="gdk_pixbuf_loader_write ()"><code class="function">gdk_pixbuf_loader_write()</code></a>, then this function returns <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. The
|
321
361
|
returned pixbuf will be the same in all future calls to the loader,
|
322
|
-
so simply calling <
|
362
|
+
so simply calling <code class="function">g_object_ref()</code> should be sufficient to continue
|
323
363
|
using it. Additionally, if the loader is an animation, it will
|
324
364
|
return the "static image" of the animation
|
325
|
-
(see <a class="link" href="gdk-pixbuf-
|
365
|
+
(see <a class="link" href="gdk-pixbuf-Animations.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>).
|
326
366
|
</p>
|
327
367
|
<div class="variablelist"><table border="0">
|
328
368
|
<col align="left" valign="top">
|
329
369
|
<tbody>
|
330
370
|
<tr>
|
331
371
|
<td><p><span class="term"><em class="parameter"><code>loader</code></em> :</span></p></td>
|
332
|
-
<td>A pixbuf loader
|
333
|
-
</td>
|
372
|
+
<td>A pixbuf loader.</td>
|
334
373
|
</tr>
|
335
374
|
<tr>
|
336
375
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
337
|
-
<td>
|
376
|
+
<td>The <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> that the loader is creating, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if not
|
338
377
|
enough data has been read to determine how to create the image buffer. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
339
378
|
</td>
|
340
379
|
</tr>
|
@@ -342,82 +381,80 @@ enough data has been read to determine how to create the image buffer. <span cla
|
|
342
381
|
</table></div>
|
343
382
|
</div>
|
344
383
|
<hr>
|
345
|
-
<div class="refsect2"
|
384
|
+
<div class="refsect2">
|
346
385
|
<a name="gdk-pixbuf-loader-get-animation"></a><h3>gdk_pixbuf_loader_get_animation ()</h3>
|
347
|
-
<pre class="programlisting"><a class="link" href="gdk-pixbuf-
|
386
|
+
<pre class="programlisting"><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="returnvalue">GdkPixbufAnimation</span></a> * gdk_pixbuf_loader_get_animation (<em class="parameter"><code><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader</code></em>);</pre>
|
348
387
|
<p>
|
349
|
-
Queries the <a class="link" href="gdk-pixbuf-
|
388
|
+
Queries the <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> that a pixbuf loader is currently creating.
|
350
389
|
In general it only makes sense to call this function after the "area-prepared"
|
351
390
|
signal has been emitted by the loader. If the loader doesn't have enough
|
352
391
|
bytes yet (hasn't emitted the "area-prepared" signal) this function will
|
353
|
-
return <a href="
|
392
|
+
return <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
354
393
|
</p>
|
355
394
|
<div class="variablelist"><table border="0">
|
356
395
|
<col align="left" valign="top">
|
357
396
|
<tbody>
|
358
397
|
<tr>
|
359
398
|
<td><p><span class="term"><em class="parameter"><code>loader</code></em> :</span></p></td>
|
360
|
-
<td>A pixbuf loader
|
361
|
-
</td>
|
399
|
+
<td>A pixbuf loader</td>
|
362
400
|
</tr>
|
363
401
|
<tr>
|
364
402
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
365
|
-
<td>
|
366
|
-
|
403
|
+
<td>The <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> that the loader is loading, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if
|
404
|
+
not enough data has been read to determine the information. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
367
405
|
</td>
|
368
406
|
</tr>
|
369
407
|
</tbody>
|
370
408
|
</table></div>
|
371
409
|
</div>
|
372
410
|
<hr>
|
373
|
-
<div class="refsect2"
|
411
|
+
<div class="refsect2">
|
374
412
|
<a name="gdk-pixbuf-loader-close"></a><h3>gdk_pixbuf_loader_close ()</h3>
|
375
|
-
<pre class="programlisting"><
|
376
|
-
<em class="parameter"><code><
|
413
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> gdk_pixbuf_loader_close (<em class="parameter"><code><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader</code></em>,
|
414
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
377
415
|
<p>
|
378
416
|
Informs a pixbuf loader that no further writes with
|
379
417
|
<a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-write" title="gdk_pixbuf_loader_write ()"><code class="function">gdk_pixbuf_loader_write()</code></a> will occur, so that it can free its
|
380
418
|
internal loading structures. Also, tries to parse any data that
|
381
419
|
hasn't yet been parsed; if the remaining data is partial or
|
382
|
-
corrupt, an error will be returned. If <
|
383
|
-
will be set to an error from the <a class="link" href="gdk-pixbuf-
|
420
|
+
corrupt, an error will be returned. If <code class="literal">FALSE</code> is returned, <em class="parameter"><code>error</code></em>
|
421
|
+
will be set to an error from the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERROR:CAPS" title="GDK_PIXBUF_ERROR"><span class="type">GDK_PIXBUF_ERROR</span></a> or <span class="type">G_FILE_ERROR</span>
|
384
422
|
domains. If you're just cancelling a load rather than expecting it
|
385
|
-
to be finished, passing <a href="
|
423
|
+
to be finished, passing <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> for <em class="parameter"><code>error</code></em> to ignore it is
|
386
424
|
reasonable.
|
387
425
|
</p>
|
388
426
|
<p>
|
389
427
|
Remember that this does not unref the loader, so if you plan not to
|
390
|
-
use it anymore, please <
|
428
|
+
use it anymore, please <code class="function">g_object_unref()</code> it.
|
391
429
|
</p>
|
392
430
|
<div class="variablelist"><table border="0">
|
393
431
|
<col align="left" valign="top">
|
394
432
|
<tbody>
|
395
433
|
<tr>
|
396
434
|
<td><p><span class="term"><em class="parameter"><code>loader</code></em> :</span></p></td>
|
397
|
-
<td>A pixbuf loader
|
398
|
-
</td>
|
435
|
+
<td>A pixbuf loader.</td>
|
399
436
|
</tr>
|
400
437
|
<tr>
|
401
438
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
402
|
-
<td>
|
439
|
+
<td>return location for a <span class="type">GError</span>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to ignore errors. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
403
440
|
</td>
|
404
441
|
</tr>
|
405
442
|
<tr>
|
406
443
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
407
|
-
<td>
|
408
|
-
|
409
|
-
</td>
|
444
|
+
<td>
|
445
|
+
<code class="literal">TRUE</code> if all image data written so far was successfully
|
446
|
+
passed out via the update_area signal</td>
|
410
447
|
</tr>
|
411
448
|
</tbody>
|
412
449
|
</table></div>
|
413
450
|
</div>
|
414
451
|
</div>
|
415
|
-
<div class="refsect1"
|
452
|
+
<div class="refsect1">
|
416
453
|
<a name="GdkPixbufLoader.signal-details"></a><h2>Signal Details</h2>
|
417
|
-
<div class="refsect2"
|
454
|
+
<div class="refsect2">
|
418
455
|
<a name="GdkPixbufLoader-area-prepared"></a><h3>The <code class="literal">"area-prepared"</code> signal</h3>
|
419
456
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader,
|
420
|
-
<
|
457
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
421
458
|
<p>
|
422
459
|
This signal is emitted when the pixbuf loader has allocated the
|
423
460
|
pixbuf in the desired size. After this signal is emitted,
|
@@ -429,8 +466,7 @@ the partially-loaded pixbuf.
|
|
429
466
|
<tbody>
|
430
467
|
<tr>
|
431
468
|
<td><p><span class="term"><em class="parameter"><code>loader</code></em> :</span></p></td>
|
432
|
-
<td>the object which received the signal
|
433
|
-
</td>
|
469
|
+
<td>the object which received the signal.</td>
|
434
470
|
</tr>
|
435
471
|
<tr>
|
436
472
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
@@ -440,14 +476,14 @@ the partially-loaded pixbuf.
|
|
440
476
|
</table></div>
|
441
477
|
</div>
|
442
478
|
<hr>
|
443
|
-
<div class="refsect2"
|
479
|
+
<div class="refsect2">
|
444
480
|
<a name="GdkPixbufLoader-area-updated"></a><h3>The <code class="literal">"area-updated"</code> signal</h3>
|
445
481
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader,
|
446
|
-
<
|
447
|
-
<
|
448
|
-
<
|
449
|
-
<
|
450
|
-
<
|
482
|
+
<span class="type">gint</span> x,
|
483
|
+
<span class="type">gint</span> y,
|
484
|
+
<span class="type">gint</span> width,
|
485
|
+
<span class="type">gint</span> height,
|
486
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
451
487
|
<p>
|
452
488
|
This signal is emitted when a significant area of the image being
|
453
489
|
loaded has been updated. Normally it means that a complete
|
@@ -460,28 +496,23 @@ areas of an image that is being loaded.
|
|
460
496
|
<tbody>
|
461
497
|
<tr>
|
462
498
|
<td><p><span class="term"><em class="parameter"><code>loader</code></em> :</span></p></td>
|
463
|
-
<td>the object which received the signal
|
464
|
-
</td>
|
499
|
+
<td>the object which received the signal.</td>
|
465
500
|
</tr>
|
466
501
|
<tr>
|
467
502
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
468
|
-
<td>X offset of upper-left corner of the updated area
|
469
|
-
</td>
|
503
|
+
<td>X offset of upper-left corner of the updated area.</td>
|
470
504
|
</tr>
|
471
505
|
<tr>
|
472
506
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
473
|
-
<td>Y offset of upper-left corner of the updated area
|
474
|
-
</td>
|
507
|
+
<td>Y offset of upper-left corner of the updated area.</td>
|
475
508
|
</tr>
|
476
509
|
<tr>
|
477
510
|
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
478
|
-
<td>Width of updated area
|
479
|
-
</td>
|
511
|
+
<td>Width of updated area.</td>
|
480
512
|
</tr>
|
481
513
|
<tr>
|
482
514
|
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
483
|
-
<td>Height of updated area
|
484
|
-
</td>
|
515
|
+
<td>Height of updated area.</td>
|
485
516
|
</tr>
|
486
517
|
<tr>
|
487
518
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
@@ -491,10 +522,10 @@ areas of an image that is being loaded.
|
|
491
522
|
</table></div>
|
492
523
|
</div>
|
493
524
|
<hr>
|
494
|
-
<div class="refsect2"
|
525
|
+
<div class="refsect2">
|
495
526
|
<a name="GdkPixbufLoader-closed"></a><h3>The <code class="literal">"closed"</code> signal</h3>
|
496
527
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader,
|
497
|
-
<
|
528
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
498
529
|
<p>
|
499
530
|
This signal is emitted when <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-close" title="gdk_pixbuf_loader_close ()"><code class="function">gdk_pixbuf_loader_close()</code></a> is called.
|
500
531
|
It can be used by different parts of an application to receive
|
@@ -506,8 +537,7 @@ drives it.
|
|
506
537
|
<tbody>
|
507
538
|
<tr>
|
508
539
|
<td><p><span class="term"><em class="parameter"><code>loader</code></em> :</span></p></td>
|
509
|
-
<td>the object which received the signal
|
510
|
-
</td>
|
540
|
+
<td>the object which received the signal.</td>
|
511
541
|
</tr>
|
512
542
|
<tr>
|
513
543
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
@@ -517,12 +547,12 @@ drives it.
|
|
517
547
|
</table></div>
|
518
548
|
</div>
|
519
549
|
<hr>
|
520
|
-
<div class="refsect2"
|
550
|
+
<div class="refsect2">
|
521
551
|
<a name="GdkPixbufLoader-size-prepared"></a><h3>The <code class="literal">"size-prepared"</code> signal</h3>
|
522
552
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader,
|
523
|
-
<
|
524
|
-
<
|
525
|
-
<
|
553
|
+
<span class="type">gint</span> width,
|
554
|
+
<span class="type">gint</span> height,
|
555
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
526
556
|
<p>
|
527
557
|
This signal is emitted when the pixbuf loader has been fed the
|
528
558
|
initial amount of data that is required to figure out the size
|
@@ -535,18 +565,15 @@ the desired size to which the image should be scaled.
|
|
535
565
|
<tbody>
|
536
566
|
<tr>
|
537
567
|
<td><p><span class="term"><em class="parameter"><code>loader</code></em> :</span></p></td>
|
538
|
-
<td>the object which received the signal
|
539
|
-
</td>
|
568
|
+
<td>the object which received the signal.</td>
|
540
569
|
</tr>
|
541
570
|
<tr>
|
542
571
|
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
543
|
-
<td>the original width of the image
|
544
|
-
</td>
|
572
|
+
<td>the original width of the image</td>
|
545
573
|
</tr>
|
546
574
|
<tr>
|
547
575
|
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
548
|
-
<td>the original height of the image
|
549
|
-
</td>
|
576
|
+
<td>the original height of the image</td>
|
550
577
|
</tr>
|
551
578
|
<tr>
|
552
579
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
@@ -556,9 +583,13 @@ the desired size to which the image should be scaled.
|
|
556
583
|
</table></div>
|
557
584
|
</div>
|
558
585
|
</div>
|
586
|
+
<div class="refsect1">
|
587
|
+
<a name="GdkPixbufLoader.see-also"></a><h2>See Also</h2>
|
588
|
+
gdk_pixbuf_new_from_file(), <a class="link" href="gdk-pixbuf-Animations.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>
|
589
|
+
</div>
|
559
590
|
</div>
|
560
591
|
<div class="footer">
|
561
592
|
<hr>
|
562
|
-
Generated by GTK-Doc V1.
|
593
|
+
Generated by GTK-Doc V1.17.1</div>
|
563
594
|
</body>
|
564
595
|
</html>
|