gdk_pixbuf2 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/lib/2.0/gdk_pixbuf2.so +0 -0
- data/vendor/local/bin/gdk-pixbuf-csource.exe +0 -0
- data/vendor/local/bin/gdk-pixbuf-pixdata.exe +0 -0
- data/vendor/local/bin/gdk-pixbuf-query-loaders.exe +0 -0
- data/vendor/local/bin/libgdk_pixbuf-2.0-0.dll +0 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +15 -30
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +23 -23
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h +4 -4
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h +1 -1
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.la +1 -1
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache +81 -81
- 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 +338 -185
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +55 -54
- 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 +63 -63
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +95 -88
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +84 -84
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +18 -18
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +33 -32
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +60 -60
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +9 -9
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Scaling.html +19 -19
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +116 -82
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Utilities.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Versioning.html +23 -23
- 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 +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn01.html +1 -1
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn02.html +1 -2
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/style.css +13 -11
- data/vendor/local/share/locale/af/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ang/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/br/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/crh/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/csb/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/io/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/li/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/my/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nso/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/uz/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/uz@cyrillic/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/man/man1/gdk-pixbuf-csource.1 +1 -1
- data/vendor/local/share/man/man1/gdk-pixbuf-query-loaders.1 +1 -1
- metadata +11 -13
- data/lib/1.9/gdk_pixbuf2.so +0 -0
- data/lib/2.1/gdk_pixbuf2.so +0 -0
@@ -41,7 +41,7 @@
|
|
41
41
|
<tbody>
|
42
42
|
<tr>
|
43
43
|
<td class="function_type">
|
44
|
-
<a href="
|
44
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
45
45
|
</td>
|
46
46
|
<td class="function_name">
|
47
47
|
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-set-option" title="gdk_pixbuf_set_option ()">gdk_pixbuf_set_option</a> <span class="c_punctuation">()</span>
|
@@ -49,7 +49,7 @@
|
|
49
49
|
</tr>
|
50
50
|
<tr>
|
51
51
|
<td class="function_type">
|
52
|
-
<a href="
|
52
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
53
53
|
</td>
|
54
54
|
<td class="function_name">
|
55
55
|
<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>
|
@@ -73,7 +73,7 @@
|
|
73
73
|
</tr>
|
74
74
|
<tr>
|
75
75
|
<td class="function_type">
|
76
|
-
<a href="
|
76
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
77
77
|
</td>
|
78
78
|
<td class="function_name">
|
79
79
|
<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>
|
@@ -81,7 +81,7 @@
|
|
81
81
|
</tr>
|
82
82
|
<tr>
|
83
83
|
<td class="function_type">
|
84
|
-
<a href="
|
84
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
85
85
|
</td>
|
86
86
|
<td class="function_name">
|
87
87
|
<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>
|
@@ -89,7 +89,7 @@
|
|
89
89
|
</tr>
|
90
90
|
<tr>
|
91
91
|
<td class="function_type">
|
92
|
-
<a href="
|
92
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
|
93
93
|
</td>
|
94
94
|
<td class="function_name">
|
95
95
|
<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>
|
@@ -97,7 +97,7 @@
|
|
97
97
|
</tr>
|
98
98
|
<tr>
|
99
99
|
<td class="function_type">
|
100
|
-
<a href="
|
100
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
|
101
101
|
</td>
|
102
102
|
<td class="function_name">
|
103
103
|
<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>
|
@@ -105,7 +105,7 @@
|
|
105
105
|
</tr>
|
106
106
|
<tr>
|
107
107
|
<td class="function_type">
|
108
|
-
<a href="
|
108
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
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
|
-
<a href="
|
116
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
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
|
-
<a href="
|
124
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
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
|
-
<a href="
|
140
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
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>
|
@@ -251,10 +251,10 @@ supply a generic <span class="type">load</span> implementation wrapping the incr
|
|
251
251
|
<p>Installing a module is a two-step process:</p>
|
252
252
|
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
253
253
|
<li class="listitem"><p>copy the module file(s) to the loader directory (normally
|
254
|
-
<code class="literal">$libdir/
|
254
|
+
<code class="literal">$libdir/gdk-pixbuf-2.0/$version/loaders</code>, unless overridden by the
|
255
255
|
environment variable <code class="literal">GDK_PIXBUF_MODULEDIR</code>) </p></li>
|
256
256
|
<li class="listitem"><p>call gdk-pixbuf-query-loaders to update the module file (normally
|
257
|
-
<code class="literal">$
|
257
|
+
<code class="literal">$libdir/gdk-pixbuf-2.0/$version/loaders.cache</code>, unless overridden by the
|
258
258
|
environment variable <code class="literal">GDK_PIXBUF_MODULE_FILE</code>)</p></li>
|
259
259
|
</ul></div>
|
260
260
|
<p>The GdkPixBuf interfaces needed for implementing modules are contained in
|
@@ -267,15 +267,15 @@ 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-set-option"></a><h3>gdk_pixbuf_set_option ()</h3>
|
270
|
-
<pre class="programlisting"><a href="
|
270
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
271
271
|
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>,
|
272
|
-
<em class="parameter"><code>const <a href="
|
273
|
-
<em class="parameter"><code>const <a href="
|
272
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
|
273
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);</pre>
|
274
274
|
<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>
|
275
275
|
already
|
276
276
|
exists in the list of options attached to <em class="parameter"><code>pixbuf</code></em>
|
277
277
|
, the new value is
|
278
|
-
ignored and <a href="
|
278
|
+
ignored and <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned.</p>
|
279
279
|
<div class="refsect3">
|
280
280
|
<a name="id-1.2.16.7.2.5"></a><h4>Parameters</h4>
|
281
281
|
<div class="informaltable"><table width="100%" border="0">
|
@@ -305,7 +305,7 @@ ignored and <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/sh
|
|
305
305
|
</div>
|
306
306
|
<div class="refsect3">
|
307
307
|
<a name="id-1.2.16.7.2.6"></a><h4>Returns</h4>
|
308
|
-
<p> <a href="
|
308
|
+
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</p>
|
309
309
|
<p></p>
|
310
310
|
</div>
|
311
311
|
<p class="since">Since 2.2</p>
|
@@ -313,7 +313,7 @@ ignored and <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/sh
|
|
313
313
|
<hr>
|
314
314
|
<div class="refsect2">
|
315
315
|
<a name="gdk-pixbuf-get-formats"></a><h3>gdk_pixbuf_get_formats ()</h3>
|
316
|
-
<pre class="programlisting"><a href="
|
316
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
317
317
|
gdk_pixbuf_get_formats (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
318
318
|
<p>Obtains the available information about the image formats supported
|
319
319
|
by GdkPixbuf.</p>
|
@@ -384,7 +384,7 @@ using <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-c
|
|
384
384
|
<hr>
|
385
385
|
<div class="refsect2">
|
386
386
|
<a name="gdk-pixbuf-format-get-name"></a><h3>gdk_pixbuf_format_get_name ()</h3>
|
387
|
-
<pre class="programlisting"><a href="
|
387
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
388
388
|
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>
|
389
389
|
<p>Returns the name of the format.</p>
|
390
390
|
<div class="refsect3">
|
@@ -412,7 +412,7 @@ gdk_pixbuf_format_get_name (<em class="parameter"><code><a class="link" href="gd
|
|
412
412
|
<hr>
|
413
413
|
<div class="refsect2">
|
414
414
|
<a name="gdk-pixbuf-format-get-description"></a><h3>gdk_pixbuf_format_get_description ()</h3>
|
415
|
-
<pre class="programlisting"><a href="
|
415
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
416
416
|
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>
|
417
417
|
<p>Returns a description of the format.</p>
|
418
418
|
<div class="refsect3">
|
@@ -440,7 +440,7 @@ gdk_pixbuf_format_get_description (<em class="parameter"><code><a class="link" h
|
|
440
440
|
<hr>
|
441
441
|
<div class="refsect2">
|
442
442
|
<a name="gdk-pixbuf-format-get-mime-types"></a><h3>gdk_pixbuf_format_get_mime_types ()</h3>
|
443
|
-
<pre class="programlisting"><a href="
|
443
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
|
444
444
|
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>
|
445
445
|
<p>Returns the mime types supported by the format.</p>
|
446
446
|
<div class="refsect3">
|
@@ -460,8 +460,8 @@ gdk_pixbuf_format_get_mime_types (<em class="parameter"><code><a class="link" hr
|
|
460
460
|
</div>
|
461
461
|
<div class="refsect3">
|
462
462
|
<a name="id-1.2.16.7.8.6"></a><h4>Returns</h4>
|
463
|
-
<p> a <a href="
|
464
|
-
<a href="
|
463
|
+
<p> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of mime types which must be freed with
|
464
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a> when it is no longer needed. </p>
|
465
465
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
466
466
|
</div>
|
467
467
|
<p class="since">Since 2.2</p>
|
@@ -469,7 +469,7 @@ gdk_pixbuf_format_get_mime_types (<em class="parameter"><code><a class="link" hr
|
|
469
469
|
<hr>
|
470
470
|
<div class="refsect2">
|
471
471
|
<a name="gdk-pixbuf-format-get-extensions"></a><h3>gdk_pixbuf_format_get_extensions ()</h3>
|
472
|
-
<pre class="programlisting"><a href="
|
472
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
|
473
473
|
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>
|
474
474
|
<p>Returns the filename extensions typically used for files in the
|
475
475
|
given format.</p>
|
@@ -490,8 +490,8 @@ given format.</p>
|
|
490
490
|
</div>
|
491
491
|
<div class="refsect3">
|
492
492
|
<a name="id-1.2.16.7.9.6"></a><h4>Returns</h4>
|
493
|
-
<p> a <a href="
|
494
|
-
freed with <a href="
|
493
|
+
<p> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of filename extensions which must be
|
494
|
+
freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a> when it is no longer needed. </p>
|
495
495
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
496
496
|
</div>
|
497
497
|
<p class="since">Since 2.2</p>
|
@@ -499,7 +499,7 @@ freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/sha
|
|
499
499
|
<hr>
|
500
500
|
<div class="refsect2">
|
501
501
|
<a name="gdk-pixbuf-format-is-writable"></a><h3>gdk_pixbuf_format_is_writable ()</h3>
|
502
|
-
<pre class="programlisting"><a href="
|
502
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
503
503
|
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>
|
504
504
|
<p>Returns whether pixbufs can be saved in the given format.</p>
|
505
505
|
<div class="refsect3">
|
@@ -527,7 +527,7 @@ gdk_pixbuf_format_is_writable (<em class="parameter"><code><a class="link" href=
|
|
527
527
|
<hr>
|
528
528
|
<div class="refsect2">
|
529
529
|
<a name="gdk-pixbuf-format-is-scalable"></a><h3>gdk_pixbuf_format_is_scalable ()</h3>
|
530
|
-
<pre class="programlisting"><a href="
|
530
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
531
531
|
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>
|
532
532
|
<p>Returns whether this image format is scalable. If a file is in a
|
533
533
|
scalable format, it is preferable to load it at the desired size,
|
@@ -558,7 +558,7 @@ resulting pixbuf to the desired size.</p>
|
|
558
558
|
<hr>
|
559
559
|
<div class="refsect2">
|
560
560
|
<a name="gdk-pixbuf-format-is-disabled"></a><h3>gdk_pixbuf_format_is_disabled ()</h3>
|
561
|
-
<pre class="programlisting"><a href="
|
561
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
562
562
|
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>
|
563
563
|
<p>Returns whether this image format is disabled. See
|
564
564
|
<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>
|
@@ -589,7 +589,7 @@ gdk_pixbuf_format_is_disabled (<em class="parameter"><code><a class="link" href=
|
|
589
589
|
<a name="gdk-pixbuf-format-set-disabled"></a><h3>gdk_pixbuf_format_set_disabled ()</h3>
|
590
590
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
591
591
|
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>,
|
592
|
-
<em class="parameter"><code><a href="
|
592
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> disabled</code></em>);</pre>
|
593
593
|
<p>Disables or enables an image format. If a format is disabled,
|
594
594
|
gdk-pixbuf won't use the image loader for this format to load
|
595
595
|
images. Applications can use this to avoid using image loaders
|
@@ -610,7 +610,7 @@ with an inappropriate license, see <a class="link" href="gdk-pixbuf-Module-Inter
|
|
610
610
|
</tr>
|
611
611
|
<tr>
|
612
612
|
<td class="parameter_name"><p>disabled</p></td>
|
613
|
-
<td class="parameter_description"><p><a href="
|
613
|
+
<td class="parameter_description"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to disable the format <em class="parameter"><code>format</code></em>
|
614
614
|
</p></td>
|
615
615
|
<td class="parameter_annotations"> </td>
|
616
616
|
</tr>
|
@@ -622,12 +622,12 @@ with an inappropriate license, see <a class="link" href="gdk-pixbuf-Module-Inter
|
|
622
622
|
<hr>
|
623
623
|
<div class="refsect2">
|
624
624
|
<a name="gdk-pixbuf-format-get-license"></a><h3>gdk_pixbuf_format_get_license ()</h3>
|
625
|
-
<pre class="programlisting"><a href="
|
625
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
626
626
|
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>
|
627
627
|
<p>Returns information about the license of the image loader for the format. The
|
628
628
|
returned string should be a shorthand for a wellknown license, e.g. "LGPL",
|
629
629
|
"GPL", "QPL", "GPL/QPL", or "other" to indicate some other license. This
|
630
|
-
string should be freed with <a href="
|
630
|
+
string should be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when it's no longer needed.</p>
|
631
631
|
<div class="refsect3">
|
632
632
|
<a name="id-1.2.16.7.14.5"></a><h4>Parameters</h4>
|
633
633
|
<div class="informaltable"><table width="100%" border="0">
|
@@ -703,9 +703,9 @@ string should be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2
|
|
703
703
|
<div class="refsect2">
|
704
704
|
<a name="GdkPixbufModuleSizeFunc"></a><h3>GdkPixbufModuleSizeFunc ()</h3>
|
705
705
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
706
|
-
<span class="c_punctuation">(</span>*GdkPixbufModuleSizeFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="
|
707
|
-
<em class="parameter"><code><a href="
|
708
|
-
<em class="parameter"><code><a href="
|
706
|
+
<span class="c_punctuation">(</span>*GdkPixbufModuleSizeFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *width</code></em>,
|
707
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *height</code></em>,
|
708
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
709
709
|
<p>Defines the type of the function that gets called once the size
|
710
710
|
of the loaded image is known.</p>
|
711
711
|
<p>The function is expected to set <em class="parameter"><code>width</code></em>
|
@@ -713,7 +713,7 @@ of the loaded image is known.</p>
|
|
713
713
|
to the desired
|
714
714
|
size to which the image should be scaled. If a module has no efficient
|
715
715
|
way to achieve the desired scaling during the loading of the image, it may
|
716
|
-
either ignore the size request, or only approximate it
|
716
|
+
either ignore the size request, or only approximate it - gdk-pixbuf will
|
717
717
|
then perform the required scaling on the completely loaded image. </p>
|
718
718
|
<p>If the function sets <em class="parameter"><code>width</code></em>
|
719
719
|
or <em class="parameter"><code>height</code></em>
|
@@ -756,7 +756,7 @@ efficiently.</p>
|
|
756
756
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
757
757
|
<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>,
|
758
758
|
<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *anim</code></em>,
|
759
|
-
<em class="parameter"><code><a href="
|
759
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
760
760
|
<p>Defines the type of the function that gets called once the initial
|
761
761
|
setup of <em class="parameter"><code>pixbuf</code></em>
|
762
762
|
is done.</p>
|
@@ -779,7 +779,7 @@ signal.</p>
|
|
779
779
|
</tr>
|
780
780
|
<tr>
|
781
781
|
<td class="parameter_name"><p>anim</p></td>
|
782
|
-
<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 <a href="
|
782
|
+
<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 <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
|
783
783
|
<td class="parameter_annotations"> </td>
|
784
784
|
</tr>
|
785
785
|
<tr>
|
@@ -801,7 +801,7 @@ signal.</p>
|
|
801
801
|
<em class="parameter"><code><span class="type">int</span> y</code></em>,
|
802
802
|
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
803
803
|
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
804
|
-
<em class="parameter"><code><a href="
|
804
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
805
805
|
<p>Defines the type of the function that gets called every time a region
|
806
806
|
of <em class="parameter"><code>pixbuf</code></em>
|
807
807
|
is updated.</p>
|
@@ -882,7 +882,7 @@ use the <function>gdk_pixbuf_format_*</function> functions.</p>
|
|
882
882
|
</colgroup>
|
883
883
|
<tbody>
|
884
884
|
<tr>
|
885
|
-
<td class="struct_member_name"><p><a href="
|
885
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GdkPixbufFormat.name"></a>name</code></em>;</p></td>
|
886
886
|
<td class="struct_member_description"><p>the name of the image format.</p></td>
|
887
887
|
<td class="struct_member_annotations"> </td>
|
888
888
|
</tr>
|
@@ -892,39 +892,39 @@ use the <function>gdk_pixbuf_format_*</function> functions.</p>
|
|
892
892
|
<td class="struct_member_annotations"> </td>
|
893
893
|
</tr>
|
894
894
|
<tr>
|
895
|
-
<td class="struct_member_name"><p><a href="
|
895
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GdkPixbufFormat.domain"></a>domain</code></em>;</p></td>
|
896
896
|
<td class="struct_member_description"><p>the message domain for the <em class="parameter"><code>description</code></em>
|
897
897
|
.</p></td>
|
898
898
|
<td class="struct_member_annotations"> </td>
|
899
899
|
</tr>
|
900
900
|
<tr>
|
901
|
-
<td class="struct_member_name"><p><a href="
|
901
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GdkPixbufFormat.description"></a>description</code></em>;</p></td>
|
902
902
|
<td class="struct_member_description"><p>a description of the image format.</p></td>
|
903
903
|
<td class="struct_member_annotations"> </td>
|
904
904
|
</tr>
|
905
905
|
<tr>
|
906
|
-
<td class="struct_member_name"><p><a href="
|
907
|
-
<td class="struct_member_description"><p>a <a href="
|
906
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **<em class="structfield"><code><a name="GdkPixbufFormat.mime-types"></a>mime_types</code></em>;</p></td>
|
907
|
+
<td class="struct_member_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of MIME types for the image format.</p></td>
|
908
908
|
<td class="struct_member_annotations"> </td>
|
909
909
|
</tr>
|
910
910
|
<tr>
|
911
|
-
<td class="struct_member_name"><p><a href="
|
912
|
-
<td class="struct_member_description"><p>a <a href="
|
911
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **<em class="structfield"><code><a name="GdkPixbufFormat.extensions"></a>extensions</code></em>;</p></td>
|
912
|
+
<td class="struct_member_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of typical filename extensions for the
|
913
913
|
image format.</p></td>
|
914
914
|
<td class="struct_member_annotations"> </td>
|
915
915
|
</tr>
|
916
916
|
<tr>
|
917
|
-
<td class="struct_member_name"><p><a href="
|
917
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkPixbufFormat.flags"></a>flags</code></em>;</p></td>
|
918
918
|
<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>
|
919
919
|
<td class="struct_member_annotations"> </td>
|
920
920
|
</tr>
|
921
921
|
<tr>
|
922
|
-
<td class="struct_member_name"><p><a href="
|
922
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> <em class="structfield"><code><a name="GdkPixbufFormat.disabled"></a>disabled</code></em>;</p></td>
|
923
923
|
<td class="struct_member_description"><p>a boolean determining whether the loader is disabled.</p></td>
|
924
924
|
<td class="struct_member_annotations"> </td>
|
925
925
|
</tr>
|
926
926
|
<tr>
|
927
|
-
<td class="struct_member_name"><p><a href="
|
927
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GdkPixbufFormat.license"></a>license</code></em>;</p></td>
|
928
928
|
<td class="struct_member_description"><p>a string containing license information, typically set to
|
929
929
|
shorthands like "GPL", "LGPL", etc.</p></td>
|
930
930
|
<td class="struct_member_annotations"> </td>
|
@@ -965,7 +965,7 @@ operations.</p>
|
|
965
965
|
<tr>
|
966
966
|
<td class="enum_member_name"><p><a name="GDK-PIXBUF-FORMAT-THREADSAFE:CAPS"></a>GDK_PIXBUF_FORMAT_THREADSAFE</p></td>
|
967
967
|
<td class="enum_member_description">
|
968
|
-
<p>the module is threadsafe.
|
968
|
+
<p>the module is threadsafe. gdk-pixbuf
|
969
969
|
ignores modules that are not marked as threadsafe. (Since 2.28).</p>
|
970
970
|
</td>
|
971
971
|
<td class="enum_member_annotations"> </td>
|
@@ -986,19 +986,19 @@ operations.</p>
|
|
986
986
|
</pre>
|
987
987
|
<p>The signature of a module is a set of prefixes. Prefixes are encoded as
|
988
988
|
pairs of ordinary strings, where the second string, called the mask, if
|
989
|
-
not <a href="
|
989
|
+
not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, must be of the same length as the first one and may contain
|
990
990
|
' ', '!', 'x', 'z', and 'n' to indicate bytes that must be matched,
|
991
991
|
not matched, "don't-care"-bytes, zeros and non-zeros.
|
992
992
|
Each prefix has an associated integer that describes the relevance of
|
993
993
|
the prefix, with 0 meaning a mismatch and 100 a "perfect match".</p>
|
994
|
-
<p>Starting with
|
994
|
+
<p>Starting with gdk-pixbuf 2.8, the first byte of the mask may be '*',
|
995
995
|
indicating an unanchored pattern that matches not only at the beginning,
|
996
996
|
but also in the middle. Versions prior to 2.8 will interpret the '*'
|
997
997
|
like an 'x'. </p>
|
998
998
|
<p>The signature of a module is stored as an array of
|
999
|
-
<a
|
999
|
+
<a href="gdk-pixbuf-Module-Interface.html#GdkPixbufModulePattern"><span class="type">GdkPixbufModulePatterns</span></a>. The array is terminated by a pattern
|
1000
1000
|
where the <em class="parameter"><code>prefix</code></em>
|
1001
|
-
is <a href="
|
1001
|
+
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
1002
1002
|
<p><informalexample><programlisting>
|
1003
1003
|
GdkPixbufModulePattern *signature[] = {
|
1004
1004
|
{ "abcdx", " !x z", 100 },
|
@@ -1086,7 +1086,7 @@ test data</p></td>
|
|
1086
1086
|
</pre>
|
1087
1087
|
<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
|
1088
1088
|
images in a certain file format. </p>
|
1089
|
-
<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 <a href="
|
1089
|
+
<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 <a href="http://library.gnome.org/devel/glib/unstable/glib-Dynamic-Loading-of-Modules.html#GModule"><span class="type">GModule</span></a>.
|
1090
1090
|
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
|
1091
1091
|
named <function>fill_vtable</function>, which will get called when the module
|
1092
1092
|
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>
|
@@ -1111,8 +1111,8 @@ usual file extension for images of this type, eg. "xpm", "jpeg" or "png".</p></t
|
|
1111
1111
|
<td class="struct_member_annotations"> </td>
|
1112
1112
|
</tr>
|
1113
1113
|
<tr>
|
1114
|
-
<td class="struct_member_name"><p><a href="
|
1115
|
-
<td class="struct_member_description"><p>the loaded <a href="
|
1114
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Dynamic-Loading-of-Modules.html#GModule"><span class="type">GModule</span></a> *<em class="structfield"><code><a name="GdkPixbufModule.module"></a>module</code></em>;</p></td>
|
1115
|
+
<td class="struct_member_description"><p>the loaded <a href="http://library.gnome.org/devel/glib/unstable/glib-Dynamic-Loading-of-Modules.html#GModule"><span class="type">GModule</span></a>.</p></td>
|
1116
1116
|
<td class="struct_member_annotations"> </td>
|
1117
1117
|
</tr>
|
1118
1118
|
<tr>
|
@@ -1196,7 +1196,7 @@ virtual functions.</p>
|
|
1196
1196
|
</colgroup>
|
1197
1197
|
<tbody>
|
1198
1198
|
<tr>
|
1199
|
-
<td class="struct_member_name"><p><a href="
|
1199
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> <em class="structfield"><code><a name="GdkPixbufAnimationClass.parent-class"></a>parent_class</code></em>;</p></td>
|
1200
1200
|
<td class="struct_member_description"><p>the parent class</p></td>
|
1201
1201
|
<td class="struct_member_annotations"> </td>
|
1202
1202
|
</tr>
|
@@ -1256,7 +1256,7 @@ virtual functions.</p>
|
|
1256
1256
|
</colgroup>
|
1257
1257
|
<tbody>
|
1258
1258
|
<tr>
|
1259
|
-
<td class="struct_member_name"><p><a href="
|
1259
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> <em class="structfield"><code><a name="GdkPixbufAnimationIterClass.parent-class"></a>parent_class</code></em>;</p></td>
|
1260
1260
|
<td class="struct_member_description"><p>the parent class</p></td>
|
1261
1261
|
<td class="struct_member_annotations"> </td>
|
1262
1262
|
</tr>
|
@@ -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="http://library.gnome.org/devel/gobject/unstable/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="http://library.gnome.org/devel/gobject/unstable/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
|
-
<p
|
85
|
-
|
86
|
-
|
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="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><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="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a>
|
86
|
+
and <a href="http://library.gnome.org/devel/gobject/unstable/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
|
88
88
|
data and to free the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> structure itself. Most of the
|
89
89
|
library functions that create <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> structures create the
|
@@ -105,7 +105,7 @@ responsibility to free the pixel array.</p>
|
|
105
105
|
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>
|
106
106
|
<div class="warning">
|
107
107
|
<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>
|
108
|
-
<p>Use <a href="
|
108
|
+
<p>Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a>.</p>
|
109
109
|
</div>
|
110
110
|
<p>Adds a reference to a pixbuf.</p>
|
111
111
|
<div class="refsect3">
|
@@ -137,7 +137,7 @@ argument.</p>
|
|
137
137
|
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>
|
138
138
|
<div class="warning">
|
139
139
|
<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>
|
140
|
-
<p>Use <a href="
|
140
|
+
<p>Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
|
141
141
|
</div>
|
142
142
|
<p>Removes a reference from a pixbuf.</p>
|
143
143
|
<div class="refsect3">
|
@@ -160,8 +160,8 @@ gdk_pixbuf_unref (<em class="parameter"><code><a class="link" href="gdk-pixbuf-T
|
|
160
160
|
<div class="refsect2">
|
161
161
|
<a name="GdkPixbufDestroyNotify"></a><h3>GdkPixbufDestroyNotify ()</h3>
|
162
162
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
163
|
-
<span class="c_punctuation">(</span>*GdkPixbufDestroyNotify<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="
|
164
|
-
<em class="parameter"><code><a href="
|
163
|
+
<span class="c_punctuation">(</span>*GdkPixbufDestroyNotify<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *pixels</code></em>,
|
164
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
165
165
|
<p>A function of this type is responsible for freeing the pixel array
|
166
166
|
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
|
167
167
|
pass in a pre-allocated pixel array so that a pixbuf can be
|