gdk_pixbuf2 3.2.1-x64-mingw32 → 3.2.2-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/dependency-check/Rakefile +1 -2
- data/lib/gdk_pixbuf2/pixbuf.rb +19 -3
- data/test/test-pixbuf.rb +22 -5
- 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/gdk-pixbuf-thumbnailer.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-enum-types.h +1 -1
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-marshal.h +20 -18
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache +47 -47
- 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 +2 -2
- 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/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +59 -59
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html +64 -64
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +89 -89
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +103 -103
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +22 -22
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +36 -36
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +51 -51
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Scaling.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +59 -59
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Utilities.html +11 -11
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-X-Drawables-to-Pixbufs.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-XlibRGB.html +4 -4
- data/vendor/local/share/thumbnailers/gdk-pixbuf-thumbnailer.thumbnailer +2 -2
- metadata +7 -7
@@ -76,14 +76,14 @@
|
|
76
76
|
<p><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> structures are reference counted. This means that an
|
77
77
|
application can share a single pixbuf among many parts of the
|
78
78
|
code. When a piece of the program needs to keep a pointer to a
|
79
|
-
pixbuf, it should add a reference to it by calling <a href="
|
79
|
+
pixbuf, it should add a reference to it by calling <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a>.
|
80
80
|
When it no longer needs the pixbuf, it should subtract a reference
|
81
|
-
by calling <a href="
|
81
|
+
by calling <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. The pixbuf will be destroyed when
|
82
82
|
its reference count drops to zero. Newly-created <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>
|
83
83
|
structures start with a reference count of one.</p>
|
84
|
-
<div class="blockquote"><blockquote class="blockquote"><p>As <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> is derived from <a href="
|
85
|
-
<a class="link" href="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html#gdk-pixbuf-unref" title="gdk_pixbuf_unref ()"><code class="function">gdk_pixbuf_unref()</code></a> are deprecated in favour of <a href="
|
86
|
-
and <a href="
|
84
|
+
<div class="blockquote"><blockquote class="blockquote"><p>As <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> is derived from <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> now, <a class="link" href="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html#gdk-pixbuf-ref" title="gdk_pixbuf_ref ()"><code class="function">gdk_pixbuf_ref()</code></a> and
|
85
|
+
<a class="link" href="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html#gdk-pixbuf-unref" title="gdk_pixbuf_unref ()"><code class="function">gdk_pixbuf_unref()</code></a> are deprecated in favour of <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a>
|
86
|
+
and <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> resp.</p></blockquote></div>
|
87
87
|
<p>Finalizing a pixbuf means to free its pixel data and to free the
|
88
88
|
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> structure itself. Most of the library functions that
|
89
89
|
create <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> structures create the pixel data by themselves
|
@@ -91,7 +91,7 @@ and define the way it should be freed; you do not need to worry
|
|
91
91
|
about those.</p>
|
92
92
|
<p>To provide preallocated pixel data, use
|
93
93
|
<a class="link" href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new-from-bytes" title="gdk_pixbuf_new_from_bytes ()"><code class="function">gdk_pixbuf_new_from_bytes()</code></a>. The <a class="link" href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new-from-data" title="gdk_pixbuf_new_from_data ()"><code class="function">gdk_pixbuf_new_from_data()</code></a> API is
|
94
|
-
an older variant that predates the existence of <a href="
|
94
|
+
an older variant that predates the existence of <a href="../glib/glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a>.</p>
|
95
95
|
</div>
|
96
96
|
<div class="refsect1">
|
97
97
|
<a name="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.functions_details"></a><h2>Functions</h2>
|
@@ -101,7 +101,7 @@ an older variant that predates the existence of <a href="/home/vagrant/ruby-gnom
|
|
101
101
|
gdk_pixbuf_ref (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
|
102
102
|
<div class="warning">
|
103
103
|
<p><code class="literal">gdk_pixbuf_ref</code> has been deprecated since version 2.0 and should not be used in newly-written code.</p>
|
104
|
-
<p>Use <a href="
|
104
|
+
<p>Use <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a>.</p>
|
105
105
|
</div>
|
106
106
|
<p>Adds a reference to a pixbuf.</p>
|
107
107
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
@@ -133,7 +133,7 @@ argument.</p>
|
|
133
133
|
gdk_pixbuf_unref (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
|
134
134
|
<div class="warning">
|
135
135
|
<p><code class="literal">gdk_pixbuf_unref</code> has been deprecated since version 2.0 and should not be used in newly-written code.</p>
|
136
|
-
<p>Use <a href="
|
136
|
+
<p>Use <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
|
137
137
|
</div>
|
138
138
|
<p>Removes a reference from a pixbuf.</p>
|
139
139
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
@@ -157,8 +157,8 @@ gdk_pixbuf_unref (<em class="parameter"><code><a class="link" href="gdk-pixbuf-T
|
|
157
157
|
<div class="refsect2">
|
158
158
|
<a name="GdkPixbufDestroyNotify"></a><h3>GdkPixbufDestroyNotify ()</h3>
|
159
159
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
160
|
-
<span class="c_punctuation">(</span>*GdkPixbufDestroyNotify<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="
|
161
|
-
<em class="parameter"><code><a href="
|
160
|
+
<span class="c_punctuation">(</span>*GdkPixbufDestroyNotify<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *pixels</code></em>,
|
161
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
162
162
|
<p>A function of this type is responsible for freeing the pixel array
|
163
163
|
of a pixbuf. The <a class="link" href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new-from-data" title="gdk_pixbuf_new_from_data ()"><code class="function">gdk_pixbuf_new_from_data()</code></a> function lets you
|
164
164
|
pass in a pre-allocated pixel array so that a pixbuf can be
|
@@ -298,7 +298,7 @@ and <a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-composite" title="g
|
|
298
298
|
</div>
|
299
299
|
<div class="refsect3">
|
300
300
|
<a name="gdk-pixbuf-scale-simple.returns"></a><h4>Returns</h4>
|
301
|
-
<p> the new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="
|
301
|
+
<p> the new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not enough memory could be
|
302
302
|
allocated for it. </p>
|
303
303
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
304
304
|
</div>
|
@@ -416,8 +416,8 @@ gdk_pixbuf_composite_color_simple (<em class="parameter"><code>const <a class="l
|
|
416
416
|
<em class="parameter"><code><a class="link" href="gdk-pixbuf-Scaling.html#GdkInterpType" title="enum GdkInterpType"><span class="type">GdkInterpType</span></a> interp_type</code></em>,
|
417
417
|
<em class="parameter"><code><span class="type">int</span> overall_alpha</code></em>,
|
418
418
|
<em class="parameter"><code><span class="type">int</span> check_size</code></em>,
|
419
|
-
<em class="parameter"><code><a href="
|
420
|
-
<em class="parameter"><code><a href="
|
419
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> color1</code></em>,
|
420
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> color2</code></em>);</pre>
|
421
421
|
<p>Creates a new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> by scaling <em class="parameter"><code>src</code></em>
|
422
422
|
to <em class="parameter"><code>dest_width</code></em>
|
423
423
|
x
|
@@ -480,7 +480,7 @@ gdk_pixbuf_composite_color_simple (<em class="parameter"><code>const <a class="l
|
|
480
480
|
</div>
|
481
481
|
<div class="refsect3">
|
482
482
|
<a name="gdk-pixbuf-composite-color-simple.returns"></a><h4>Returns</h4>
|
483
|
-
<p> the new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="
|
483
|
+
<p> the new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not enough memory could be
|
484
484
|
allocated for it. </p>
|
485
485
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
486
486
|
</div>
|
@@ -612,8 +612,8 @@ gdk_pixbuf_composite_color (<em class="parameter"><code>const <a class="link" hr
|
|
612
612
|
<em class="parameter"><code><span class="type">int</span> check_x</code></em>,
|
613
613
|
<em class="parameter"><code><span class="type">int</span> check_y</code></em>,
|
614
614
|
<em class="parameter"><code><span class="type">int</span> check_size</code></em>,
|
615
|
-
<em class="parameter"><code><a href="
|
616
|
-
<em class="parameter"><code><a href="
|
615
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> color1</code></em>,
|
616
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> color2</code></em>);</pre>
|
617
617
|
<p>Creates a transformation of the source image <em class="parameter"><code>src</code></em>
|
618
618
|
by scaling by
|
619
619
|
<em class="parameter"><code>scale_x</code></em>
|
@@ -771,7 +771,7 @@ result in a new pixbuf.</p>
|
|
771
771
|
</div>
|
772
772
|
<div class="refsect3">
|
773
773
|
<a name="gdk-pixbuf-rotate-simple.returns"></a><h4>Returns</h4>
|
774
|
-
<p> the new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="
|
774
|
+
<p> the new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
775
775
|
if not enough memory could be allocated for it. </p>
|
776
776
|
<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="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
777
777
|
</div>
|
@@ -782,7 +782,7 @@ if not enough memory could be allocated for it. </p>
|
|
782
782
|
<a name="gdk-pixbuf-flip"></a><h3>gdk_pixbuf_flip ()</h3>
|
783
783
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
|
784
784
|
gdk_pixbuf_flip (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src</code></em>,
|
785
|
-
<em class="parameter"><code><a href="
|
785
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> horizontal</code></em>);</pre>
|
786
786
|
<p>Flips a pixbuf horizontally or vertically and returns the
|
787
787
|
result in a new pixbuf.</p>
|
788
788
|
<div class="refsect3">
|
@@ -801,7 +801,7 @@ result in a new pixbuf.</p>
|
|
801
801
|
</tr>
|
802
802
|
<tr>
|
803
803
|
<td class="parameter_name"><p>horizontal</p></td>
|
804
|
-
<td class="parameter_description"><p><a href="
|
804
|
+
<td class="parameter_description"><p><a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to flip horizontally, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to flip vertically</p></td>
|
805
805
|
<td class="parameter_annotations"> </td>
|
806
806
|
</tr>
|
807
807
|
</tbody>
|
@@ -809,7 +809,7 @@ result in a new pixbuf.</p>
|
|
809
809
|
</div>
|
810
810
|
<div class="refsect3">
|
811
811
|
<a name="gdk-pixbuf-flip.returns"></a><h4>Returns</h4>
|
812
|
-
<p> the new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="
|
812
|
+
<p> the new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
813
813
|
if not enough memory could be allocated for it. </p>
|
814
814
|
<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="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
815
815
|
</div>
|
@@ -60,7 +60,7 @@
|
|
60
60
|
</tr>
|
61
61
|
<tr>
|
62
62
|
<td class="function_type">
|
63
|
-
<a href="
|
63
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
64
64
|
</td>
|
65
65
|
<td class="function_name">
|
66
66
|
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-has-alpha" title="gdk_pixbuf_get_has_alpha ()">gdk_pixbuf_get_has_alpha</a> <span class="c_punctuation">()</span>
|
@@ -76,7 +76,7 @@
|
|
76
76
|
</tr>
|
77
77
|
<tr>
|
78
78
|
<td class="function_type">
|
79
|
-
<a href="
|
79
|
+
<a href="../glib/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> *
|
80
80
|
</td>
|
81
81
|
<td class="function_name">
|
82
82
|
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-pixels" title="gdk_pixbuf_get_pixels ()">gdk_pixbuf_get_pixels</a> <span class="c_punctuation">()</span>
|
@@ -84,7 +84,7 @@
|
|
84
84
|
</tr>
|
85
85
|
<tr>
|
86
86
|
<td class="function_type">
|
87
|
-
<a href="
|
87
|
+
<a href="../glib/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> *
|
88
88
|
</td>
|
89
89
|
<td class="function_name">
|
90
90
|
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-pixels-with-length" title="gdk_pixbuf_get_pixels_with_length ()">gdk_pixbuf_get_pixels_with_length</a> <span class="c_punctuation">()</span>
|
@@ -116,14 +116,14 @@
|
|
116
116
|
</tr>
|
117
117
|
<tr>
|
118
118
|
<td class="function_type">
|
119
|
-
<a href="
|
119
|
+
<a href="../glib/glib-Basic-Types.html#gsize"><span class="returnvalue">gsize</span></a>
|
120
120
|
</td>
|
121
121
|
<td class="function_name">
|
122
122
|
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-byte-length" title="gdk_pixbuf_get_byte_length ()">gdk_pixbuf_get_byte_length</a> <span class="c_punctuation">()</span>
|
123
123
|
</td>
|
124
124
|
</tr>
|
125
125
|
<tr>
|
126
|
-
<td class="function_type">const <a href="
|
126
|
+
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
127
127
|
</td>
|
128
128
|
<td class="function_name">
|
129
129
|
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-option" title="gdk_pixbuf_get_option ()">gdk_pixbuf_get_option</a> <span class="c_punctuation">()</span>
|
@@ -131,7 +131,7 @@
|
|
131
131
|
</tr>
|
132
132
|
<tr>
|
133
133
|
<td class="function_type">
|
134
|
-
<a href="
|
134
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
135
135
|
</td>
|
136
136
|
<td class="function_name">
|
137
137
|
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-set-option" title="gdk_pixbuf_set_option ()">gdk_pixbuf_set_option</a> <span class="c_punctuation">()</span>
|
@@ -139,7 +139,7 @@
|
|
139
139
|
</tr>
|
140
140
|
<tr>
|
141
141
|
<td class="function_type">
|
142
|
-
<a href="
|
142
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
143
143
|
</td>
|
144
144
|
<td class="function_name">
|
145
145
|
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-remove-option" title="gdk_pixbuf_remove_option ()">gdk_pixbuf_remove_option</a> <span class="c_punctuation">()</span>
|
@@ -147,7 +147,7 @@
|
|
147
147
|
</tr>
|
148
148
|
<tr>
|
149
149
|
<td class="function_type">
|
150
|
-
<a href="
|
150
|
+
<a href="../glib/glib-Hash-Tables.html#GHashTable"><span class="returnvalue">GHashTable</span></a> *
|
151
151
|
</td>
|
152
152
|
<td class="function_name">
|
153
153
|
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-options" title="gdk_pixbuf_get_options ()">gdk_pixbuf_get_options</a> <span class="c_punctuation">()</span>
|
@@ -155,14 +155,14 @@
|
|
155
155
|
</tr>
|
156
156
|
<tr>
|
157
157
|
<td class="function_type">
|
158
|
-
<a href="
|
158
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
159
159
|
</td>
|
160
160
|
<td class="function_name">
|
161
161
|
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-copy-options" title="gdk_pixbuf_copy_options ()">gdk_pixbuf_copy_options</a> <span class="c_punctuation">()</span>
|
162
162
|
</td>
|
163
163
|
</tr>
|
164
164
|
<tr>
|
165
|
-
<td class="function_type">const <a href="
|
165
|
+
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#guint8"><span class="returnvalue">guint8</span></a> *
|
166
166
|
</td>
|
167
167
|
<td class="function_name">
|
168
168
|
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-read-pixels" title="gdk_pixbuf_read_pixels ()">gdk_pixbuf_read_pixels</a> <span class="c_punctuation">()</span>
|
@@ -181,7 +181,7 @@
|
|
181
181
|
</colgroup>
|
182
182
|
<tbody>
|
183
183
|
<tr>
|
184
|
-
<td class="property_type"><a href="
|
184
|
+
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
185
185
|
<td class="property_name"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf--bits-per-sample" title="The “bits-per-sample” property">bits-per-sample</a></td>
|
186
186
|
<td class="property_flags">Read / Write / Construct Only</td>
|
187
187
|
</tr>
|
@@ -191,38 +191,38 @@
|
|
191
191
|
<td class="property_flags">Read / Write / Construct Only</td>
|
192
192
|
</tr>
|
193
193
|
<tr>
|
194
|
-
<td class="property_type"><a href="
|
194
|
+
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
195
195
|
<td class="property_name"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf--has-alpha" title="The “has-alpha” property">has-alpha</a></td>
|
196
196
|
<td class="property_flags">Read / Write / Construct Only</td>
|
197
197
|
</tr>
|
198
198
|
<tr>
|
199
|
-
<td class="property_type"><a href="
|
199
|
+
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
200
200
|
<td class="property_name"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf--height" title="The “height” property">height</a></td>
|
201
201
|
<td class="property_flags">Read / Write / Construct Only</td>
|
202
202
|
</tr>
|
203
203
|
<tr>
|
204
|
-
<td class="property_type"><a href="
|
204
|
+
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
205
205
|
<td class="property_name"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf--n-channels" title="The “n-channels” property">n-channels</a></td>
|
206
206
|
<td class="property_flags">Read / Write / Construct Only</td>
|
207
207
|
</tr>
|
208
208
|
<tr>
|
209
209
|
<td class="property_type">
|
210
|
-
<a href="
|
210
|
+
<a href="../glib/glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a> *</td>
|
211
211
|
<td class="property_name"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf--pixel-bytes" title="The “pixel-bytes” property">pixel-bytes</a></td>
|
212
212
|
<td class="property_flags">Read / Write / Construct Only</td>
|
213
213
|
</tr>
|
214
214
|
<tr>
|
215
|
-
<td class="property_type"><a href="
|
215
|
+
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a></td>
|
216
216
|
<td class="property_name"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf--pixels" title="The “pixels” property">pixels</a></td>
|
217
217
|
<td class="property_flags">Read / Write / Construct Only</td>
|
218
218
|
</tr>
|
219
219
|
<tr>
|
220
|
-
<td class="property_type"><a href="
|
220
|
+
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
221
221
|
<td class="property_name"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf--rowstride" title="The “rowstride” property">rowstride</a></td>
|
222
222
|
<td class="property_flags">Read / Write / Construct Only</td>
|
223
223
|
</tr>
|
224
224
|
<tr>
|
225
|
-
<td class="property_type"><a href="
|
225
|
+
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
226
226
|
<td class="property_name"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf--width" title="The “width” property">width</a></td>
|
227
227
|
<td class="property_flags">Read / Write / Construct Only</td>
|
228
228
|
</tr>
|
@@ -262,7 +262,7 @@
|
|
262
262
|
</div>
|
263
263
|
<div class="refsect1">
|
264
264
|
<a name="gdk-pixbuf-The-GdkPixbuf-Structure.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
265
|
-
<pre class="screen"> <a href="
|
265
|
+
<pre class="screen"> <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
266
266
|
<span class="lineart">╰──</span> GdkPixbuf
|
267
267
|
</pre>
|
268
268
|
</div>
|
@@ -270,7 +270,7 @@
|
|
270
270
|
<a name="gdk-pixbuf-The-GdkPixbuf-Structure.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
271
271
|
<p>
|
272
272
|
GdkPixbuf implements
|
273
|
-
<a href="
|
273
|
+
<a href="../gio/GIcon.html#GIcon-struct">GIcon</a> and <a href="../gio/GLoadableIcon.html#GLoadableIcon-struct">GLoadableIcon</a>.</p>
|
274
274
|
</div>
|
275
275
|
<div class="refsect1">
|
276
276
|
<a name="gdk-pixbuf-The-GdkPixbuf-Structure.includes"></a><h2>Includes</h2>
|
@@ -337,16 +337,16 @@ for each pixel, your own code can take shortcuts.</p>
|
|
337
337
|
|
338
338
|
n_channels <span class="gtkdoc opt">=</span> <span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-n-channels">gdk_pixbuf_get_n_channels</a></span> <span class="gtkdoc opt">(</span>pixbuf<span class="gtkdoc opt">);</span>
|
339
339
|
|
340
|
-
<span class="function"><a href="
|
341
|
-
<span class="function"><a href="
|
342
|
-
<span class="function"><a href="
|
343
|
-
<span class="function"><a href="
|
340
|
+
<span class="function"><a href="../glib/glib-Testing.html#g-assert">g_assert</a></span> <span class="gtkdoc opt">(</span><span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-colorspace">gdk_pixbuf_get_colorspace</a></span> <span class="gtkdoc opt">(</span>pixbuf<span class="gtkdoc opt">) ==</span> GDK_COLORSPACE_RGB<span class="gtkdoc opt">);</span>
|
341
|
+
<span class="function"><a href="../glib/glib-Testing.html#g-assert">g_assert</a></span> <span class="gtkdoc opt">(</span><span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-bits-per-sample">gdk_pixbuf_get_bits_per_sample</a></span> <span class="gtkdoc opt">(</span>pixbuf<span class="gtkdoc opt">) ==</span> <span class="number">8</span><span class="gtkdoc opt">);</span>
|
342
|
+
<span class="function"><a href="../glib/glib-Testing.html#g-assert">g_assert</a></span> <span class="gtkdoc opt">(</span><span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-has-alpha">gdk_pixbuf_get_has_alpha</a></span> <span class="gtkdoc opt">(</span>pixbuf<span class="gtkdoc opt">));</span>
|
343
|
+
<span class="function"><a href="../glib/glib-Testing.html#g-assert">g_assert</a></span> <span class="gtkdoc opt">(</span>n_channels <span class="gtkdoc opt">==</span> <span class="number">4</span><span class="gtkdoc opt">);</span>
|
344
344
|
|
345
345
|
width <span class="gtkdoc opt">=</span> <span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-width">gdk_pixbuf_get_width</a></span> <span class="gtkdoc opt">(</span>pixbuf<span class="gtkdoc opt">);</span>
|
346
346
|
height <span class="gtkdoc opt">=</span> <span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-height">gdk_pixbuf_get_height</a></span> <span class="gtkdoc opt">(</span>pixbuf<span class="gtkdoc opt">);</span>
|
347
347
|
|
348
|
-
<span class="function"><a href="
|
349
|
-
<span class="function"><a href="
|
348
|
+
<span class="function"><a href="../glib/glib-Testing.html#g-assert">g_assert</a></span> <span class="gtkdoc opt">(</span>x <span class="gtkdoc opt">>=</span> <span class="number">0</span> <span class="gtkdoc opt">&&</span> x <span class="gtkdoc opt"><</span> width<span class="gtkdoc opt">);</span>
|
349
|
+
<span class="function"><a href="../glib/glib-Testing.html#g-assert">g_assert</a></span> <span class="gtkdoc opt">(</span>y <span class="gtkdoc opt">>=</span> <span class="number">0</span> <span class="gtkdoc opt">&&</span> y <span class="gtkdoc opt"><</span> height<span class="gtkdoc opt">);</span>
|
350
350
|
|
351
351
|
rowstride <span class="gtkdoc opt">=</span> <span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-rowstride">gdk_pixbuf_get_rowstride</a></span> <span class="gtkdoc opt">(</span>pixbuf<span class="gtkdoc opt">);</span>
|
352
352
|
pixels <span class="gtkdoc opt">=</span> <span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-pixels">gdk_pixbuf_get_pixels</a></span> <span class="gtkdoc opt">(</span>pixbuf<span class="gtkdoc opt">);</span>
|
@@ -430,7 +430,7 @@ gdk_pixbuf_get_n_channels (<em class="parameter"><code>const <a class="link" hre
|
|
430
430
|
<hr>
|
431
431
|
<div class="refsect2">
|
432
432
|
<a name="gdk-pixbuf-get-has-alpha"></a><h3>gdk_pixbuf_get_has_alpha ()</h3>
|
433
|
-
<pre class="programlisting"><a href="
|
433
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
434
434
|
gdk_pixbuf_get_has_alpha (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
|
435
435
|
<p>Queries whether a pixbuf has an alpha channel (opacity information).</p>
|
436
436
|
<div class="refsect3">
|
@@ -450,7 +450,7 @@ gdk_pixbuf_get_has_alpha (<em class="parameter"><code>const <a class="link" href
|
|
450
450
|
</div>
|
451
451
|
<div class="refsect3">
|
452
452
|
<a name="gdk-pixbuf-get-has-alpha.returns"></a><h4>Returns</h4>
|
453
|
-
<p> <a href="
|
453
|
+
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if it has an alpha channel, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
454
454
|
</div>
|
455
455
|
</div>
|
456
456
|
<hr>
|
@@ -482,7 +482,7 @@ gdk_pixbuf_get_bits_per_sample (<em class="parameter"><code>const <a class="link
|
|
482
482
|
<hr>
|
483
483
|
<div class="refsect2">
|
484
484
|
<a name="gdk-pixbuf-get-pixels"></a><h3>gdk_pixbuf_get_pixels ()</h3>
|
485
|
-
<pre class="programlisting"><a href="
|
485
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> *
|
486
486
|
gdk_pixbuf_get_pixels (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
|
487
487
|
<p>Queries a pointer to the pixel data of a pixbuf.</p>
|
488
488
|
<div class="refsect3">
|
@@ -513,9 +513,9 @@ pixbuf was created from read-only data. </p>
|
|
513
513
|
<hr>
|
514
514
|
<div class="refsect2">
|
515
515
|
<a name="gdk-pixbuf-get-pixels-with-length"></a><h3>gdk_pixbuf_get_pixels_with_length ()</h3>
|
516
|
-
<pre class="programlisting"><a href="
|
516
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> *
|
517
517
|
gdk_pixbuf_get_pixels_with_length (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
518
|
-
<em class="parameter"><code><a href="
|
518
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *length</code></em>);</pre>
|
519
519
|
<p>Queries a pointer to the pixel data of a pixbuf.</p>
|
520
520
|
<p><span class="annotation">[<acronym title="Rename the original symbol's name to SYMBOL."><span class="acronym">rename-to</span></acronym> gdk_pixbuf_get_pixels]</span></p>
|
521
521
|
<div class="refsect3">
|
@@ -633,7 +633,7 @@ the start of a row and the start of the next row.</p>
|
|
633
633
|
<hr>
|
634
634
|
<div class="refsect2">
|
635
635
|
<a name="gdk-pixbuf-get-byte-length"></a><h3>gdk_pixbuf_get_byte_length ()</h3>
|
636
|
-
<pre class="programlisting"><a href="
|
636
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gsize"><span class="returnvalue">gsize</span></a>
|
637
637
|
gdk_pixbuf_get_byte_length (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
|
638
638
|
<p>Returns the length of the pixel data, in bytes.</p>
|
639
639
|
<div class="refsect3">
|
@@ -660,9 +660,9 @@ gdk_pixbuf_get_byte_length (<em class="parameter"><code>const <a class="link" hr
|
|
660
660
|
<hr>
|
661
661
|
<div class="refsect2">
|
662
662
|
<a name="gdk-pixbuf-get-option"></a><h3>gdk_pixbuf_get_option ()</h3>
|
663
|
-
<pre class="programlisting">const <a href="
|
663
|
+
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
664
664
|
gdk_pixbuf_get_option (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
665
|
-
<em class="parameter"><code>const <a href="
|
665
|
+
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre>
|
666
666
|
<p>Looks up <em class="parameter"><code>key</code></em>
|
667
667
|
in the list of options that may have been attached to the
|
668
668
|
<em class="parameter"><code>pixbuf</code></em>
|
@@ -705,22 +705,22 @@ EXIF tag.</p>
|
|
705
705
|
<a name="gdk-pixbuf-get-option.returns"></a><h4>Returns</h4>
|
706
706
|
<p> the value associated with <em class="parameter"><code>key</code></em>
|
707
707
|
. This is a nul-terminated
|
708
|
-
string that should not be freed or <a href="
|
708
|
+
string that should not be freed or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>key</code></em>
|
709
709
|
was not found.</p>
|
710
710
|
</div>
|
711
711
|
</div>
|
712
712
|
<hr>
|
713
713
|
<div class="refsect2">
|
714
714
|
<a name="gdk-pixbuf-set-option"></a><h3>gdk_pixbuf_set_option ()</h3>
|
715
|
-
<pre class="programlisting"><a href="
|
715
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
716
716
|
gdk_pixbuf_set_option (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
717
|
-
<em class="parameter"><code>const <a href="
|
718
|
-
<em class="parameter"><code>const <a href="
|
717
|
+
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
|
718
|
+
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);</pre>
|
719
719
|
<p>Attaches a key/value pair as an option to a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>. If <em class="parameter"><code>key</code></em>
|
720
720
|
already
|
721
721
|
exists in the list of options attached to <em class="parameter"><code>pixbuf</code></em>
|
722
722
|
, the new value is
|
723
|
-
ignored and <a href="
|
723
|
+
ignored and <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned.</p>
|
724
724
|
<div class="refsect3">
|
725
725
|
<a name="gdk-pixbuf-set-option.parameters"></a><h4>Parameters</h4>
|
726
726
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -750,16 +750,16 @@ ignored and <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gt
|
|
750
750
|
</div>
|
751
751
|
<div class="refsect3">
|
752
752
|
<a name="gdk-pixbuf-set-option.returns"></a><h4>Returns</h4>
|
753
|
-
<p> <a href="
|
753
|
+
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</p>
|
754
754
|
</div>
|
755
755
|
<p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p>
|
756
756
|
</div>
|
757
757
|
<hr>
|
758
758
|
<div class="refsect2">
|
759
759
|
<a name="gdk-pixbuf-remove-option"></a><h3>gdk_pixbuf_remove_option ()</h3>
|
760
|
-
<pre class="programlisting"><a href="
|
760
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
761
761
|
gdk_pixbuf_remove_option (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
762
|
-
<em class="parameter"><code>const <a href="
|
762
|
+
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre>
|
763
763
|
<p>Remove the key/value pair option attached to a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>.</p>
|
764
764
|
<div class="refsect3">
|
765
765
|
<a name="gdk-pixbuf-remove-option.parameters"></a><h4>Parameters</h4>
|
@@ -785,16 +785,16 @@ gdk_pixbuf_remove_option (<em class="parameter"><code><a class="link" href="gdk-
|
|
785
785
|
</div>
|
786
786
|
<div class="refsect3">
|
787
787
|
<a name="gdk-pixbuf-remove-option.returns"></a><h4>Returns</h4>
|
788
|
-
<p> <a href="
|
788
|
+
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if an option was removed, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if not.</p>
|
789
789
|
</div>
|
790
790
|
<p class="since">Since: <a class="link" href="api-index-2-36.html#api-index-2.36">2.36</a></p>
|
791
791
|
</div>
|
792
792
|
<hr>
|
793
793
|
<div class="refsect2">
|
794
794
|
<a name="gdk-pixbuf-get-options"></a><h3>gdk_pixbuf_get_options ()</h3>
|
795
|
-
<pre class="programlisting"><a href="
|
795
|
+
<pre class="programlisting"><a href="../glib/glib-Hash-Tables.html#GHashTable"><span class="returnvalue">GHashTable</span></a> *
|
796
796
|
gdk_pixbuf_get_options (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
|
797
|
-
<p>Returns a <a href="
|
797
|
+
<p>Returns a <a href="../glib/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> with a list of all the options that may have been
|
798
798
|
attached to the <em class="parameter"><code>pixbuf</code></em>
|
799
799
|
when it was loaded, or that may have been
|
800
800
|
attached by another function using <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-set-option" title="gdk_pixbuf_set_option ()"><code class="function">gdk_pixbuf_set_option()</code></a>.</p>
|
@@ -816,7 +816,7 @@ attached by another function using <a class="link" href="gdk-pixbuf-The-GdkPixbu
|
|
816
816
|
</div>
|
817
817
|
<div class="refsect3">
|
818
818
|
<a name="gdk-pixbuf-get-options.returns"></a><h4>Returns</h4>
|
819
|
-
<p> a <a href="
|
819
|
+
<p> a <a href="../glib/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> of key/values. </p>
|
820
820
|
<p><span class="annotation">[<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8 utf8]</span></p>
|
821
821
|
</div>
|
822
822
|
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
@@ -824,7 +824,7 @@ attached by another function using <a class="link" href="gdk-pixbuf-The-GdkPixbu
|
|
824
824
|
<hr>
|
825
825
|
<div class="refsect2">
|
826
826
|
<a name="gdk-pixbuf-copy-options"></a><h3>gdk_pixbuf_copy_options ()</h3>
|
827
|
-
<pre class="programlisting"><a href="
|
827
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
828
828
|
gdk_pixbuf_copy_options (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src_pixbuf</code></em>,
|
829
829
|
<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *dest_pixbuf</code></em>);</pre>
|
830
830
|
<p>Copy the key/value pair options attached to a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> to another.
|
@@ -855,14 +855,14 @@ applied, such as the "orientation" option after rotating the image.</p>
|
|
855
855
|
</div>
|
856
856
|
<div class="refsect3">
|
857
857
|
<a name="gdk-pixbuf-copy-options.returns"></a><h4>Returns</h4>
|
858
|
-
<p> <a href="
|
858
|
+
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</p>
|
859
859
|
</div>
|
860
860
|
<p class="since">Since: <a class="link" href="api-index-2-36.html#api-index-2.36">2.36</a></p>
|
861
861
|
</div>
|
862
862
|
<hr>
|
863
863
|
<div class="refsect2">
|
864
864
|
<a name="gdk-pixbuf-read-pixels"></a><h3>gdk_pixbuf_read_pixels ()</h3>
|
865
|
-
<pre class="programlisting">const <a href="
|
865
|
+
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#guint8"><span class="returnvalue">guint8</span></a> *
|
866
866
|
gdk_pixbuf_read_pixels (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
|
867
867
|
<p>Returns a read-only pointer to the raw pixel data; must not be
|
868
868
|
modified. This function allows skipping the implicit copy that
|
@@ -891,7 +891,7 @@ pixbuf.</p>
|
|
891
891
|
<div class="refsect2">
|
892
892
|
<a name="GdkPixbufError"></a><h3>enum GdkPixbufError</h3>
|
893
893
|
<p>An error code 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> domain. Many gdk-pixbuf
|
894
|
-
operations can cause errors in this domain, or in the <a href="
|
894
|
+
operations can cause errors in this domain, or in the <a href="../glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a>
|
895
895
|
domain.</p>
|
896
896
|
<div class="refsect3">
|
897
897
|
<a name="GdkPixbufError.members"></a><h4>Members</h4>
|
@@ -962,7 +962,7 @@ domain.</p>
|
|
962
962
|
<pre class="programlisting">#define GDK_PIXBUF_ERROR gdk_pixbuf_error_quark ()
|
963
963
|
</pre>
|
964
964
|
<p>Error domain used for pixbuf operations. Indicates that the error code
|
965
|
-
will be in the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbufError" title="enum GdkPixbufError"><span class="type">GdkPixbufError</span></a> enumeration. See <a href="
|
965
|
+
will be in the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbufError" title="enum GdkPixbufError"><span class="type">GdkPixbufError</span></a> enumeration. See <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for
|
966
966
|
information on error domains and error codes.</p>
|
967
967
|
</div>
|
968
968
|
<hr>
|
@@ -1045,7 +1045,7 @@ one row and the start of the next).</p>
|
|
1045
1045
|
<a name="gdk-pixbuf-The-GdkPixbuf-Structure.property-details"></a><h2>Property Details</h2>
|
1046
1046
|
<div class="refsect2">
|
1047
1047
|
<a name="GdkPixbuf--bits-per-sample"></a><h3>The <code class="literal">“bits-per-sample”</code> property</h3>
|
1048
|
-
<pre class="programlisting"> “bits-per-sample” <a href="
|
1048
|
+
<pre class="programlisting"> “bits-per-sample” <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
1049
1049
|
<p>The number of bits per sample.
|
1050
1050
|
|
1051
1051
|
Currently only 8 bit per sample are supported.</p>
|
@@ -1064,7 +1064,7 @@ Currently only 8 bit per sample are supported.</p>
|
|
1064
1064
|
<hr>
|
1065
1065
|
<div class="refsect2">
|
1066
1066
|
<a name="GdkPixbuf--has-alpha"></a><h3>The <code class="literal">“has-alpha”</code> property</h3>
|
1067
|
-
<pre class="programlisting"> “has-alpha” <a href="
|
1067
|
+
<pre class="programlisting"> “has-alpha” <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1068
1068
|
<p>Whether the pixbuf has an alpha channel.</p>
|
1069
1069
|
<p>Flags: Read / Write / Construct Only</p>
|
1070
1070
|
<p>Default value: FALSE</p>
|
@@ -1072,7 +1072,7 @@ Currently only 8 bit per sample are supported.</p>
|
|
1072
1072
|
<hr>
|
1073
1073
|
<div class="refsect2">
|
1074
1074
|
<a name="GdkPixbuf--height"></a><h3>The <code class="literal">“height”</code> property</h3>
|
1075
|
-
<pre class="programlisting"> “height” <a href="
|
1075
|
+
<pre class="programlisting"> “height” <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
1076
1076
|
<p>The number of rows of the pixbuf.</p>
|
1077
1077
|
<p>Flags: Read / Write / Construct Only</p>
|
1078
1078
|
<p>Allowed values: >= 1</p>
|
@@ -1081,7 +1081,7 @@ Currently only 8 bit per sample are supported.</p>
|
|
1081
1081
|
<hr>
|
1082
1082
|
<div class="refsect2">
|
1083
1083
|
<a name="GdkPixbuf--n-channels"></a><h3>The <code class="literal">“n-channels”</code> property</h3>
|
1084
|
-
<pre class="programlisting"> “n-channels” <a href="
|
1084
|
+
<pre class="programlisting"> “n-channels” <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
1085
1085
|
<p>The number of samples per pixel.
|
1086
1086
|
|
1087
1087
|
Currently, only 3 or 4 samples per pixel are supported.</p>
|
@@ -1092,21 +1092,21 @@ Currently, only 3 or 4 samples per pixel are supported.</p>
|
|
1092
1092
|
<hr>
|
1093
1093
|
<div class="refsect2">
|
1094
1094
|
<a name="GdkPixbuf--pixel-bytes"></a><h3>The <code class="literal">“pixel-bytes”</code> property</h3>
|
1095
|
-
<pre class="programlisting"> “pixel-bytes” <a href="
|
1095
|
+
<pre class="programlisting"> “pixel-bytes” <a href="../glib/glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a> *</pre>
|
1096
1096
|
<p>Readonly pixel data.</p>
|
1097
1097
|
<p>Flags: Read / Write / Construct Only</p>
|
1098
1098
|
</div>
|
1099
1099
|
<hr>
|
1100
1100
|
<div class="refsect2">
|
1101
1101
|
<a name="GdkPixbuf--pixels"></a><h3>The <code class="literal">“pixels”</code> property</h3>
|
1102
|
-
<pre class="programlisting"> “pixels” <a href="
|
1102
|
+
<pre class="programlisting"> “pixels” <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a></pre>
|
1103
1103
|
<p>A pointer to the pixel data of the pixbuf.</p>
|
1104
1104
|
<p>Flags: Read / Write / Construct Only</p>
|
1105
1105
|
</div>
|
1106
1106
|
<hr>
|
1107
1107
|
<div class="refsect2">
|
1108
1108
|
<a name="GdkPixbuf--rowstride"></a><h3>The <code class="literal">“rowstride”</code> property</h3>
|
1109
|
-
<pre class="programlisting"> “rowstride” <a href="
|
1109
|
+
<pre class="programlisting"> “rowstride” <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
1110
1110
|
<p>The number of bytes between the start of a row and
|
1111
1111
|
|
1112
1112
|
the start of the next row. This number must (obviously)
|
@@ -1118,7 +1118,7 @@ be at least as large as the width of the pixbuf.</p>
|
|
1118
1118
|
<hr>
|
1119
1119
|
<div class="refsect2">
|
1120
1120
|
<a name="GdkPixbuf--width"></a><h3>The <code class="literal">“width”</code> property</h3>
|
1121
|
-
<pre class="programlisting"> “width” <a href="
|
1121
|
+
<pre class="programlisting"> “width” <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
1122
1122
|
<p>The number of columns of the pixbuf.</p>
|
1123
1123
|
<p>Flags: Read / Write / Construct Only</p>
|
1124
1124
|
<p>Allowed values: >= 1</p>
|