gdk_pixbuf2 3.0.7-x86-mingw32 → 3.0.8-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/ext/gdk_pixbuf2/extconf.rb +1 -0
- data/lib/2.2/gdk_pixbuf2.so +0 -0
- data/lib/2.3/gdk_pixbuf2.so +0 -0
- data/vendor/local/bin/gdk-pixbuf-csource.exe +0 -0
- data/vendor/local/bin/gdk-pixbuf-pixdata.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-autocleanups.h +37 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +18 -2
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +3 -3
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h +8 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h +2 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h +8 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache +62 -87
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.la +1 -1
- data/vendor/local/lib/gdk_pixbuf-2.0.def +6 -0
- data/vendor/local/lib/girepository-1.0/GdkPixbuf-2.0.typelib +0 -0
- data/vendor/local/lib/libgdk_pixbuf-2.0.dll.a +0 -0
- data/vendor/local/lib/libgdk_pixbuf-2.0.la +6 -6
- data/vendor/local/lib/pkgconfig/gdk-pixbuf-2.0.pc +1 -1
- data/vendor/local/share/gir-1.0/GdkPixbuf-2.0.gir +300 -50
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +94 -103
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/annotation-glossary.html +18 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-12.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-14.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-2.html +4 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-26.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-28.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-30.html +5 -6
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-32.html +56 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-4.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-6.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-8.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-deprecated.html +59 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-full.html +28 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html +134 -145
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +232 -123
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +134 -138
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +131 -47
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +87 -62
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +101 -173
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +26 -30
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Scaling.html +39 -38
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +226 -83
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Utilities.html +21 -22
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Versioning.html +41 -51
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-X-Drawables-to-Pixbufs.html +8 -10
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Xlib-Rendering.html +7 -8
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-XlibRGB.html +34 -44
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-csource.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-Xlib-initialization.html +5 -6
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-from-drawables.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-rendering.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-query-loaders.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf.devhelp2 +104 -18
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/license.html +5 -6
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn01.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn02.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/style.css +9 -6
- 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/csb/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/kk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/km/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/tg/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 +1 -1
- data/vendor/local/share/man/man1/gdk-pixbuf-query-loaders.1 +1 -1
- metadata +9 -8
- data/lib/2.0/gdk_pixbuf2.so +0 -0
- data/lib/2.1/gdk_pixbuf2.so +0 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.sgml +0 -322
@@ -2,13 +2,13 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>GDK-PixBuf Reference Manual
|
5
|
+
<title>File Loading: GDK-PixBuf Reference Manual</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.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
9
|
<link rel="prev" href="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html" title="Reference Counting and Memory Mangement">
|
10
10
|
<link rel="next" href="gdk-pixbuf-File-saving.html" title="File saving">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25.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">
|
@@ -73,6 +73,22 @@
|
|
73
73
|
</tr>
|
74
74
|
<tr>
|
75
75
|
<td class="function_type">
|
76
|
+
<span class="returnvalue">void</span>
|
77
|
+
</td>
|
78
|
+
<td class="function_name">
|
79
|
+
<a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-get-file-info-async" title="gdk_pixbuf_get_file_info_async ()">gdk_pixbuf_get_file_info_async</a> <span class="c_punctuation">()</span>
|
80
|
+
</td>
|
81
|
+
</tr>
|
82
|
+
<tr>
|
83
|
+
<td class="function_type">
|
84
|
+
<a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="returnvalue">GdkPixbufFormat</span></a> *
|
85
|
+
</td>
|
86
|
+
<td class="function_name">
|
87
|
+
<a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-get-file-info-finish" title="gdk_pixbuf_get_file_info_finish ()">gdk_pixbuf_get_file_info_finish</a> <span class="c_punctuation">()</span>
|
88
|
+
</td>
|
89
|
+
</tr>
|
90
|
+
<tr>
|
91
|
+
<td class="function_type">
|
76
92
|
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
|
77
93
|
</td>
|
78
94
|
<td class="function_name">
|
@@ -153,13 +169,13 @@ loading can use the <a class="link" href="GdkPixbufLoader.html" title="GdkPixbuf
|
|
153
169
|
<a name="gdk-pixbuf-new-from-file"></a><h3>gdk_pixbuf_new_from_file ()</h3>
|
154
170
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
|
155
171
|
gdk_pixbuf_new_from_file (<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
|
156
|
-
<em class="parameter"><code><a href="
|
172
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
157
173
|
<p>Creates a new pixbuf by loading an image from a file. The file format is
|
158
|
-
detected automatically. If <a href="
|
174
|
+
detected automatically. If <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned, then <em class="parameter"><code>error</code></em>
|
159
175
|
will be set.
|
160
|
-
Possible errors are in 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> and <a href="
|
176
|
+
Possible errors are in 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> and <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a> domains.</p>
|
161
177
|
<div class="refsect3">
|
162
|
-
<a name="
|
178
|
+
<a name="gdk-pixbuf-new-from-file.parameters"></a><h4>Parameters</h4>
|
163
179
|
<div class="informaltable"><table width="100%" border="0">
|
164
180
|
<colgroup>
|
165
181
|
<col width="150px" class="parameters_name">
|
@@ -181,12 +197,11 @@ Possible errors are in the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Struct
|
|
181
197
|
</table></div>
|
182
198
|
</div>
|
183
199
|
<div class="refsect3">
|
184
|
-
<a name="
|
185
|
-
<p> A newly-created pixbuf with a reference count of 1, or <a href="
|
200
|
+
<a name="gdk-pixbuf-new-from-file.returns"></a><h4>Returns</h4>
|
201
|
+
<p> A newly-created pixbuf with a reference count of 1, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
|
186
202
|
any of several error conditions occurred: the file could not be opened,
|
187
203
|
there was no loader for the file's format, there was not enough memory to
|
188
204
|
allocate the image buffer, or the image file contained invalid data.</p>
|
189
|
-
<p></p>
|
190
205
|
</div>
|
191
206
|
</div>
|
192
207
|
<hr>
|
@@ -196,12 +211,12 @@ allocate the image buffer, or the image file contained invalid data.</p>
|
|
196
211
|
gdk_pixbuf_new_from_file_at_size (<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
|
197
212
|
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
198
213
|
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
199
|
-
<em class="parameter"><code><a href="
|
214
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
200
215
|
<p>Creates a new pixbuf by loading an image from a file.
|
201
|
-
The file format is detected automatically. If <a href="
|
216
|
+
The file format is detected automatically. If <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned, then
|
202
217
|
<em class="parameter"><code>error</code></em>
|
203
218
|
will be set. Possible errors are in 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> and
|
204
|
-
<a href="
|
219
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a> domains.</p>
|
205
220
|
<p>The image will be scaled to fit in the requested size, preserving
|
206
221
|
the image's aspect ratio. Note that the returned pixbuf may be smaller
|
207
222
|
than <em class="parameter"><code>width</code></em>
|
@@ -210,7 +225,7 @@ than <em class="parameter"><code>width</code></em>
|
|
210
225
|
and image at the requested size, regardless of aspect ratio, use
|
211
226
|
<a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-file-at-scale" title="gdk_pixbuf_new_from_file_at_scale ()"><code class="function">gdk_pixbuf_new_from_file_at_scale()</code></a>.</p>
|
212
227
|
<div class="refsect3">
|
213
|
-
<a name="
|
228
|
+
<a name="gdk-pixbuf-new-from-file-at-size.parameters"></a><h4>Parameters</h4>
|
214
229
|
<div class="informaltable"><table width="100%" border="0">
|
215
230
|
<colgroup>
|
216
231
|
<col width="150px" class="parameters_name">
|
@@ -242,15 +257,14 @@ and image at the requested size, regardless of aspect ratio, use
|
|
242
257
|
</table></div>
|
243
258
|
</div>
|
244
259
|
<div class="refsect3">
|
245
|
-
<a name="
|
260
|
+
<a name="gdk-pixbuf-new-from-file-at-size.returns"></a><h4>Returns</h4>
|
246
261
|
<p> A newly-created pixbuf with a reference count of 1, or
|
247
|
-
<a href="
|
262
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if any of several error conditions occurred: the file could not
|
248
263
|
be opened, there was no loader for the file's format, there was not
|
249
264
|
enough memory to allocate the image buffer, or the image file contained
|
250
265
|
invalid data.</p>
|
251
|
-
<p></p>
|
252
266
|
</div>
|
253
|
-
<p class="since">Since 2.4</p>
|
267
|
+
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
|
254
268
|
</div>
|
255
269
|
<hr>
|
256
270
|
<div class="refsect2">
|
@@ -259,12 +273,12 @@ invalid data.</p>
|
|
259
273
|
gdk_pixbuf_new_from_file_at_scale (<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
|
260
274
|
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
261
275
|
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
262
|
-
<em class="parameter"><code><a href="
|
263
|
-
<em class="parameter"><code><a href="
|
276
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> preserve_aspect_ratio</code></em>,
|
277
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
264
278
|
<p>Creates a new pixbuf by loading an image from a file. The file format is
|
265
|
-
detected automatically. If <a href="
|
279
|
+
detected automatically. If <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned, then <em class="parameter"><code>error</code></em>
|
266
280
|
will be set.
|
267
|
-
Possible errors are in 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> and <a href="
|
281
|
+
Possible errors are in 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> and <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a> domains.
|
268
282
|
The image will be scaled to fit in the requested size, optionally preserving
|
269
283
|
the image's aspect ratio. </p>
|
270
284
|
<p>When preserving the aspect ratio, a <em class="parameter"><code>width</code></em>
|
@@ -280,7 +294,7 @@ at all in that dimension. Negative values for <em class="parameter"><code>width<
|
|
280
294
|
are
|
281
295
|
allowed since 2.8.</p>
|
282
296
|
<div class="refsect3">
|
283
|
-
<a name="
|
297
|
+
<a name="gdk-pixbuf-new-from-file-at-scale.parameters"></a><h4>Parameters</h4>
|
284
298
|
<div class="informaltable"><table width="100%" border="0">
|
285
299
|
<colgroup>
|
286
300
|
<col width="150px" class="parameters_name">
|
@@ -305,7 +319,7 @@ allowed since 2.8.</p>
|
|
305
319
|
</tr>
|
306
320
|
<tr>
|
307
321
|
<td class="parameter_name"><p>preserve_aspect_ratio</p></td>
|
308
|
-
<td class="parameter_description"><p><a href="
|
322
|
+
<td class="parameter_description"><p><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to preserve the image's aspect ratio</p></td>
|
309
323
|
<td class="parameter_annotations"> </td>
|
310
324
|
</tr>
|
311
325
|
<tr>
|
@@ -317,25 +331,24 @@ allowed since 2.8.</p>
|
|
317
331
|
</table></div>
|
318
332
|
</div>
|
319
333
|
<div class="refsect3">
|
320
|
-
<a name="
|
321
|
-
<p> A newly-created pixbuf with a reference count of 1, or <a href="
|
334
|
+
<a name="gdk-pixbuf-new-from-file-at-scale.returns"></a><h4>Returns</h4>
|
335
|
+
<p> A newly-created pixbuf with a reference count of 1, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
322
336
|
if any of several error conditions occurred: the file could not be opened,
|
323
337
|
there was no loader for the file's format, there was not enough memory to
|
324
338
|
allocate the image buffer, or the image file contained invalid data.</p>
|
325
|
-
<p></p>
|
326
339
|
</div>
|
327
|
-
<p class="since">Since 2.6</p>
|
340
|
+
<p class="since">Since: <a class="link" href="api-index-2-6.html#api-index-2.6">2.6</a></p>
|
328
341
|
</div>
|
329
342
|
<hr>
|
330
343
|
<div class="refsect2">
|
331
344
|
<a name="gdk-pixbuf-get-file-info"></a><h3>gdk_pixbuf_get_file_info ()</h3>
|
332
345
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="returnvalue">GdkPixbufFormat</span></a> *
|
333
|
-
gdk_pixbuf_get_file_info (<em class="parameter"><code>const <a href="
|
334
|
-
<em class="parameter"><code><a href="
|
335
|
-
<em class="parameter"><code><a href="
|
346
|
+
gdk_pixbuf_get_file_info (<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>,
|
347
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *width</code></em>,
|
348
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *height</code></em>);</pre>
|
336
349
|
<p>Parses an image file far enough to determine its format and size.</p>
|
337
350
|
<div class="refsect3">
|
338
|
-
<a name="
|
351
|
+
<a name="gdk-pixbuf-get-file-info.parameters"></a><h4>Parameters</h4>
|
339
352
|
<div class="informaltable"><table width="100%" border="0">
|
340
353
|
<colgroup>
|
341
354
|
<col width="150px" class="parameters_name">
|
@@ -351,40 +364,142 @@ gdk_pixbuf_get_file_info (<em class="parameter"><code>const <a href="http://libr
|
|
351
364
|
<tr>
|
352
365
|
<td class="parameter_name"><p>width</p></td>
|
353
366
|
<td class="parameter_description"><p> Return location for the width of the
|
354
|
-
image, or <a href="
|
355
|
-
<td class="parameter_annotations"><span class="annotation">[optional][<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
367
|
+
image, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
368
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>][<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
356
369
|
</tr>
|
357
370
|
<tr>
|
358
371
|
<td class="parameter_name"><p>height</p></td>
|
359
372
|
<td class="parameter_description"><p> Return location for the height of the
|
360
|
-
image, or <a href="
|
361
|
-
<td class="parameter_annotations"><span class="annotation">[optional][<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
373
|
+
image, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
374
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>][<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
362
375
|
</tr>
|
363
376
|
</tbody>
|
364
377
|
</table></div>
|
365
378
|
</div>
|
366
379
|
<div class="refsect3">
|
367
|
-
<a name="
|
380
|
+
<a name="gdk-pixbuf-get-file-info.returns"></a><h4>Returns</h4>
|
368
381
|
<p> A <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> describing
|
369
|
-
the image format of the file or <a href="
|
382
|
+
the image format of the file or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the image format wasn't
|
370
383
|
recognized. The return value is owned by <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> and should
|
371
384
|
not be freed. </p>
|
372
|
-
<p><span class="annotation">[nullable][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
385
|
+
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
386
|
+
</div>
|
387
|
+
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
|
388
|
+
</div>
|
389
|
+
<hr>
|
390
|
+
<div class="refsect2">
|
391
|
+
<a name="gdk-pixbuf-get-file-info-async"></a><h3>gdk_pixbuf_get_file_info_async ()</h3>
|
392
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
393
|
+
gdk_pixbuf_get_file_info_async (<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>,
|
394
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
395
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
396
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
397
|
+
<p>Asynchronously parses an image file far enough to determine its
|
398
|
+
format and size.</p>
|
399
|
+
<p>For more details see <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-get-file-info" title="gdk_pixbuf_get_file_info ()"><code class="function">gdk_pixbuf_get_file_info()</code></a>, which is the synchronous
|
400
|
+
version of this function.</p>
|
401
|
+
<p>When the operation is finished, <em class="parameter"><code>callback</code></em>
|
402
|
+
will be called in the
|
403
|
+
main thread. You can then call <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-get-file-info-finish" title="gdk_pixbuf_get_file_info_finish ()"><code class="function">gdk_pixbuf_get_file_info_finish()</code></a> to
|
404
|
+
get the result of the operation.</p>
|
405
|
+
<div class="refsect3">
|
406
|
+
<a name="gdk-pixbuf-get-file-info-async.parameters"></a><h4>Parameters</h4>
|
407
|
+
<div class="informaltable"><table width="100%" border="0">
|
408
|
+
<colgroup>
|
409
|
+
<col width="150px" class="parameters_name">
|
410
|
+
<col class="parameters_description">
|
411
|
+
<col width="200px" class="parameters_annotations">
|
412
|
+
</colgroup>
|
413
|
+
<tbody>
|
414
|
+
<tr>
|
415
|
+
<td class="parameter_name"><p>filename</p></td>
|
416
|
+
<td class="parameter_description"><p>The name of the file to identify</p></td>
|
417
|
+
<td class="parameter_annotations"> </td>
|
418
|
+
</tr>
|
419
|
+
<tr>
|
420
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
421
|
+
<td class="parameter_description"><p> optional <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> object, <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
422
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
423
|
+
</tr>
|
424
|
+
<tr>
|
425
|
+
<td class="parameter_name"><p>callback</p></td>
|
426
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the the pixbuf is loaded</p></td>
|
427
|
+
<td class="parameter_annotations"> </td>
|
428
|
+
</tr>
|
429
|
+
<tr>
|
430
|
+
<td class="parameter_name"><p>user_data</p></td>
|
431
|
+
<td class="parameter_description"><p>the data to pass to the callback function</p></td>
|
432
|
+
<td class="parameter_annotations"> </td>
|
433
|
+
</tr>
|
434
|
+
</tbody>
|
435
|
+
</table></div>
|
436
|
+
</div>
|
437
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
438
|
+
</div>
|
439
|
+
<hr>
|
440
|
+
<div class="refsect2">
|
441
|
+
<a name="gdk-pixbuf-get-file-info-finish"></a><h3>gdk_pixbuf_get_file_info_finish ()</h3>
|
442
|
+
<pre class="programlisting"><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="returnvalue">GdkPixbufFormat</span></a> *
|
443
|
+
gdk_pixbuf_get_file_info_finish (<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> *async_result</code></em>,
|
444
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *width</code></em>,
|
445
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *height</code></em>,
|
446
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
447
|
+
<p>Finishes an asynchronous pixbuf parsing operation started with
|
448
|
+
<a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-get-file-info-async" title="gdk_pixbuf_get_file_info_async ()"><code class="function">gdk_pixbuf_get_file_info_async()</code></a>.</p>
|
449
|
+
<div class="refsect3">
|
450
|
+
<a name="gdk-pixbuf-get-file-info-finish.parameters"></a><h4>Parameters</h4>
|
451
|
+
<div class="informaltable"><table width="100%" border="0">
|
452
|
+
<colgroup>
|
453
|
+
<col width="150px" class="parameters_name">
|
454
|
+
<col class="parameters_description">
|
455
|
+
<col width="200px" class="parameters_annotations">
|
456
|
+
</colgroup>
|
457
|
+
<tbody>
|
458
|
+
<tr>
|
459
|
+
<td class="parameter_name"><p>async_result</p></td>
|
460
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a></p></td>
|
461
|
+
<td class="parameter_annotations"> </td>
|
462
|
+
</tr>
|
463
|
+
<tr>
|
464
|
+
<td class="parameter_name"><p>width</p></td>
|
465
|
+
<td class="parameter_description"><p> Return location for the width of the image, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
466
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
467
|
+
</tr>
|
468
|
+
<tr>
|
469
|
+
<td class="parameter_name"><p>height</p></td>
|
470
|
+
<td class="parameter_description"><p> Return location for the height of the image, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
471
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
472
|
+
</tr>
|
473
|
+
<tr>
|
474
|
+
<td class="parameter_name"><p>error</p></td>
|
475
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
476
|
+
<td class="parameter_annotations"> </td>
|
477
|
+
</tr>
|
478
|
+
</tbody>
|
479
|
+
</table></div>
|
480
|
+
</div>
|
481
|
+
<div class="refsect3">
|
482
|
+
<a name="gdk-pixbuf-get-file-info-finish.returns"></a><h4>Returns</h4>
|
483
|
+
<p> A <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> describing the image
|
484
|
+
format of the file or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the image format wasn't
|
485
|
+
recognized. The return value is owned by GdkPixbuf and should
|
486
|
+
not be freed. </p>
|
487
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
373
488
|
</div>
|
374
|
-
<p class="since">Since 2.
|
489
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
375
490
|
</div>
|
376
491
|
<hr>
|
377
492
|
<div class="refsect2">
|
378
493
|
<a name="gdk-pixbuf-new-from-resource"></a><h3>gdk_pixbuf_new_from_resource ()</h3>
|
379
494
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
|
380
495
|
gdk_pixbuf_new_from_resource (<em class="parameter"><code>const <span class="type">char</span> *resource_path</code></em>,
|
381
|
-
<em class="parameter"><code><a href="
|
496
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
382
497
|
<p>Creates a new pixbuf by loading an image from an resource.</p>
|
383
|
-
<p>The file format is detected automatically. If <a href="
|
498
|
+
<p>The file format is detected automatically. If <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned, then
|
384
499
|
<em class="parameter"><code>error</code></em>
|
385
500
|
will be set.</p>
|
386
501
|
<div class="refsect3">
|
387
|
-
<a name="
|
502
|
+
<a name="gdk-pixbuf-new-from-resource.parameters"></a><h4>Parameters</h4>
|
388
503
|
<div class="informaltable"><table width="100%" border="0">
|
389
504
|
<colgroup>
|
390
505
|
<col width="150px" class="parameters_name">
|
@@ -406,14 +521,13 @@ gdk_pixbuf_new_from_resource (<em class="parameter"><code>const <span class="typ
|
|
406
521
|
</table></div>
|
407
522
|
</div>
|
408
523
|
<div class="refsect3">
|
409
|
-
<a name="
|
410
|
-
<p> A newly-created pixbuf, or <a href="
|
524
|
+
<a name="gdk-pixbuf-new-from-resource.returns"></a><h4>Returns</h4>
|
525
|
+
<p> A newly-created pixbuf, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if any of several error
|
411
526
|
conditions occurred: the file could not be opened, the image format is
|
412
527
|
not supported, there was not enough memory to allocate the image buffer,
|
413
528
|
the stream contained invalid data, or the operation was cancelled.</p>
|
414
|
-
<p></p>
|
415
529
|
</div>
|
416
|
-
<p class="since">Since 2.26</p>
|
530
|
+
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
417
531
|
</div>
|
418
532
|
<hr>
|
419
533
|
<div class="refsect2">
|
@@ -422,10 +536,10 @@ the stream contained invalid data, or the operation was cancelled.</p>
|
|
422
536
|
gdk_pixbuf_new_from_resource_at_scale (<em class="parameter"><code>const <span class="type">char</span> *resource_path</code></em>,
|
423
537
|
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
424
538
|
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
425
|
-
<em class="parameter"><code><a href="
|
426
|
-
<em class="parameter"><code><a href="
|
539
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> preserve_aspect_ratio</code></em>,
|
540
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
427
541
|
<p>Creates a new pixbuf by loading an image from an resource.</p>
|
428
|
-
<p>The file format is detected automatically. If <a href="
|
542
|
+
<p>The file format is detected automatically. If <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned, then
|
429
543
|
<em class="parameter"><code>error</code></em>
|
430
544
|
will be set.</p>
|
431
545
|
<p>The image will be scaled to fit in the requested size, optionally
|
@@ -440,7 +554,7 @@ exact given width. When not preserving aspect ratio, a <em class="parameter"><co
|
|
440
554
|
of -1 means to not scale the image at all in that dimension.</p>
|
441
555
|
<p>The stream is not closed.</p>
|
442
556
|
<div class="refsect3">
|
443
|
-
<a name="
|
557
|
+
<a name="gdk-pixbuf-new-from-resource-at-scale.parameters"></a><h4>Parameters</h4>
|
444
558
|
<div class="informaltable"><table width="100%" border="0">
|
445
559
|
<colgroup>
|
446
560
|
<col width="150px" class="parameters_name">
|
@@ -465,7 +579,7 @@ exact given width. When not preserving aspect ratio, a <em class="parameter"><co
|
|
465
579
|
</tr>
|
466
580
|
<tr>
|
467
581
|
<td class="parameter_name"><p>preserve_aspect_ratio</p></td>
|
468
|
-
<td class="parameter_description"><p><a href="
|
582
|
+
<td class="parameter_description"><p><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to preserve the image's aspect ratio</p></td>
|
469
583
|
<td class="parameter_annotations"> </td>
|
470
584
|
</tr>
|
471
585
|
<tr>
|
@@ -477,33 +591,32 @@ exact given width. When not preserving aspect ratio, a <em class="parameter"><co
|
|
477
591
|
</table></div>
|
478
592
|
</div>
|
479
593
|
<div class="refsect3">
|
480
|
-
<a name="
|
481
|
-
<p> A newly-created pixbuf, or <a href="
|
594
|
+
<a name="gdk-pixbuf-new-from-resource-at-scale.returns"></a><h4>Returns</h4>
|
595
|
+
<p> A newly-created pixbuf, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if any of several error
|
482
596
|
conditions occurred: the file could not be opened, the image format is
|
483
597
|
not supported, there was not enough memory to allocate the image buffer,
|
484
598
|
the stream contained invalid data, or the operation was cancelled.</p>
|
485
|
-
<p></p>
|
486
599
|
</div>
|
487
|
-
<p class="since">Since 2.26</p>
|
600
|
+
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
488
601
|
</div>
|
489
602
|
<hr>
|
490
603
|
<div class="refsect2">
|
491
604
|
<a name="gdk-pixbuf-new-from-stream"></a><h3>gdk_pixbuf_new_from_stream ()</h3>
|
492
605
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
|
493
|
-
gdk_pixbuf_new_from_stream (<em class="parameter"><code><a href="
|
494
|
-
<em class="parameter"><code><a href="
|
495
|
-
<em class="parameter"><code><a href="
|
606
|
+
gdk_pixbuf_new_from_stream (<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> *stream</code></em>,
|
607
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
608
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
496
609
|
<p>Creates a new pixbuf by loading an image from an input stream. </p>
|
497
|
-
<p>The file format is detected automatically. If <a href="
|
610
|
+
<p>The file format is detected automatically. If <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned, then
|
498
611
|
<em class="parameter"><code>error</code></em>
|
499
612
|
will be set. The <em class="parameter"><code>cancellable</code></em>
|
500
613
|
can be used to abort the operation
|
501
614
|
from another thread. If the operation was cancelled, the error
|
502
|
-
<code class="literal">G_IO_ERROR_CANCELLED</code> will be returned. Other possible errors are in
|
503
|
-
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> and <a href="
|
615
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a> will be returned. Other possible errors are in
|
616
|
+
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> and <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html#G-IO-ERROR:CAPS"><code class="literal">G_IO_ERROR</code></a> domains. </p>
|
504
617
|
<p>The stream is not closed.</p>
|
505
618
|
<div class="refsect3">
|
506
|
-
<a name="
|
619
|
+
<a name="gdk-pixbuf-new-from-stream.parameters"></a><h4>Parameters</h4>
|
507
620
|
<div class="informaltable"><table width="100%" border="0">
|
508
621
|
<colgroup>
|
509
622
|
<col width="150px" class="parameters_name">
|
@@ -513,13 +626,13 @@ the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERR
|
|
513
626
|
<tbody>
|
514
627
|
<tr>
|
515
628
|
<td class="parameter_name"><p>stream</p></td>
|
516
|
-
<td class="parameter_description"><p>a <a href="
|
629
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> to load the pixbuf from</p></td>
|
517
630
|
<td class="parameter_annotations"> </td>
|
518
631
|
</tr>
|
519
632
|
<tr>
|
520
633
|
<td class="parameter_name"><p>cancellable</p></td>
|
521
|
-
<td class="parameter_description"><p> optional <a href="
|
522
|
-
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is
|
634
|
+
<td class="parameter_description"><p> optional <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> object, <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
635
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
523
636
|
</tr>
|
524
637
|
<tr>
|
525
638
|
<td class="parameter_name"><p>error</p></td>
|
@@ -530,23 +643,22 @@ the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERR
|
|
530
643
|
</table></div>
|
531
644
|
</div>
|
532
645
|
<div class="refsect3">
|
533
|
-
<a name="
|
534
|
-
<p> A newly-created pixbuf, or <a href="
|
646
|
+
<a name="gdk-pixbuf-new-from-stream.returns"></a><h4>Returns</h4>
|
647
|
+
<p> A newly-created pixbuf, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if any of several error
|
535
648
|
conditions occurred: the file could not be opened, the image format is
|
536
649
|
not supported, there was not enough memory to allocate the image buffer,
|
537
650
|
the stream contained invalid data, or the operation was cancelled.</p>
|
538
|
-
<p></p>
|
539
651
|
</div>
|
540
|
-
<p class="since">Since 2.14</p>
|
652
|
+
<p class="since">Since: <a class="link" href="api-index-2-14.html#api-index-2.14">2.14</a></p>
|
541
653
|
</div>
|
542
654
|
<hr>
|
543
655
|
<div class="refsect2">
|
544
656
|
<a name="gdk-pixbuf-new-from-stream-async"></a><h3>gdk_pixbuf_new_from_stream_async ()</h3>
|
545
657
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
546
|
-
gdk_pixbuf_new_from_stream_async (<em class="parameter"><code><a href="
|
547
|
-
<em class="parameter"><code><a href="
|
548
|
-
<em class="parameter"><code><a href="
|
549
|
-
<em class="parameter"><code><a href="
|
658
|
+
gdk_pixbuf_new_from_stream_async (<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> *stream</code></em>,
|
659
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
660
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
661
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
550
662
|
<p>Creates a new pixbuf by asynchronously loading an image from an input stream.</p>
|
551
663
|
<p>For more details see <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-stream" title="gdk_pixbuf_new_from_stream ()"><code class="function">gdk_pixbuf_new_from_stream()</code></a>, which is the synchronous
|
552
664
|
version of this function.</p>
|
@@ -554,7 +666,7 @@ version of this function.</p>
|
|
554
666
|
will be called in the main thread.
|
555
667
|
You can then call <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-stream-finish" title="gdk_pixbuf_new_from_stream_finish ()"><code class="function">gdk_pixbuf_new_from_stream_finish()</code></a> to get the result of the operation.</p>
|
556
668
|
<div class="refsect3">
|
557
|
-
<a name="
|
669
|
+
<a name="gdk-pixbuf-new-from-stream-async.parameters"></a><h4>Parameters</h4>
|
558
670
|
<div class="informaltable"><table width="100%" border="0">
|
559
671
|
<colgroup>
|
560
672
|
<col width="150px" class="parameters_name">
|
@@ -564,17 +676,17 @@ You can then call <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-
|
|
564
676
|
<tbody>
|
565
677
|
<tr>
|
566
678
|
<td class="parameter_name"><p>stream</p></td>
|
567
|
-
<td class="parameter_description"><p>a <a href="
|
679
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> from which to load the pixbuf</p></td>
|
568
680
|
<td class="parameter_annotations"> </td>
|
569
681
|
</tr>
|
570
682
|
<tr>
|
571
683
|
<td class="parameter_name"><p>cancellable</p></td>
|
572
|
-
<td class="parameter_description"><p> optional <a href="
|
573
|
-
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is
|
684
|
+
<td class="parameter_description"><p> optional <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> object, <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
685
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
574
686
|
</tr>
|
575
687
|
<tr>
|
576
688
|
<td class="parameter_name"><p>callback</p></td>
|
577
|
-
<td class="parameter_description"><p>a <a href="
|
689
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the the pixbuf is loaded</p></td>
|
578
690
|
<td class="parameter_annotations"> </td>
|
579
691
|
</tr>
|
580
692
|
<tr>
|
@@ -585,18 +697,18 @@ You can then call <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-
|
|
585
697
|
</tbody>
|
586
698
|
</table></div>
|
587
699
|
</div>
|
588
|
-
<p class="since">Since 2.24</p>
|
700
|
+
<p class="since">Since: 2.24</p>
|
589
701
|
</div>
|
590
702
|
<hr>
|
591
703
|
<div class="refsect2">
|
592
704
|
<a name="gdk-pixbuf-new-from-stream-finish"></a><h3>gdk_pixbuf_new_from_stream_finish ()</h3>
|
593
705
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
|
594
|
-
gdk_pixbuf_new_from_stream_finish (<em class="parameter"><code><a href="
|
595
|
-
<em class="parameter"><code><a href="
|
706
|
+
gdk_pixbuf_new_from_stream_finish (<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> *async_result</code></em>,
|
707
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
596
708
|
<p>Finishes an asynchronous pixbuf creation operation started with
|
597
709
|
<a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-stream-async" title="gdk_pixbuf_new_from_stream_async ()"><code class="function">gdk_pixbuf_new_from_stream_async()</code></a>.</p>
|
598
710
|
<div class="refsect3">
|
599
|
-
<a name="
|
711
|
+
<a name="gdk-pixbuf-new-from-stream-finish.parameters"></a><h4>Parameters</h4>
|
600
712
|
<div class="informaltable"><table width="100%" border="0">
|
601
713
|
<colgroup>
|
602
714
|
<col width="150px" class="parameters_name">
|
@@ -606,43 +718,42 @@ gdk_pixbuf_new_from_stream_finish (<em class="parameter"><code><a href="http://l
|
|
606
718
|
<tbody>
|
607
719
|
<tr>
|
608
720
|
<td class="parameter_name"><p>async_result</p></td>
|
609
|
-
<td class="parameter_description"><p>a <a href="
|
721
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a></p></td>
|
610
722
|
<td class="parameter_annotations"> </td>
|
611
723
|
</tr>
|
612
724
|
<tr>
|
613
725
|
<td class="parameter_name"><p>error</p></td>
|
614
|
-
<td class="parameter_description"><p>a <a href="
|
726
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
615
727
|
<td class="parameter_annotations"> </td>
|
616
728
|
</tr>
|
617
729
|
</tbody>
|
618
730
|
</table></div>
|
619
731
|
</div>
|
620
732
|
<div class="refsect3">
|
621
|
-
<a name="
|
622
|
-
<p> a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> or <a href="
|
623
|
-
object with <a href="
|
624
|
-
<p></p>
|
733
|
+
<a name="gdk-pixbuf-new-from-stream-finish.returns"></a><h4>Returns</h4>
|
734
|
+
<p> a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. Free the returned
|
735
|
+
object with <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
|
625
736
|
</div>
|
626
|
-
<p class="since">Since 2.24</p>
|
737
|
+
<p class="since">Since: 2.24</p>
|
627
738
|
</div>
|
628
739
|
<hr>
|
629
740
|
<div class="refsect2">
|
630
741
|
<a name="gdk-pixbuf-new-from-stream-at-scale"></a><h3>gdk_pixbuf_new_from_stream_at_scale ()</h3>
|
631
742
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
|
632
|
-
gdk_pixbuf_new_from_stream_at_scale (<em class="parameter"><code><a href="
|
633
|
-
<em class="parameter"><code><a href="
|
634
|
-
<em class="parameter"><code><a href="
|
635
|
-
<em class="parameter"><code><a href="
|
636
|
-
<em class="parameter"><code><a href="
|
637
|
-
<em class="parameter"><code><a href="
|
743
|
+
gdk_pixbuf_new_from_stream_at_scale (<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> *stream</code></em>,
|
744
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
745
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>,
|
746
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> preserve_aspect_ratio</code></em>,
|
747
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
748
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
638
749
|
<p>Creates a new pixbuf by loading an image from an input stream. </p>
|
639
|
-
<p>The file format is detected automatically. If <a href="
|
750
|
+
<p>The file format is detected automatically. If <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned, then
|
640
751
|
<em class="parameter"><code>error</code></em>
|
641
752
|
will be set. The <em class="parameter"><code>cancellable</code></em>
|
642
753
|
can be used to abort the operation
|
643
754
|
from another thread. If the operation was cancelled, the error
|
644
|
-
<code class="literal">G_IO_ERROR_CANCELLED</code> will be returned. Other possible errors are in
|
645
|
-
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> and <a href="
|
755
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a> will be returned. Other possible errors are in
|
756
|
+
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> and <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html#G-IO-ERROR:CAPS"><code class="literal">G_IO_ERROR</code></a> domains. </p>
|
646
757
|
<p>The image will be scaled to fit in the requested size, optionally
|
647
758
|
preserving the image's aspect ratio.</p>
|
648
759
|
<p>When preserving the aspect ratio, a <em class="parameter"><code>width</code></em>
|
@@ -660,7 +771,7 @@ is passed as -1.</p>
|
|
660
771
|
scale the image at all in that dimension.</p>
|
661
772
|
<p>The stream is not closed.</p>
|
662
773
|
<div class="refsect3">
|
663
|
-
<a name="
|
774
|
+
<a name="gdk-pixbuf-new-from-stream-at-scale.parameters"></a><h4>Parameters</h4>
|
664
775
|
<div class="informaltable"><table width="100%" border="0">
|
665
776
|
<colgroup>
|
666
777
|
<col width="150px" class="parameters_name">
|
@@ -670,7 +781,7 @@ scale the image at all in that dimension.</p>
|
|
670
781
|
<tbody>
|
671
782
|
<tr>
|
672
783
|
<td class="parameter_name"><p>stream</p></td>
|
673
|
-
<td class="parameter_description"><p>a <a href="
|
784
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> to load the pixbuf from</p></td>
|
674
785
|
<td class="parameter_annotations"> </td>
|
675
786
|
</tr>
|
676
787
|
<tr>
|
@@ -685,13 +796,13 @@ scale the image at all in that dimension.</p>
|
|
685
796
|
</tr>
|
686
797
|
<tr>
|
687
798
|
<td class="parameter_name"><p>preserve_aspect_ratio</p></td>
|
688
|
-
<td class="parameter_description"><p><a href="
|
799
|
+
<td class="parameter_description"><p><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to preserve the image's aspect ratio</p></td>
|
689
800
|
<td class="parameter_annotations"> </td>
|
690
801
|
</tr>
|
691
802
|
<tr>
|
692
803
|
<td class="parameter_name"><p>cancellable</p></td>
|
693
|
-
<td class="parameter_description"><p> optional <a href="
|
694
|
-
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is
|
804
|
+
<td class="parameter_description"><p> optional <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> object, <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
805
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
695
806
|
</tr>
|
696
807
|
<tr>
|
697
808
|
<td class="parameter_name"><p>error</p></td>
|
@@ -702,27 +813,26 @@ scale the image at all in that dimension.</p>
|
|
702
813
|
</table></div>
|
703
814
|
</div>
|
704
815
|
<div class="refsect3">
|
705
|
-
<a name="
|
706
|
-
<p> A newly-created pixbuf, or <a href="
|
816
|
+
<a name="gdk-pixbuf-new-from-stream-at-scale.returns"></a><h4>Returns</h4>
|
817
|
+
<p> A newly-created pixbuf, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if any of several error
|
707
818
|
conditions occurred: the file could not be opened, the image format is
|
708
819
|
not supported, there was not enough memory to allocate the image buffer,
|
709
820
|
the stream contained invalid data, or the operation was cancelled.</p>
|
710
|
-
<p></p>
|
711
821
|
</div>
|
712
|
-
<p class="since">Since 2.14</p>
|
822
|
+
<p class="since">Since: <a class="link" href="api-index-2-14.html#api-index-2.14">2.14</a></p>
|
713
823
|
</div>
|
714
824
|
<hr>
|
715
825
|
<div class="refsect2">
|
716
826
|
<a name="gdk-pixbuf-new-from-stream-at-scale-async"></a><h3>gdk_pixbuf_new_from_stream_at_scale_async ()</h3>
|
717
827
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
718
828
|
gdk_pixbuf_new_from_stream_at_scale_async
|
719
|
-
(<em class="parameter"><code><a href="
|
720
|
-
<em class="parameter"><code><a href="
|
721
|
-
<em class="parameter"><code><a href="
|
722
|
-
<em class="parameter"><code><a href="
|
723
|
-
<em class="parameter"><code><a href="
|
724
|
-
<em class="parameter"><code><a href="
|
725
|
-
<em class="parameter"><code><a href="
|
829
|
+
(<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> *stream</code></em>,
|
830
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
831
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>,
|
832
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> preserve_aspect_ratio</code></em>,
|
833
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
834
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
835
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
726
836
|
<p>Creates a new pixbuf by asynchronously loading an image from an input stream.</p>
|
727
837
|
<p>For more details see <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-stream-at-scale" title="gdk_pixbuf_new_from_stream_at_scale ()"><code class="function">gdk_pixbuf_new_from_stream_at_scale()</code></a>, which is the synchronous
|
728
838
|
version of this function.</p>
|
@@ -730,7 +840,7 @@ version of this function.</p>
|
|
730
840
|
will be called in the main thread.
|
731
841
|
You can then call <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-stream-finish" title="gdk_pixbuf_new_from_stream_finish ()"><code class="function">gdk_pixbuf_new_from_stream_finish()</code></a> to get the result of the operation.</p>
|
732
842
|
<div class="refsect3">
|
733
|
-
<a name="
|
843
|
+
<a name="gdk-pixbuf-new-from-stream-at-scale-async.parameters"></a><h4>Parameters</h4>
|
734
844
|
<div class="informaltable"><table width="100%" border="0">
|
735
845
|
<colgroup>
|
736
846
|
<col width="150px" class="parameters_name">
|
@@ -740,7 +850,7 @@ You can then call <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-
|
|
740
850
|
<tbody>
|
741
851
|
<tr>
|
742
852
|
<td class="parameter_name"><p>stream</p></td>
|
743
|
-
<td class="parameter_description"><p>a <a href="
|
853
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> from which to load the pixbuf</p></td>
|
744
854
|
<td class="parameter_annotations"> </td>
|
745
855
|
</tr>
|
746
856
|
<tr>
|
@@ -755,17 +865,17 @@ You can then call <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-
|
|
755
865
|
</tr>
|
756
866
|
<tr>
|
757
867
|
<td class="parameter_name"><p>preserve_aspect_ratio</p></td>
|
758
|
-
<td class="parameter_description"><p><a href="
|
868
|
+
<td class="parameter_description"><p><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to preserve the image's aspect ratio</p></td>
|
759
869
|
<td class="parameter_annotations"> </td>
|
760
870
|
</tr>
|
761
871
|
<tr>
|
762
872
|
<td class="parameter_name"><p>cancellable</p></td>
|
763
|
-
<td class="parameter_description"><p> optional <a href="
|
764
|
-
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is
|
873
|
+
<td class="parameter_description"><p> optional <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> object, <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
874
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
765
875
|
</tr>
|
766
876
|
<tr>
|
767
877
|
<td class="parameter_name"><p>callback</p></td>
|
768
|
-
<td class="parameter_description"><p>a <a href="
|
878
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the the pixbuf is loaded</p></td>
|
769
879
|
<td class="parameter_annotations"> </td>
|
770
880
|
</tr>
|
771
881
|
<tr>
|
@@ -776,7 +886,7 @@ You can then call <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-
|
|
776
886
|
</tbody>
|
777
887
|
</table></div>
|
778
888
|
</div>
|
779
|
-
<p class="since">Since 2.24</p>
|
889
|
+
<p class="since">Since: 2.24</p>
|
780
890
|
</div>
|
781
891
|
</div>
|
782
892
|
<div class="refsect1">
|
@@ -788,7 +898,6 @@ You can then call <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-
|
|
788
898
|
</div>
|
789
899
|
</div>
|
790
900
|
<div class="footer">
|
791
|
-
<hr>
|
792
|
-
Generated by GTK-Doc V1.20.1</div>
|
901
|
+
<hr>Generated by GTK-Doc V1.25.1</div>
|
793
902
|
</body>
|
794
903
|
</html>
|