gdk_pixbuf2 3.2.5-x86-mingw32 → 3.2.6-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/COPYING.LIB +502 -0
- data/README.md +30 -0
- data/Rakefile +5 -5
- data/gdk_pixbuf2.gemspec +42 -0
- data/lib/gdk_pixbuf2/deprecated.rb +9 -7
- data/lib/gdk_pixbuf2/loader.rb +10 -1
- data/lib/gdk_pixbuf2/pixbuf.rb +14 -12
- data/test/test-pixbuf.rb +2 -2
- 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-features.h +2 -2
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.la +1 -1
- data/vendor/local/lib/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 +3 -3
- data/vendor/local/lib/pkgconfig/gdk-pixbuf-2.0.pc +1 -1
- data/vendor/local/share/gir-1.0/GdkPixbuf-2.0.gir +24 -20
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +64 -64
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/annotation-glossary.html +4 -2
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-full.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html +75 -74
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +108 -105
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +133 -133
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +34 -34
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +43 -43
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +55 -55
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +14 -14
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Scaling.html +36 -36
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +82 -82
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Utilities.html +15 -15
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Versioning.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-X-Drawables-to-Pixbufs.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Xlib-Rendering.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-XlibRGB.html +8 -8
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-csource.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-Xlib-initialization.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-from-drawables.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-rendering.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-query-loaders.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/license.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn01.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn02.html +2 -2
- 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_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/fi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fur/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/hr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/kk/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/nb/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/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_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/zh_TW/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/man/man1/gdk-pixbuf-csource.1 +1 -135
- data/vendor/local/share/man/man1/gdk-pixbuf-query-loaders.1 +1 -73
- metadata +7 -18
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="rn01.html" title="API Reference">
|
9
9
|
<link rel="prev" href="GdkPixbufLoader.html" title="GdkPixbufLoader">
|
10
10
|
<link rel="next" href="gdk-pixbuf-gdk-pixbuf-Xlib-initialization.html" title="gdk-pixbuf Xlib initialization">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.27 (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">
|
@@ -41,7 +41,7 @@
|
|
41
41
|
<tbody>
|
42
42
|
<tr>
|
43
43
|
<td class="function_type">
|
44
|
-
<
|
44
|
+
<span class="returnvalue">GSList</span> *
|
45
45
|
</td>
|
46
46
|
<td class="function_name">
|
47
47
|
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-get-formats" title="gdk_pixbuf_get_formats ()">gdk_pixbuf_get_formats</a> <span class="c_punctuation">()</span>
|
@@ -65,7 +65,7 @@
|
|
65
65
|
</tr>
|
66
66
|
<tr>
|
67
67
|
<td class="function_type">
|
68
|
-
<
|
68
|
+
<span class="returnvalue">gchar</span> *
|
69
69
|
</td>
|
70
70
|
<td class="function_name">
|
71
71
|
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-get-name" title="gdk_pixbuf_format_get_name ()">gdk_pixbuf_format_get_name</a> <span class="c_punctuation">()</span>
|
@@ -73,7 +73,7 @@
|
|
73
73
|
</tr>
|
74
74
|
<tr>
|
75
75
|
<td class="function_type">
|
76
|
-
<
|
76
|
+
<span class="returnvalue">gchar</span> *
|
77
77
|
</td>
|
78
78
|
<td class="function_name">
|
79
79
|
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-get-description" title="gdk_pixbuf_format_get_description ()">gdk_pixbuf_format_get_description</a> <span class="c_punctuation">()</span>
|
@@ -81,7 +81,7 @@
|
|
81
81
|
</tr>
|
82
82
|
<tr>
|
83
83
|
<td class="function_type">
|
84
|
-
<
|
84
|
+
<span class="returnvalue">gchar</span> **
|
85
85
|
</td>
|
86
86
|
<td class="function_name">
|
87
87
|
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-get-mime-types" title="gdk_pixbuf_format_get_mime_types ()">gdk_pixbuf_format_get_mime_types</a> <span class="c_punctuation">()</span>
|
@@ -89,7 +89,7 @@
|
|
89
89
|
</tr>
|
90
90
|
<tr>
|
91
91
|
<td class="function_type">
|
92
|
-
<
|
92
|
+
<span class="returnvalue">gchar</span> **
|
93
93
|
</td>
|
94
94
|
<td class="function_name">
|
95
95
|
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-get-extensions" title="gdk_pixbuf_format_get_extensions ()">gdk_pixbuf_format_get_extensions</a> <span class="c_punctuation">()</span>
|
@@ -97,7 +97,7 @@
|
|
97
97
|
</tr>
|
98
98
|
<tr>
|
99
99
|
<td class="function_type">
|
100
|
-
<
|
100
|
+
<span class="returnvalue">gboolean</span>
|
101
101
|
</td>
|
102
102
|
<td class="function_name">
|
103
103
|
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-is-save-option-supported" title="gdk_pixbuf_format_is_save_option_supported ()">gdk_pixbuf_format_is_save_option_supported</a> <span class="c_punctuation">()</span>
|
@@ -105,7 +105,7 @@
|
|
105
105
|
</tr>
|
106
106
|
<tr>
|
107
107
|
<td class="function_type">
|
108
|
-
<
|
108
|
+
<span class="returnvalue">gboolean</span>
|
109
109
|
</td>
|
110
110
|
<td class="function_name">
|
111
111
|
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-is-writable" title="gdk_pixbuf_format_is_writable ()">gdk_pixbuf_format_is_writable</a> <span class="c_punctuation">()</span>
|
@@ -113,7 +113,7 @@
|
|
113
113
|
</tr>
|
114
114
|
<tr>
|
115
115
|
<td class="function_type">
|
116
|
-
<
|
116
|
+
<span class="returnvalue">gboolean</span>
|
117
117
|
</td>
|
118
118
|
<td class="function_name">
|
119
119
|
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-is-scalable" title="gdk_pixbuf_format_is_scalable ()">gdk_pixbuf_format_is_scalable</a> <span class="c_punctuation">()</span>
|
@@ -121,7 +121,7 @@
|
|
121
121
|
</tr>
|
122
122
|
<tr>
|
123
123
|
<td class="function_type">
|
124
|
-
<
|
124
|
+
<span class="returnvalue">gboolean</span>
|
125
125
|
</td>
|
126
126
|
<td class="function_name">
|
127
127
|
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-is-disabled" title="gdk_pixbuf_format_is_disabled ()">gdk_pixbuf_format_is_disabled</a> <span class="c_punctuation">()</span>
|
@@ -137,7 +137,7 @@
|
|
137
137
|
</tr>
|
138
138
|
<tr>
|
139
139
|
<td class="function_type">
|
140
|
-
<
|
140
|
+
<span class="returnvalue">gchar</span> *
|
141
141
|
</td>
|
142
142
|
<td class="function_name">
|
143
143
|
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-get-license" title="gdk_pixbuf_format_get_license ()">gdk_pixbuf_format_get_license</a> <span class="c_punctuation">()</span>
|
@@ -223,7 +223,7 @@
|
|
223
223
|
</div>
|
224
224
|
<div class="refsect1">
|
225
225
|
<a name="gdk-pixbuf-Module-Interface.includes"></a><h2>Includes</h2>
|
226
|
-
<pre class="synopsis">#include <gdk-pixbuf/gdk-
|
226
|
+
<pre class="synopsis">#include <gdk-pixbuf/gdk-pixdata.h>
|
227
227
|
</pre>
|
228
228
|
</div>
|
229
229
|
<div class="refsect1">
|
@@ -267,13 +267,13 @@ regular GdkPixBuf API. To underline this fact, they are protected by
|
|
267
267
|
<a name="gdk-pixbuf-Module-Interface.functions_details"></a><h2>Functions</h2>
|
268
268
|
<div class="refsect2">
|
269
269
|
<a name="gdk-pixbuf-get-formats"></a><h3>gdk_pixbuf_get_formats ()</h3>
|
270
|
-
<pre class="programlisting"><
|
270
|
+
<pre class="programlisting"><span class="returnvalue">GSList</span> *
|
271
271
|
gdk_pixbuf_get_formats (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
272
272
|
<p>Obtains the available information about the image formats supported
|
273
273
|
by GdkPixbuf.</p>
|
274
274
|
<div class="refsect3">
|
275
275
|
<a name="gdk-pixbuf-get-formats.returns"></a><h4>Returns</h4>
|
276
|
-
<p>
|
276
|
+
<p>A list of
|
277
277
|
<a href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat"><span class="type">GdkPixbufFormats</span></a> describing the supported image formats. The list should
|
278
278
|
be freed when it is no longer needed, but the structures themselves are
|
279
279
|
owned by <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> and should not be freed. </p>
|
@@ -337,7 +337,7 @@ using <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-c
|
|
337
337
|
<hr>
|
338
338
|
<div class="refsect2">
|
339
339
|
<a name="gdk-pixbuf-format-get-name"></a><h3>gdk_pixbuf_format_get_name ()</h3>
|
340
|
-
<pre class="programlisting"><
|
340
|
+
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
341
341
|
gdk_pixbuf_format_get_name (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>);</pre>
|
342
342
|
<p>Returns the name of the format.</p>
|
343
343
|
<div class="refsect3">
|
@@ -364,7 +364,7 @@ gdk_pixbuf_format_get_name (<em class="parameter"><code><a class="link" href="gd
|
|
364
364
|
<hr>
|
365
365
|
<div class="refsect2">
|
366
366
|
<a name="gdk-pixbuf-format-get-description"></a><h3>gdk_pixbuf_format_get_description ()</h3>
|
367
|
-
<pre class="programlisting"><
|
367
|
+
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
368
368
|
gdk_pixbuf_format_get_description (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>);</pre>
|
369
369
|
<p>Returns a description of the format.</p>
|
370
370
|
<div class="refsect3">
|
@@ -391,7 +391,7 @@ gdk_pixbuf_format_get_description (<em class="parameter"><code><a class="link" h
|
|
391
391
|
<hr>
|
392
392
|
<div class="refsect2">
|
393
393
|
<a name="gdk-pixbuf-format-get-mime-types"></a><h3>gdk_pixbuf_format_get_mime_types ()</h3>
|
394
|
-
<pre class="programlisting"><
|
394
|
+
<pre class="programlisting"><span class="returnvalue">gchar</span> **
|
395
395
|
gdk_pixbuf_format_get_mime_types (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>);</pre>
|
396
396
|
<p>Returns the mime types supported by the format.</p>
|
397
397
|
<div class="refsect3">
|
@@ -411,8 +411,8 @@ gdk_pixbuf_format_get_mime_types (<em class="parameter"><code><a class="link" hr
|
|
411
411
|
</div>
|
412
412
|
<div class="refsect3">
|
413
413
|
<a name="gdk-pixbuf-format-get-mime-types.returns"></a><h4>Returns</h4>
|
414
|
-
<p>
|
415
|
-
<
|
414
|
+
<p>a <code class="literal">NULL</code>-terminated array of mime types which must be freed with
|
415
|
+
<code class="function">g_strfreev()</code> when it is no longer needed. </p>
|
416
416
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
417
417
|
</div>
|
418
418
|
<p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p>
|
@@ -420,7 +420,7 @@ gdk_pixbuf_format_get_mime_types (<em class="parameter"><code><a class="link" hr
|
|
420
420
|
<hr>
|
421
421
|
<div class="refsect2">
|
422
422
|
<a name="gdk-pixbuf-format-get-extensions"></a><h3>gdk_pixbuf_format_get_extensions ()</h3>
|
423
|
-
<pre class="programlisting"><
|
423
|
+
<pre class="programlisting"><span class="returnvalue">gchar</span> **
|
424
424
|
gdk_pixbuf_format_get_extensions (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>);</pre>
|
425
425
|
<p>Returns the filename extensions typically used for files in the
|
426
426
|
given format.</p>
|
@@ -441,8 +441,8 @@ given format.</p>
|
|
441
441
|
</div>
|
442
442
|
<div class="refsect3">
|
443
443
|
<a name="gdk-pixbuf-format-get-extensions.returns"></a><h4>Returns</h4>
|
444
|
-
<p>
|
445
|
-
freed with <
|
444
|
+
<p>a <code class="literal">NULL</code>-terminated array of filename extensions which must be
|
445
|
+
freed with <code class="function">g_strfreev()</code> when it is no longer needed. </p>
|
446
446
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
447
447
|
</div>
|
448
448
|
<p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p>
|
@@ -450,11 +450,11 @@ freed with <a href="../glib/glib-String-Utility-Functions.html#g-strfreev"><code
|
|
450
450
|
<hr>
|
451
451
|
<div class="refsect2">
|
452
452
|
<a name="gdk-pixbuf-format-is-save-option-supported"></a><h3>gdk_pixbuf_format_is_save_option_supported ()</h3>
|
453
|
-
<pre class="programlisting"><
|
453
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
454
454
|
gdk_pixbuf_format_is_save_option_supported
|
455
455
|
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>,
|
456
|
-
<em class="parameter"><code>const <
|
457
|
-
<p>Returns <
|
456
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *option_key</code></em>);</pre>
|
457
|
+
<p>Returns <code class="literal">TRUE</code> if the save option specified by <em class="parameter"><code>option_key</code></em>
|
458
458
|
is supported when
|
459
459
|
saving a pixbuf using the module implementing <em class="parameter"><code>format</code></em>
|
460
460
|
.
|
@@ -483,14 +483,14 @@ See <a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save" title="gd
|
|
483
483
|
</div>
|
484
484
|
<div class="refsect3">
|
485
485
|
<a name="gdk-pixbuf-format-is-save-option-supported.returns"></a><h4>Returns</h4>
|
486
|
-
<p> <
|
486
|
+
<p> <code class="literal">TRUE</code> if the specified option is supported</p>
|
487
487
|
</div>
|
488
488
|
<p class="since">Since: <a class="link" href="api-index-2-36.html#api-index-2.36">2.36</a></p>
|
489
489
|
</div>
|
490
490
|
<hr>
|
491
491
|
<div class="refsect2">
|
492
492
|
<a name="gdk-pixbuf-format-is-writable"></a><h3>gdk_pixbuf_format_is_writable ()</h3>
|
493
|
-
<pre class="programlisting"><
|
493
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
494
494
|
gdk_pixbuf_format_is_writable (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>);</pre>
|
495
495
|
<p>Returns whether pixbufs can be saved in the given format.</p>
|
496
496
|
<div class="refsect3">
|
@@ -517,7 +517,7 @@ gdk_pixbuf_format_is_writable (<em class="parameter"><code><a class="link" href=
|
|
517
517
|
<hr>
|
518
518
|
<div class="refsect2">
|
519
519
|
<a name="gdk-pixbuf-format-is-scalable"></a><h3>gdk_pixbuf_format_is_scalable ()</h3>
|
520
|
-
<pre class="programlisting"><
|
520
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
521
521
|
gdk_pixbuf_format_is_scalable (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>);</pre>
|
522
522
|
<p>Returns whether this image format is scalable. If a file is in a
|
523
523
|
scalable format, it is preferable to load it at the desired size,
|
@@ -547,7 +547,7 @@ resulting pixbuf to the desired size.</p>
|
|
547
547
|
<hr>
|
548
548
|
<div class="refsect2">
|
549
549
|
<a name="gdk-pixbuf-format-is-disabled"></a><h3>gdk_pixbuf_format_is_disabled ()</h3>
|
550
|
-
<pre class="programlisting"><
|
550
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
551
551
|
gdk_pixbuf_format_is_disabled (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>);</pre>
|
552
552
|
<p>Returns whether this image format is disabled. See
|
553
553
|
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-set-disabled" title="gdk_pixbuf_format_set_disabled ()"><code class="function">gdk_pixbuf_format_set_disabled()</code></a>.</p>
|
@@ -577,7 +577,7 @@ gdk_pixbuf_format_is_disabled (<em class="parameter"><code><a class="link" href=
|
|
577
577
|
<a name="gdk-pixbuf-format-set-disabled"></a><h3>gdk_pixbuf_format_set_disabled ()</h3>
|
578
578
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
579
579
|
gdk_pixbuf_format_set_disabled (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>,
|
580
|
-
<em class="parameter"><code><
|
580
|
+
<em class="parameter"><code><span class="type">gboolean</span> disabled</code></em>);</pre>
|
581
581
|
<p>Disables or enables an image format. If a format is disabled,
|
582
582
|
gdk-pixbuf won't use the image loader for this format to load
|
583
583
|
images. Applications can use this to avoid using image loaders
|
@@ -598,7 +598,7 @@ with an inappropriate license, see <a class="link" href="gdk-pixbuf-Module-Inter
|
|
598
598
|
</tr>
|
599
599
|
<tr>
|
600
600
|
<td class="parameter_name"><p>disabled</p></td>
|
601
|
-
<td class="parameter_description"><p><
|
601
|
+
<td class="parameter_description"><p><code class="literal">TRUE</code> to disable the format <em class="parameter"><code>format</code></em>
|
602
602
|
</p></td>
|
603
603
|
<td class="parameter_annotations"> </td>
|
604
604
|
</tr>
|
@@ -610,12 +610,12 @@ with an inappropriate license, see <a class="link" href="gdk-pixbuf-Module-Inter
|
|
610
610
|
<hr>
|
611
611
|
<div class="refsect2">
|
612
612
|
<a name="gdk-pixbuf-format-get-license"></a><h3>gdk_pixbuf_format_get_license ()</h3>
|
613
|
-
<pre class="programlisting"><
|
613
|
+
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
614
614
|
gdk_pixbuf_format_get_license (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>);</pre>
|
615
615
|
<p>Returns information about the license of the image loader for the format. The
|
616
616
|
returned string should be a shorthand for a wellknown license, e.g. "LGPL",
|
617
617
|
"GPL", "QPL", "GPL/QPL", or "other" to indicate some other license. This
|
618
|
-
string should be freed with <
|
618
|
+
string should be freed with <code class="function">g_free()</code> when it's no longer needed.</p>
|
619
619
|
<div class="refsect3">
|
620
620
|
<a name="gdk-pixbuf-format-get-license.parameters"></a><h4>Parameters</h4>
|
621
621
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -690,9 +690,9 @@ string should be freed with <a href="../glib/glib-Memory-Allocation.html#g-free"
|
|
690
690
|
<div class="refsect2">
|
691
691
|
<a name="GdkPixbufModuleSizeFunc"></a><h3>GdkPixbufModuleSizeFunc ()</h3>
|
692
692
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
693
|
-
<span class="c_punctuation">(</span>*GdkPixbufModuleSizeFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><
|
694
|
-
<em class="parameter"><code><
|
695
|
-
<em class="parameter"><code><
|
693
|
+
<span class="c_punctuation">(</span>*GdkPixbufModuleSizeFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">gint</span> *width</code></em>,
|
694
|
+
<em class="parameter"><code><span class="type">gint</span> *height</code></em>,
|
695
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
|
696
696
|
<p>Defines the type of the function that gets called once the size
|
697
697
|
of the loaded image is known.</p>
|
698
698
|
<p>The function is expected to set <em class="parameter"><code>width</code></em>
|
@@ -743,7 +743,7 @@ efficiently.</p>
|
|
743
743
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
744
744
|
<span class="c_punctuation">(</span>*GdkPixbufModulePreparedFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
745
745
|
<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *anim</code></em>,
|
746
|
-
<em class="parameter"><code><
|
746
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
|
747
747
|
<p>Defines the type of the function that gets called once the initial
|
748
748
|
setup of <em class="parameter"><code>pixbuf</code></em>
|
749
749
|
is done.</p>
|
@@ -766,7 +766,7 @@ signal.</p>
|
|
766
766
|
</tr>
|
767
767
|
<tr>
|
768
768
|
<td class="parameter_name"><p>anim</p></td>
|
769
|
-
<td class="parameter_description"><p>if an animation is being loaded, the <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a>, else <
|
769
|
+
<td class="parameter_description"><p>if an animation is being loaded, the <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a>, else <code class="literal">NULL</code>.</p></td>
|
770
770
|
<td class="parameter_annotations"> </td>
|
771
771
|
</tr>
|
772
772
|
<tr>
|
@@ -788,7 +788,7 @@ signal.</p>
|
|
788
788
|
<em class="parameter"><code><span class="type">int</span> y</code></em>,
|
789
789
|
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
790
790
|
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
791
|
-
<em class="parameter"><code><
|
791
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
|
792
792
|
<p>Defines the type of the function that gets called every time a region
|
793
793
|
of <em class="parameter"><code>pixbuf</code></em>
|
794
794
|
is updated.</p>
|
@@ -869,7 +869,7 @@ use the <function>gdk_pixbuf_format_*</function> functions.</p>
|
|
869
869
|
</colgroup>
|
870
870
|
<tbody>
|
871
871
|
<tr>
|
872
|
-
<td class="struct_member_name"><p><
|
872
|
+
<td class="struct_member_name"><p><span class="type">gchar</span> *<em class="structfield"><code><a name="GdkPixbufFormat.name"></a>name</code></em>;</p></td>
|
873
873
|
<td class="struct_member_description"><p>the name of the image format.</p></td>
|
874
874
|
<td class="struct_member_annotations"> </td>
|
875
875
|
</tr>
|
@@ -879,39 +879,39 @@ use the <function>gdk_pixbuf_format_*</function> functions.</p>
|
|
879
879
|
<td class="struct_member_annotations"> </td>
|
880
880
|
</tr>
|
881
881
|
<tr>
|
882
|
-
<td class="struct_member_name"><p><
|
882
|
+
<td class="struct_member_name"><p><span class="type">gchar</span> *<em class="structfield"><code><a name="GdkPixbufFormat.domain"></a>domain</code></em>;</p></td>
|
883
883
|
<td class="struct_member_description"><p>the message domain for the <em class="parameter"><code>description</code></em>
|
884
884
|
.</p></td>
|
885
885
|
<td class="struct_member_annotations"> </td>
|
886
886
|
</tr>
|
887
887
|
<tr>
|
888
|
-
<td class="struct_member_name"><p><
|
888
|
+
<td class="struct_member_name"><p><span class="type">gchar</span> *<em class="structfield"><code><a name="GdkPixbufFormat.description"></a>description</code></em>;</p></td>
|
889
889
|
<td class="struct_member_description"><p>a description of the image format.</p></td>
|
890
890
|
<td class="struct_member_annotations"> </td>
|
891
891
|
</tr>
|
892
892
|
<tr>
|
893
|
-
<td class="struct_member_name"><p><
|
894
|
-
<td class="struct_member_description"><p>a <
|
893
|
+
<td class="struct_member_name"><p><span class="type">gchar</span> **<em class="structfield"><code><a name="GdkPixbufFormat.mime-types"></a>mime_types</code></em>;</p></td>
|
894
|
+
<td class="struct_member_description"><p>a <code class="literal">NULL</code>-terminated array of MIME types for the image format.</p></td>
|
895
895
|
<td class="struct_member_annotations"> </td>
|
896
896
|
</tr>
|
897
897
|
<tr>
|
898
|
-
<td class="struct_member_name"><p><
|
899
|
-
<td class="struct_member_description"><p>a <
|
898
|
+
<td class="struct_member_name"><p><span class="type">gchar</span> **<em class="structfield"><code><a name="GdkPixbufFormat.extensions"></a>extensions</code></em>;</p></td>
|
899
|
+
<td class="struct_member_description"><p>a <code class="literal">NULL</code>-terminated array of typical filename extensions for the
|
900
900
|
image format.</p></td>
|
901
901
|
<td class="struct_member_annotations"> </td>
|
902
902
|
</tr>
|
903
903
|
<tr>
|
904
|
-
<td class="struct_member_name"><p><
|
904
|
+
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GdkPixbufFormat.flags"></a>flags</code></em>;</p></td>
|
905
905
|
<td class="struct_member_description"><p>a combination of <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormatFlags" title="enum GdkPixbufFormatFlags"><span class="type">GdkPixbufFormatFlags</span></a>.</p></td>
|
906
906
|
<td class="struct_member_annotations"> </td>
|
907
907
|
</tr>
|
908
908
|
<tr>
|
909
|
-
<td class="struct_member_name"><p><
|
909
|
+
<td class="struct_member_name"><p><span class="type">gboolean</span> <em class="structfield"><code><a name="GdkPixbufFormat.disabled"></a>disabled</code></em>;</p></td>
|
910
910
|
<td class="struct_member_description"><p>a boolean determining whether the loader is disabled.</p></td>
|
911
911
|
<td class="struct_member_annotations"> </td>
|
912
912
|
</tr>
|
913
913
|
<tr>
|
914
|
-
<td class="struct_member_name"><p><
|
914
|
+
<td class="struct_member_name"><p><span class="type">gchar</span> *<em class="structfield"><code><a name="GdkPixbufFormat.license"></a>license</code></em>;</p></td>
|
915
915
|
<td class="struct_member_description"><p>a string containing license information, typically set to
|
916
916
|
shorthands like "GPL", "LGPL", etc.</p></td>
|
917
917
|
<td class="struct_member_annotations"> </td>
|
@@ -973,7 +973,7 @@ operations.</p>
|
|
973
973
|
</pre>
|
974
974
|
<p>The signature of a module is a set of prefixes. Prefixes are encoded as
|
975
975
|
pairs of ordinary strings, where the second string, called the mask, if
|
976
|
-
not <
|
976
|
+
not <code class="literal">NULL</code>, must be of the same length as the first one and may contain
|
977
977
|
' ', '!', 'x', 'z', and 'n' to indicate bytes that must be matched,
|
978
978
|
not matched, "don't-care"-bytes, zeros and non-zeros.
|
979
979
|
Each prefix has an associated integer that describes the relevance of
|
@@ -985,7 +985,7 @@ like an 'x'. </p>
|
|
985
985
|
<p>The signature of a module is stored as an array of
|
986
986
|
<a href="gdk-pixbuf-Module-Interface.html#GdkPixbufModulePattern"><span class="type">GdkPixbufModulePatterns</span></a>. The array is terminated by a pattern
|
987
987
|
where the <em class="parameter"><code>prefix</code></em>
|
988
|
-
is <
|
988
|
+
is <code class="literal">NULL</code>.</p>
|
989
989
|
<p><informalexample><programlisting>
|
990
990
|
GdkPixbufModulePattern *signature[] = {
|
991
991
|
{ "abcdx", " !x z", 100 },
|
@@ -1075,7 +1075,7 @@ test data</p></td>
|
|
1075
1075
|
</pre>
|
1076
1076
|
<p>A <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModule" title="struct GdkPixbufModule"><span class="type">GdkPixbufModule</span></a> contains the necessary functions to load and save
|
1077
1077
|
images in a certain file format. </p>
|
1078
|
-
<p>A <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModule" title="struct GdkPixbufModule"><span class="type">GdkPixbufModule</span></a> can be loaded dynamically from a <
|
1078
|
+
<p>A <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModule" title="struct GdkPixbufModule"><span class="type">GdkPixbufModule</span></a> can be loaded dynamically from a <span class="type">GModule</span>.
|
1079
1079
|
Each loadable module must contain a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModuleFillVtableFunc" title="GdkPixbufModuleFillVtableFunc ()"><span class="type">GdkPixbufModuleFillVtableFunc</span></a> function
|
1080
1080
|
named <function>fill_vtable</function>, which will get called when the module
|
1081
1081
|
is loaded and must set the function pointers of the <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModule" title="struct GdkPixbufModule"><span class="type">GdkPixbufModule</span></a>.</p>
|
@@ -1100,8 +1100,8 @@ usual file extension for images of this type, eg. "xpm", "jpeg" or "png".</p></t
|
|
1100
1100
|
<td class="struct_member_annotations"> </td>
|
1101
1101
|
</tr>
|
1102
1102
|
<tr>
|
1103
|
-
<td class="struct_member_name"><p><
|
1104
|
-
<td class="struct_member_description"><p>the loaded <
|
1103
|
+
<td class="struct_member_name"><p><span class="type">GModule</span> *<em class="structfield"><code><a name="GdkPixbufModule.module"></a>module</code></em>;</p></td>
|
1104
|
+
<td class="struct_member_description"><p>the loaded <span class="type">GModule</span>.</p></td>
|
1105
1105
|
<td class="struct_member_annotations"> </td>
|
1106
1106
|
</tr>
|
1107
1107
|
<tr>
|
@@ -1276,6 +1276,6 @@ current frame.</p></td>
|
|
1276
1276
|
</div>
|
1277
1277
|
</div>
|
1278
1278
|
<div class="footer">
|
1279
|
-
<hr>Generated by GTK-Doc V1.
|
1279
|
+
<hr>Generated by GTK-Doc V1.27</div>
|
1280
1280
|
</body>
|
1281
1281
|
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="rn01.html" title="API Reference">
|
9
9
|
<link rel="prev" href="gdk-pixbuf-The-GdkPixbuf-Structure.html" title="The GdkPixbuf Structure">
|
10
10
|
<link rel="next" href="gdk-pixbuf-File-Loading.html" title="File Loading">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.27 (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">
|
@@ -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 <
|
79
|
+
pixbuf, it should add a reference to it by calling <code class="function">g_object_ref()</code>.
|
80
80
|
When it no longer needs the pixbuf, it should subtract a reference
|
81
|
-
by calling <
|
81
|
+
by calling <code class="function">g_object_unref()</code>. 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 <
|
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 <
|
86
|
-
and <
|
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 <span class="type">GObject</span> 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 <code class="function">g_object_ref()</code>
|
86
|
+
and <code class="function">g_object_unref()</code> 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 <
|
94
|
+
an older variant that predates the existence of <span class="type">GBytes</span>.</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="../glib/glib-Byte-Array
|
|
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 <
|
104
|
+
<p>Use <code class="function">g_object_ref()</code>.</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 <
|
136
|
+
<p>Use <code class="function">g_object_unref()</code>.</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><
|
161
|
-
<em class="parameter"><code><
|
160
|
+
<span class="c_punctuation">(</span>*GdkPixbufDestroyNotify<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">guchar</span> *pixels</code></em>,
|
161
|
+
<em class="parameter"><code><span class="type">gpointer</span> 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
|
@@ -176,13 +176,13 @@ when the pixbuf is finalized.</p>
|
|
176
176
|
<tbody>
|
177
177
|
<tr>
|
178
178
|
<td class="parameter_name"><p>pixels</p></td>
|
179
|
-
<td class="parameter_description"><p>
|
179
|
+
<td class="parameter_description"><p>The pixel array of the pixbuf
|
180
180
|
that is being finalized. </p></td>
|
181
181
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> guint8]</span></td>
|
182
182
|
</tr>
|
183
183
|
<tr>
|
184
184
|
<td class="parameter_name"><p>data</p></td>
|
185
|
-
<td class="parameter_description"><p>
|
185
|
+
<td class="parameter_description"><p>User closure data. </p></td>
|
186
186
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
|
187
187
|
</tr>
|
188
188
|
</tbody>
|
@@ -199,6 +199,6 @@ that is being finalized. </p></td>
|
|
199
199
|
</div>
|
200
200
|
</div>
|
201
201
|
<div class="footer">
|
202
|
-
<hr>Generated by GTK-Doc V1.
|
202
|
+
<hr>Generated by GTK-Doc V1.27</div>
|
203
203
|
</body>
|
204
204
|
</html>
|