gdk_pixbuf2 3.0.9-x86-mingw32 → 3.1.0-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 +4 -2
- data/lib/gdk_pixbuf2/loader.rb +0 -6
- data/lib/gdk_pixbuf2/pixbuf.rb +13 -0
- data/test/run-test.rb +2 -0
- data/test/test-pixbuf.rb +3 -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-animation.h +23 -4
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +83 -5
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h +7 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +8 -4
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h +24 -10
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h +11 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h +662 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h +6 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h +7 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h +1 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h +5 -5
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache +71 -71
- 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/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 +2 -2
- data/vendor/local/lib/pkgconfig/gdk-pixbuf-2.0.pc +1 -1
- data/vendor/local/share/gir-1.0/GdkPixbuf-2.0.gir +201 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +78 -78
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/annotation-glossary.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-2.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-26.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-28.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-30.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-32.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-36.html +146 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-4.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-6.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-8.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-deprecated.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-full.html +107 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html +90 -90
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +106 -106
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +257 -99
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +36 -35
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +49 -49
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +128 -73
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +17 -17
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Scaling.html +28 -28
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +164 -75
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Utilities.html +19 -19
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Versioning.html +295 -6
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-X-Drawables-to-Pixbufs.html +8 -8
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Xlib-Rendering.html +8 -8
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-XlibRGB.html +27 -27
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-csource.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-Xlib-initialization.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-from-drawables.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-rendering.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-query-loaders.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf.devhelp2 +28 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.html +5 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/license.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn01.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn02.html +3 -3
- data/vendor/local/share/locale/ca@valencia/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/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/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_GB/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/fr/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/he/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/id/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/ko/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/oc/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/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/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/sr/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/tr/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/zh_HK/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
- metadata +8 -7
- data/vendor/local/lib/gdk_pixbuf-2.0.def +0 -134
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>File Loading: GDK-PixBuf Reference Manual</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.79.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.25
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25 (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">
|
@@ -33,7 +33,7 @@
|
|
33
33
|
</tr></table></div>
|
34
34
|
<div class="refsect1">
|
35
35
|
<a name="gdk-pixbuf-File-Loading.functions"></a><h2>Functions</h2>
|
36
|
-
<div class="informaltable"><table width="100%" border="0">
|
36
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
37
37
|
<colgroup>
|
38
38
|
<col width="150px" class="functions_return">
|
39
39
|
<col class="functions_name">
|
@@ -169,14 +169,14 @@ loading can use the <a class="link" href="GdkPixbufLoader.html" title="GdkPixbuf
|
|
169
169
|
<a name="gdk-pixbuf-new-from-file"></a><h3>gdk_pixbuf_new_from_file ()</h3>
|
170
170
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
|
171
171
|
gdk_pixbuf_new_from_file (<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
|
172
|
-
<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>
|
173
173
|
<p>Creates a new pixbuf by loading an image from a file. The file format is
|
174
|
-
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>
|
175
175
|
will be set.
|
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="
|
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>
|
177
177
|
<div class="refsect3">
|
178
178
|
<a name="gdk-pixbuf-new-from-file.parameters"></a><h4>Parameters</h4>
|
179
|
-
<div class="informaltable"><table width="100%" border="0">
|
179
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
180
180
|
<colgroup>
|
181
181
|
<col width="150px" class="parameters_name">
|
182
182
|
<col class="parameters_description">
|
@@ -198,7 +198,7 @@ Possible errors are in the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Struct
|
|
198
198
|
</div>
|
199
199
|
<div class="refsect3">
|
200
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="
|
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
|
202
202
|
any of several error conditions occurred: the file could not be opened,
|
203
203
|
there was no loader for the file's format, there was not enough memory to
|
204
204
|
allocate the image buffer, or the image file contained invalid data.</p>
|
@@ -211,12 +211,12 @@ allocate the image buffer, or the image file contained invalid data.</p>
|
|
211
211
|
gdk_pixbuf_new_from_file_at_size (<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
|
212
212
|
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
213
213
|
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
214
|
-
<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>
|
215
215
|
<p>Creates a new pixbuf by loading an image from a file.
|
216
|
-
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
|
217
217
|
<em class="parameter"><code>error</code></em>
|
218
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
|
219
|
-
<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>
|
220
220
|
<p>The image will be scaled to fit in the requested size, preserving
|
221
221
|
the image's aspect ratio. Note that the returned pixbuf may be smaller
|
222
222
|
than <em class="parameter"><code>width</code></em>
|
@@ -226,7 +226,7 @@ and image at the requested size, regardless of aspect ratio, use
|
|
226
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>
|
227
227
|
<div class="refsect3">
|
228
228
|
<a name="gdk-pixbuf-new-from-file-at-size.parameters"></a><h4>Parameters</h4>
|
229
|
-
<div class="informaltable"><table width="100%" border="0">
|
229
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
230
230
|
<colgroup>
|
231
231
|
<col width="150px" class="parameters_name">
|
232
232
|
<col class="parameters_description">
|
@@ -259,7 +259,7 @@ and image at the requested size, regardless of aspect ratio, use
|
|
259
259
|
<div class="refsect3">
|
260
260
|
<a name="gdk-pixbuf-new-from-file-at-size.returns"></a><h4>Returns</h4>
|
261
261
|
<p> A newly-created pixbuf with a reference count of 1, or
|
262
|
-
<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
|
263
263
|
be opened, there was no loader for the file's format, there was not
|
264
264
|
enough memory to allocate the image buffer, or the image file contained
|
265
265
|
invalid data.</p>
|
@@ -273,12 +273,12 @@ invalid data.</p>
|
|
273
273
|
gdk_pixbuf_new_from_file_at_scale (<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
|
274
274
|
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
275
275
|
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
276
|
-
<em class="parameter"><code><a href="
|
277
|
-
<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>
|
278
278
|
<p>Creates a new pixbuf by loading an image from a file. The file format is
|
279
|
-
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>
|
280
280
|
will be set.
|
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="
|
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.
|
282
282
|
The image will be scaled to fit in the requested size, optionally preserving
|
283
283
|
the image's aspect ratio. </p>
|
284
284
|
<p>When preserving the aspect ratio, a <em class="parameter"><code>width</code></em>
|
@@ -295,7 +295,7 @@ at all in that dimension. Negative values for <em class="parameter"><code>width<
|
|
295
295
|
allowed since 2.8.</p>
|
296
296
|
<div class="refsect3">
|
297
297
|
<a name="gdk-pixbuf-new-from-file-at-scale.parameters"></a><h4>Parameters</h4>
|
298
|
-
<div class="informaltable"><table width="100%" border="0">
|
298
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
299
299
|
<colgroup>
|
300
300
|
<col width="150px" class="parameters_name">
|
301
301
|
<col class="parameters_description">
|
@@ -319,7 +319,7 @@ allowed since 2.8.</p>
|
|
319
319
|
</tr>
|
320
320
|
<tr>
|
321
321
|
<td class="parameter_name"><p>preserve_aspect_ratio</p></td>
|
322
|
-
<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>
|
323
323
|
<td class="parameter_annotations"> </td>
|
324
324
|
</tr>
|
325
325
|
<tr>
|
@@ -332,7 +332,7 @@ allowed since 2.8.</p>
|
|
332
332
|
</div>
|
333
333
|
<div class="refsect3">
|
334
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="
|
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>
|
336
336
|
if any of several error conditions occurred: the file could not be opened,
|
337
337
|
there was no loader for the file's format, there was not enough memory to
|
338
338
|
allocate the image buffer, or the image file contained invalid data.</p>
|
@@ -343,13 +343,13 @@ allocate the image buffer, or the image file contained invalid data.</p>
|
|
343
343
|
<div class="refsect2">
|
344
344
|
<a name="gdk-pixbuf-get-file-info"></a><h3>gdk_pixbuf_get_file_info ()</h3>
|
345
345
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="returnvalue">GdkPixbufFormat</span></a> *
|
346
|
-
gdk_pixbuf_get_file_info (<em class="parameter"><code>const <a href="
|
347
|
-
<em class="parameter"><code><a href="
|
348
|
-
<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>
|
349
349
|
<p>Parses an image file far enough to determine its format and size.</p>
|
350
350
|
<div class="refsect3">
|
351
351
|
<a name="gdk-pixbuf-get-file-info.parameters"></a><h4>Parameters</h4>
|
352
|
-
<div class="informaltable"><table width="100%" border="0">
|
352
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
353
353
|
<colgroup>
|
354
354
|
<col width="150px" class="parameters_name">
|
355
355
|
<col class="parameters_description">
|
@@ -364,13 +364,13 @@ gdk_pixbuf_get_file_info (<em class="parameter"><code>const <a href="https://dev
|
|
364
364
|
<tr>
|
365
365
|
<td class="parameter_name"><p>width</p></td>
|
366
366
|
<td class="parameter_description"><p> Return location for the width of the
|
367
|
-
image, or <a href="
|
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
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>
|
369
369
|
</tr>
|
370
370
|
<tr>
|
371
371
|
<td class="parameter_name"><p>height</p></td>
|
372
372
|
<td class="parameter_description"><p> Return location for the height of the
|
373
|
-
image, or <a href="
|
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
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>
|
375
375
|
</tr>
|
376
376
|
</tbody>
|
@@ -379,7 +379,7 @@ image, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macro
|
|
379
379
|
<div class="refsect3">
|
380
380
|
<a name="gdk-pixbuf-get-file-info.returns"></a><h4>Returns</h4>
|
381
381
|
<p> A <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> describing
|
382
|
-
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
|
383
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
|
384
384
|
not be freed. </p>
|
385
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>
|
@@ -390,10 +390,10 @@ not be freed. </p>
|
|
390
390
|
<div class="refsect2">
|
391
391
|
<a name="gdk-pixbuf-get-file-info-async"></a><h3>gdk_pixbuf_get_file_info_async ()</h3>
|
392
392
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
393
|
-
gdk_pixbuf_get_file_info_async (<em class="parameter"><code>const <a href="
|
394
|
-
<em class="parameter"><code><a href="
|
395
|
-
<em class="parameter"><code><a href="
|
396
|
-
<em class="parameter"><code><a href="
|
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
397
|
<p>Asynchronously parses an image file far enough to determine its
|
398
398
|
format and size.</p>
|
399
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
|
@@ -404,7 +404,7 @@ main thread. You can then call <a class="link" href="gdk-pixbuf-File-Loading.htm
|
|
404
404
|
get the result of the operation.</p>
|
405
405
|
<div class="refsect3">
|
406
406
|
<a name="gdk-pixbuf-get-file-info-async.parameters"></a><h4>Parameters</h4>
|
407
|
-
<div class="informaltable"><table width="100%" border="0">
|
407
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
408
408
|
<colgroup>
|
409
409
|
<col width="150px" class="parameters_name">
|
410
410
|
<col class="parameters_description">
|
@@ -418,12 +418,12 @@ get the result of the operation.</p>
|
|
418
418
|
</tr>
|
419
419
|
<tr>
|
420
420
|
<td class="parameter_name"><p>cancellable</p></td>
|
421
|
-
<td class="parameter_description"><p> optional <a href="
|
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
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
423
|
</tr>
|
424
424
|
<tr>
|
425
425
|
<td class="parameter_name"><p>callback</p></td>
|
426
|
-
<td class="parameter_description"><p>a <a href="
|
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
427
|
<td class="parameter_annotations"> </td>
|
428
428
|
</tr>
|
429
429
|
<tr>
|
@@ -440,15 +440,15 @@ get the result of the operation.</p>
|
|
440
440
|
<div class="refsect2">
|
441
441
|
<a name="gdk-pixbuf-get-file-info-finish"></a><h3>gdk_pixbuf_get_file_info_finish ()</h3>
|
442
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="
|
444
|
-
<em class="parameter"><code><a href="
|
445
|
-
<em class="parameter"><code><a href="
|
446
|
-
<em class="parameter"><code><a href="
|
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
447
|
<p>Finishes an asynchronous pixbuf parsing operation started with
|
448
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
449
|
<div class="refsect3">
|
450
450
|
<a name="gdk-pixbuf-get-file-info-finish.parameters"></a><h4>Parameters</h4>
|
451
|
-
<div class="informaltable"><table width="100%" border="0">
|
451
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
452
452
|
<colgroup>
|
453
453
|
<col width="150px" class="parameters_name">
|
454
454
|
<col class="parameters_description">
|
@@ -457,22 +457,22 @@ gdk_pixbuf_get_file_info_finish (<em class="parameter"><code><a href="https://de
|
|
457
457
|
<tbody>
|
458
458
|
<tr>
|
459
459
|
<td class="parameter_name"><p>async_result</p></td>
|
460
|
-
<td class="parameter_description"><p>a <a href="
|
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
461
|
<td class="parameter_annotations"> </td>
|
462
462
|
</tr>
|
463
463
|
<tr>
|
464
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="
|
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
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
467
|
</tr>
|
468
468
|
<tr>
|
469
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="
|
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
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
472
|
</tr>
|
473
473
|
<tr>
|
474
474
|
<td class="parameter_name"><p>error</p></td>
|
475
|
-
<td class="parameter_description"><p>a <a href="
|
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
476
|
<td class="parameter_annotations"> </td>
|
477
477
|
</tr>
|
478
478
|
</tbody>
|
@@ -481,7 +481,7 @@ gdk_pixbuf_get_file_info_finish (<em class="parameter"><code><a href="https://de
|
|
481
481
|
<div class="refsect3">
|
482
482
|
<a name="gdk-pixbuf-get-file-info-finish.returns"></a><h4>Returns</h4>
|
483
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="
|
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
485
|
recognized. The return value is owned by GdkPixbuf and should
|
486
486
|
not be freed. </p>
|
487
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>
|
@@ -493,14 +493,14 @@ not be freed. </p>
|
|
493
493
|
<a name="gdk-pixbuf-new-from-resource"></a><h3>gdk_pixbuf_new_from_resource ()</h3>
|
494
494
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
|
495
495
|
gdk_pixbuf_new_from_resource (<em class="parameter"><code>const <span class="type">char</span> *resource_path</code></em>,
|
496
|
-
<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>
|
497
497
|
<p>Creates a new pixbuf by loading an image from an resource.</p>
|
498
|
-
<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
|
499
499
|
<em class="parameter"><code>error</code></em>
|
500
500
|
will be set.</p>
|
501
501
|
<div class="refsect3">
|
502
502
|
<a name="gdk-pixbuf-new-from-resource.parameters"></a><h4>Parameters</h4>
|
503
|
-
<div class="informaltable"><table width="100%" border="0">
|
503
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
504
504
|
<colgroup>
|
505
505
|
<col width="150px" class="parameters_name">
|
506
506
|
<col class="parameters_description">
|
@@ -522,7 +522,7 @@ gdk_pixbuf_new_from_resource (<em class="parameter"><code>const <span class="typ
|
|
522
522
|
</div>
|
523
523
|
<div class="refsect3">
|
524
524
|
<a name="gdk-pixbuf-new-from-resource.returns"></a><h4>Returns</h4>
|
525
|
-
<p> A newly-created pixbuf, or <a href="
|
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
|
526
526
|
conditions occurred: the file could not be opened, the image format is
|
527
527
|
not supported, there was not enough memory to allocate the image buffer,
|
528
528
|
the stream contained invalid data, or the operation was cancelled.</p>
|
@@ -536,10 +536,10 @@ the stream contained invalid data, or the operation was cancelled.</p>
|
|
536
536
|
gdk_pixbuf_new_from_resource_at_scale (<em class="parameter"><code>const <span class="type">char</span> *resource_path</code></em>,
|
537
537
|
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
538
538
|
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
539
|
-
<em class="parameter"><code><a href="
|
540
|
-
<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>
|
541
541
|
<p>Creates a new pixbuf by loading an image from an resource.</p>
|
542
|
-
<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
|
543
543
|
<em class="parameter"><code>error</code></em>
|
544
544
|
will be set.</p>
|
545
545
|
<p>The image will be scaled to fit in the requested size, optionally
|
@@ -555,7 +555,7 @@ exact given width. When not preserving aspect ratio, a <em class="parameter"><co
|
|
555
555
|
<p>The stream is not closed.</p>
|
556
556
|
<div class="refsect3">
|
557
557
|
<a name="gdk-pixbuf-new-from-resource-at-scale.parameters"></a><h4>Parameters</h4>
|
558
|
-
<div class="informaltable"><table width="100%" border="0">
|
558
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
559
559
|
<colgroup>
|
560
560
|
<col width="150px" class="parameters_name">
|
561
561
|
<col class="parameters_description">
|
@@ -579,7 +579,7 @@ exact given width. When not preserving aspect ratio, a <em class="parameter"><co
|
|
579
579
|
</tr>
|
580
580
|
<tr>
|
581
581
|
<td class="parameter_name"><p>preserve_aspect_ratio</p></td>
|
582
|
-
<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>
|
583
583
|
<td class="parameter_annotations"> </td>
|
584
584
|
</tr>
|
585
585
|
<tr>
|
@@ -592,7 +592,7 @@ exact given width. When not preserving aspect ratio, a <em class="parameter"><co
|
|
592
592
|
</div>
|
593
593
|
<div class="refsect3">
|
594
594
|
<a name="gdk-pixbuf-new-from-resource-at-scale.returns"></a><h4>Returns</h4>
|
595
|
-
<p> A newly-created pixbuf, or <a href="
|
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
|
596
596
|
conditions occurred: the file could not be opened, the image format is
|
597
597
|
not supported, there was not enough memory to allocate the image buffer,
|
598
598
|
the stream contained invalid data, or the operation was cancelled.</p>
|
@@ -603,21 +603,21 @@ the stream contained invalid data, or the operation was cancelled.</p>
|
|
603
603
|
<div class="refsect2">
|
604
604
|
<a name="gdk-pixbuf-new-from-stream"></a><h3>gdk_pixbuf_new_from_stream ()</h3>
|
605
605
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
|
606
|
-
gdk_pixbuf_new_from_stream (<em class="parameter"><code><a href="
|
607
|
-
<em class="parameter"><code><a href="
|
608
|
-
<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>
|
609
609
|
<p>Creates a new pixbuf by loading an image from an input stream. </p>
|
610
|
-
<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
|
611
611
|
<em class="parameter"><code>error</code></em>
|
612
612
|
will be set. The <em class="parameter"><code>cancellable</code></em>
|
613
613
|
can be used to abort the operation
|
614
614
|
from another thread. If the operation was cancelled, the error
|
615
|
-
<a href="
|
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="
|
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>
|
617
617
|
<p>The stream is not closed.</p>
|
618
618
|
<div class="refsect3">
|
619
619
|
<a name="gdk-pixbuf-new-from-stream.parameters"></a><h4>Parameters</h4>
|
620
|
-
<div class="informaltable"><table width="100%" border="0">
|
620
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
621
621
|
<colgroup>
|
622
622
|
<col width="150px" class="parameters_name">
|
623
623
|
<col class="parameters_description">
|
@@ -626,12 +626,12 @@ the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERR
|
|
626
626
|
<tbody>
|
627
627
|
<tr>
|
628
628
|
<td class="parameter_name"><p>stream</p></td>
|
629
|
-
<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>
|
630
630
|
<td class="parameter_annotations"> </td>
|
631
631
|
</tr>
|
632
632
|
<tr>
|
633
633
|
<td class="parameter_name"><p>cancellable</p></td>
|
634
|
-
<td class="parameter_description"><p> optional <a href="
|
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
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>
|
636
636
|
</tr>
|
637
637
|
<tr>
|
@@ -644,7 +644,7 @@ the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERR
|
|
644
644
|
</div>
|
645
645
|
<div class="refsect3">
|
646
646
|
<a name="gdk-pixbuf-new-from-stream.returns"></a><h4>Returns</h4>
|
647
|
-
<p> A newly-created pixbuf, or <a href="
|
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
|
648
648
|
conditions occurred: the file could not be opened, the image format is
|
649
649
|
not supported, there was not enough memory to allocate the image buffer,
|
650
650
|
the stream contained invalid data, or the operation was cancelled.</p>
|
@@ -655,10 +655,10 @@ the stream contained invalid data, or the operation was cancelled.</p>
|
|
655
655
|
<div class="refsect2">
|
656
656
|
<a name="gdk-pixbuf-new-from-stream-async"></a><h3>gdk_pixbuf_new_from_stream_async ()</h3>
|
657
657
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
658
|
-
gdk_pixbuf_new_from_stream_async (<em class="parameter"><code><a href="
|
659
|
-
<em class="parameter"><code><a href="
|
660
|
-
<em class="parameter"><code><a href="
|
661
|
-
<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>
|
662
662
|
<p>Creates a new pixbuf by asynchronously loading an image from an input stream.</p>
|
663
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
|
664
664
|
version of this function.</p>
|
@@ -667,7 +667,7 @@ version of this function.</p>
|
|
667
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>
|
668
668
|
<div class="refsect3">
|
669
669
|
<a name="gdk-pixbuf-new-from-stream-async.parameters"></a><h4>Parameters</h4>
|
670
|
-
<div class="informaltable"><table width="100%" border="0">
|
670
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
671
671
|
<colgroup>
|
672
672
|
<col width="150px" class="parameters_name">
|
673
673
|
<col class="parameters_description">
|
@@ -676,17 +676,17 @@ You can then call <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-
|
|
676
676
|
<tbody>
|
677
677
|
<tr>
|
678
678
|
<td class="parameter_name"><p>stream</p></td>
|
679
|
-
<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>
|
680
680
|
<td class="parameter_annotations"> </td>
|
681
681
|
</tr>
|
682
682
|
<tr>
|
683
683
|
<td class="parameter_name"><p>cancellable</p></td>
|
684
|
-
<td class="parameter_description"><p> optional <a href="
|
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
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>
|
686
686
|
</tr>
|
687
687
|
<tr>
|
688
688
|
<td class="parameter_name"><p>callback</p></td>
|
689
|
-
<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>
|
690
690
|
<td class="parameter_annotations"> </td>
|
691
691
|
</tr>
|
692
692
|
<tr>
|
@@ -703,13 +703,13 @@ You can then call <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-
|
|
703
703
|
<div class="refsect2">
|
704
704
|
<a name="gdk-pixbuf-new-from-stream-finish"></a><h3>gdk_pixbuf_new_from_stream_finish ()</h3>
|
705
705
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
|
706
|
-
gdk_pixbuf_new_from_stream_finish (<em class="parameter"><code><a href="
|
707
|
-
<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>
|
708
708
|
<p>Finishes an asynchronous pixbuf creation operation started with
|
709
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>
|
710
710
|
<div class="refsect3">
|
711
711
|
<a name="gdk-pixbuf-new-from-stream-finish.parameters"></a><h4>Parameters</h4>
|
712
|
-
<div class="informaltable"><table width="100%" border="0">
|
712
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
713
713
|
<colgroup>
|
714
714
|
<col width="150px" class="parameters_name">
|
715
715
|
<col class="parameters_description">
|
@@ -718,12 +718,12 @@ gdk_pixbuf_new_from_stream_finish (<em class="parameter"><code><a href="https://
|
|
718
718
|
<tbody>
|
719
719
|
<tr>
|
720
720
|
<td class="parameter_name"><p>async_result</p></td>
|
721
|
-
<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>
|
722
722
|
<td class="parameter_annotations"> </td>
|
723
723
|
</tr>
|
724
724
|
<tr>
|
725
725
|
<td class="parameter_name"><p>error</p></td>
|
726
|
-
<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>
|
727
727
|
<td class="parameter_annotations"> </td>
|
728
728
|
</tr>
|
729
729
|
</tbody>
|
@@ -731,8 +731,8 @@ gdk_pixbuf_new_from_stream_finish (<em class="parameter"><code><a href="https://
|
|
731
731
|
</div>
|
732
732
|
<div class="refsect3">
|
733
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="
|
735
|
-
object with <a href="
|
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>
|
736
736
|
</div>
|
737
737
|
<p class="since">Since: 2.24</p>
|
738
738
|
</div>
|
@@ -740,20 +740,20 @@ object with <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Ba
|
|
740
740
|
<div class="refsect2">
|
741
741
|
<a name="gdk-pixbuf-new-from-stream-at-scale"></a><h3>gdk_pixbuf_new_from_stream_at_scale ()</h3>
|
742
742
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
|
743
|
-
gdk_pixbuf_new_from_stream_at_scale (<em class="parameter"><code><a href="
|
744
|
-
<em class="parameter"><code><a href="
|
745
|
-
<em class="parameter"><code><a href="
|
746
|
-
<em class="parameter"><code><a href="
|
747
|
-
<em class="parameter"><code><a href="
|
748
|
-
<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>
|
749
749
|
<p>Creates a new pixbuf by loading an image from an input stream. </p>
|
750
|
-
<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
|
751
751
|
<em class="parameter"><code>error</code></em>
|
752
752
|
will be set. The <em class="parameter"><code>cancellable</code></em>
|
753
753
|
can be used to abort the operation
|
754
754
|
from another thread. If the operation was cancelled, the error
|
755
|
-
<a href="
|
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="
|
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>
|
757
757
|
<p>The image will be scaled to fit in the requested size, optionally
|
758
758
|
preserving the image's aspect ratio.</p>
|
759
759
|
<p>When preserving the aspect ratio, a <em class="parameter"><code>width</code></em>
|
@@ -772,7 +772,7 @@ scale the image at all in that dimension.</p>
|
|
772
772
|
<p>The stream is not closed.</p>
|
773
773
|
<div class="refsect3">
|
774
774
|
<a name="gdk-pixbuf-new-from-stream-at-scale.parameters"></a><h4>Parameters</h4>
|
775
|
-
<div class="informaltable"><table width="100%" border="0">
|
775
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
776
776
|
<colgroup>
|
777
777
|
<col width="150px" class="parameters_name">
|
778
778
|
<col class="parameters_description">
|
@@ -781,7 +781,7 @@ scale the image at all in that dimension.</p>
|
|
781
781
|
<tbody>
|
782
782
|
<tr>
|
783
783
|
<td class="parameter_name"><p>stream</p></td>
|
784
|
-
<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>
|
785
785
|
<td class="parameter_annotations"> </td>
|
786
786
|
</tr>
|
787
787
|
<tr>
|
@@ -796,12 +796,12 @@ scale the image at all in that dimension.</p>
|
|
796
796
|
</tr>
|
797
797
|
<tr>
|
798
798
|
<td class="parameter_name"><p>preserve_aspect_ratio</p></td>
|
799
|
-
<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>
|
800
800
|
<td class="parameter_annotations"> </td>
|
801
801
|
</tr>
|
802
802
|
<tr>
|
803
803
|
<td class="parameter_name"><p>cancellable</p></td>
|
804
|
-
<td class="parameter_description"><p> optional <a href="
|
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
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>
|
806
806
|
</tr>
|
807
807
|
<tr>
|
@@ -814,7 +814,7 @@ scale the image at all in that dimension.</p>
|
|
814
814
|
</div>
|
815
815
|
<div class="refsect3">
|
816
816
|
<a name="gdk-pixbuf-new-from-stream-at-scale.returns"></a><h4>Returns</h4>
|
817
|
-
<p> A newly-created pixbuf, or <a href="
|
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
|
818
818
|
conditions occurred: the file could not be opened, the image format is
|
819
819
|
not supported, there was not enough memory to allocate the image buffer,
|
820
820
|
the stream contained invalid data, or the operation was cancelled.</p>
|
@@ -826,13 +826,13 @@ the stream contained invalid data, or the operation was cancelled.</p>
|
|
826
826
|
<a name="gdk-pixbuf-new-from-stream-at-scale-async"></a><h3>gdk_pixbuf_new_from_stream_at_scale_async ()</h3>
|
827
827
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
828
828
|
gdk_pixbuf_new_from_stream_at_scale_async
|
829
|
-
(<em class="parameter"><code><a href="
|
830
|
-
<em class="parameter"><code><a href="
|
831
|
-
<em class="parameter"><code><a href="
|
832
|
-
<em class="parameter"><code><a href="
|
833
|
-
<em class="parameter"><code><a href="
|
834
|
-
<em class="parameter"><code><a href="
|
835
|
-
<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>
|
836
836
|
<p>Creates a new pixbuf by asynchronously loading an image from an input stream.</p>
|
837
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
|
838
838
|
version of this function.</p>
|
@@ -841,7 +841,7 @@ version of this function.</p>
|
|
841
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>
|
842
842
|
<div class="refsect3">
|
843
843
|
<a name="gdk-pixbuf-new-from-stream-at-scale-async.parameters"></a><h4>Parameters</h4>
|
844
|
-
<div class="informaltable"><table width="100%" border="0">
|
844
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
845
845
|
<colgroup>
|
846
846
|
<col width="150px" class="parameters_name">
|
847
847
|
<col class="parameters_description">
|
@@ -850,7 +850,7 @@ You can then call <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-
|
|
850
850
|
<tbody>
|
851
851
|
<tr>
|
852
852
|
<td class="parameter_name"><p>stream</p></td>
|
853
|
-
<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>
|
854
854
|
<td class="parameter_annotations"> </td>
|
855
855
|
</tr>
|
856
856
|
<tr>
|
@@ -865,17 +865,17 @@ You can then call <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-
|
|
865
865
|
</tr>
|
866
866
|
<tr>
|
867
867
|
<td class="parameter_name"><p>preserve_aspect_ratio</p></td>
|
868
|
-
<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>
|
869
869
|
<td class="parameter_annotations"> </td>
|
870
870
|
</tr>
|
871
871
|
<tr>
|
872
872
|
<td class="parameter_name"><p>cancellable</p></td>
|
873
|
-
<td class="parameter_description"><p> optional <a href="
|
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
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>
|
875
875
|
</tr>
|
876
876
|
<tr>
|
877
877
|
<td class="parameter_name"><p>callback</p></td>
|
878
|
-
<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>
|
879
879
|
<td class="parameter_annotations"> </td>
|
880
880
|
</tr>
|
881
881
|
<tr>
|
@@ -898,6 +898,6 @@ You can then call <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-
|
|
898
898
|
</div>
|
899
899
|
</div>
|
900
900
|
<div class="footer">
|
901
|
-
<hr>Generated by GTK-Doc V1.25
|
901
|
+
<hr>Generated by GTK-Doc V1.25</div>
|
902
902
|
</body>
|
903
903
|
</html>
|