gdk_pixbuf2 3.2.1-x86-mingw32 → 3.2.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/dependency-check/Rakefile +1 -2
- data/lib/gdk_pixbuf2/pixbuf.rb +19 -3
- data/test/test-pixbuf.rb +22 -5
- data/vendor/local/bin/gdk-pixbuf-csource.exe +0 -0
- data/vendor/local/bin/gdk-pixbuf-pixdata.exe +0 -0
- data/vendor/local/bin/gdk-pixbuf-query-loaders.exe +0 -0
- data/vendor/local/bin/gdk-pixbuf-thumbnailer.exe +0 -0
- data/vendor/local/bin/libgdk_pixbuf-2.0-0.dll +0 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h +1 -1
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-marshal.h +20 -18
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache +47 -47
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.la +2 -2
- data/vendor/local/lib/libgdk_pixbuf-2.0.dll.a +0 -0
- data/vendor/local/lib/libgdk_pixbuf-2.0.la +2 -2
- data/vendor/local/lib/pkgconfig/gdk-pixbuf-2.0.pc +1 -1
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +59 -59
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html +64 -64
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +89 -89
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +103 -103
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +22 -22
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +36 -36
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +51 -51
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Scaling.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +59 -59
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Utilities.html +11 -11
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-X-Drawables-to-Pixbufs.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-XlibRGB.html +4 -4
- data/vendor/local/share/thumbnailers/gdk-pixbuf-thumbnailer.thumbnailer +2 -2
- metadata +7 -7
@@ -112,7 +112,7 @@ the destroy notification function that will be called when the
|
|
112
112
|
data buffer needs to be freed; this will happen when a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>
|
113
113
|
is finalized by the reference counting functions If you have a
|
114
114
|
chunk of static data compiled into your application, you can pass
|
115
|
-
in <a href="
|
115
|
+
in <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> as the destroy notification function so that the data
|
116
116
|
will not be freed.</p>
|
117
117
|
<p>The <a class="link" href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new" title="gdk_pixbuf_new ()"><code class="function">gdk_pixbuf_new()</code></a> function can be used as a convenience to
|
118
118
|
create a pixbuf with an empty buffer. This is equivalent to
|
@@ -123,7 +123,7 @@ with an efficient algorithm.</p>
|
|
123
123
|
<p>As a special case, you can use the <a class="link" href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new-from-xpm-data" title="gdk_pixbuf_new_from_xpm_data ()"><code class="function">gdk_pixbuf_new_from_xpm_data()</code></a>
|
124
124
|
function to create a pixbuf from inline XPM image data.</p>
|
125
125
|
<p>You can also copy an existing pixbuf with the <a class="link" href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-copy" title="gdk_pixbuf_copy ()"><code class="function">gdk_pixbuf_copy()</code></a>
|
126
|
-
function. This is not the same as just doing a <a href="
|
126
|
+
function. This is not the same as just doing a <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a>
|
127
127
|
on the old pixbuf; the copy function will actually duplicate the
|
128
128
|
pixel data in memory and create a new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> structure for it.</p>
|
129
129
|
</div>
|
@@ -133,7 +133,7 @@ pixel data in memory and create a new <a class="link" href="gdk-pixbuf-The-GdkPi
|
|
133
133
|
<a name="gdk-pixbuf-new"></a><h3>gdk_pixbuf_new ()</h3>
|
134
134
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
|
135
135
|
gdk_pixbuf_new (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkColorspace" title="enum GdkColorspace"><span class="type">GdkColorspace</span></a> colorspace</code></em>,
|
136
|
-
<em class="parameter"><code><a href="
|
136
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> has_alpha</code></em>,
|
137
137
|
<em class="parameter"><code><span class="type">int</span> bits_per_sample</code></em>,
|
138
138
|
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
139
139
|
<em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
|
@@ -180,23 +180,23 @@ you will have to fill it completely yourself.</p>
|
|
180
180
|
<div class="refsect3">
|
181
181
|
<a name="gdk-pixbuf-new.returns"></a><h4>Returns</h4>
|
182
182
|
<p> A newly-created <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> with a reference count of 1, or
|
183
|
-
<a href="
|
183
|
+
<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not enough memory could be allocated for the image buffer.</p>
|
184
184
|
</div>
|
185
185
|
</div>
|
186
186
|
<hr>
|
187
187
|
<div class="refsect2">
|
188
188
|
<a name="gdk-pixbuf-new-from-bytes"></a><h3>gdk_pixbuf_new_from_bytes ()</h3>
|
189
189
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
|
190
|
-
gdk_pixbuf_new_from_bytes (<em class="parameter"><code><a href="
|
190
|
+
gdk_pixbuf_new_from_bytes (<em class="parameter"><code><a href="../glib/glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a> *data</code></em>,
|
191
191
|
<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkColorspace" title="enum GdkColorspace"><span class="type">GdkColorspace</span></a> colorspace</code></em>,
|
192
|
-
<em class="parameter"><code><a href="
|
192
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> has_alpha</code></em>,
|
193
193
|
<em class="parameter"><code><span class="type">int</span> bits_per_sample</code></em>,
|
194
194
|
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
195
195
|
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
196
196
|
<em class="parameter"><code><span class="type">int</span> rowstride</code></em>);</pre>
|
197
197
|
<p>Creates a new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> out of in-memory readonly image data.
|
198
198
|
Currently only RGB images with 8 bits per sample are supported.
|
199
|
-
This is the <a href="
|
199
|
+
This is the <a href="../glib/glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a> variant of <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>.</p>
|
200
200
|
<div class="refsect3">
|
201
201
|
<a name="gdk-pixbuf-new-from-bytes.parameters"></a><h4>Parameters</h4>
|
202
202
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -208,7 +208,7 @@ This is the <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gt
|
|
208
208
|
<tbody>
|
209
209
|
<tr>
|
210
210
|
<td class="parameter_name"><p>data</p></td>
|
211
|
-
<td class="parameter_description"><p>Image data in 8-bit/sample packed format inside a <a href="
|
211
|
+
<td class="parameter_description"><p>Image data in 8-bit/sample packed format inside a <a href="../glib/glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a></p></td>
|
212
212
|
<td class="parameter_annotations"> </td>
|
213
213
|
</tr>
|
214
214
|
<tr>
|
@@ -255,15 +255,15 @@ This is the <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gt
|
|
255
255
|
<div class="refsect2">
|
256
256
|
<a name="gdk-pixbuf-new-from-data"></a><h3>gdk_pixbuf_new_from_data ()</h3>
|
257
257
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
|
258
|
-
gdk_pixbuf_new_from_data (<em class="parameter"><code>const <a href="
|
258
|
+
gdk_pixbuf_new_from_data (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *data</code></em>,
|
259
259
|
<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkColorspace" title="enum GdkColorspace"><span class="type">GdkColorspace</span></a> colorspace</code></em>,
|
260
|
-
<em class="parameter"><code><a href="
|
260
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> has_alpha</code></em>,
|
261
261
|
<em class="parameter"><code><span class="type">int</span> bits_per_sample</code></em>,
|
262
262
|
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
263
263
|
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
264
264
|
<em class="parameter"><code><span class="type">int</span> rowstride</code></em>,
|
265
265
|
<em class="parameter"><code><a class="link" href="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html#GdkPixbufDestroyNotify" title="GdkPixbufDestroyNotify ()"><span class="type">GdkPixbufDestroyNotify</span></a> destroy_fn</code></em>,
|
266
|
-
<em class="parameter"><code><a href="
|
266
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> destroy_fn_data</code></em>);</pre>
|
267
267
|
<p>Creates a new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> out of in-memory image data. Currently only RGB
|
268
268
|
images with 8 bits per sample are supported.</p>
|
269
269
|
<p>Since you are providing a pre-allocated pixel buffer, you must also
|
@@ -319,7 +319,7 @@ it is its responsibility to free the pixel array.</p>
|
|
319
319
|
<tr>
|
320
320
|
<td class="parameter_name"><p>destroy_fn</p></td>
|
321
321
|
<td class="parameter_description"><p> Function used to free the data when the pixbuf's reference count
|
322
|
-
drops to zero, or <a href="
|
322
|
+
drops to zero, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the data should not be freed. </p></td>
|
323
323
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
324
324
|
</tr>
|
325
325
|
<tr>
|
@@ -367,13 +367,13 @@ the result of including an XPM file into a program's C source.</p>
|
|
367
367
|
<div class="refsect2">
|
368
368
|
<a name="gdk-pixbuf-new-from-inline"></a><h3>gdk_pixbuf_new_from_inline ()</h3>
|
369
369
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
|
370
|
-
gdk_pixbuf_new_from_inline (<em class="parameter"><code><a href="
|
371
|
-
<em class="parameter"><code>const <a href="
|
372
|
-
<em class="parameter"><code><a href="
|
373
|
-
<em class="parameter"><code><a href="
|
370
|
+
gdk_pixbuf_new_from_inline (<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> data_length</code></em>,
|
371
|
+
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *data</code></em>,
|
372
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> copy_pixels</code></em>,
|
373
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
374
374
|
<div class="warning">
|
375
375
|
<p><code class="literal">gdk_pixbuf_new_from_inline</code> has been deprecated since version 2.32 and should not be used in newly-written code.</p>
|
376
|
-
<p>Use <a href="
|
376
|
+
<p>Use <a href="../gio/GResource.html#GResource-struct"><span class="type">GResource</span></a> instead.</p>
|
377
377
|
</div>
|
378
378
|
<p>Create a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> from a flat representation that is suitable for
|
379
379
|
storing as inline data in a program. This is useful if you want to
|
@@ -397,10 +397,10 @@ In almost all cases, you should pass the <code class="literal">--raw</code> opti
|
|
397
397
|
<p></p>
|
398
398
|
<p>For the typical case where the inline pixbuf is read-only static data,
|
399
399
|
you don't need to copy the pixel data unless you intend to write to
|
400
|
-
it, so you can pass <a href="
|
400
|
+
it, so you can pass <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> for <em class="parameter"><code>copy_pixels</code></em>
|
401
401
|
. (If you pass <code class="literal">--rle</code> to
|
402
402
|
<code class="literal">gdk-pixbuf-csource</code>, a copy will be made even if <em class="parameter"><code>copy_pixels</code></em>
|
403
|
-
is <a href="
|
403
|
+
is <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>,
|
404
404
|
so using this option is generally a bad idea.)</p>
|
405
405
|
<p>If you create a pixbuf from const inline data compiled into your
|
406
406
|
program, it's probably safe to ignore errors and disable length checks,
|
@@ -451,7 +451,7 @@ for the resulting pixbuf</p></td>
|
|
451
451
|
</tr>
|
452
452
|
<tr>
|
453
453
|
<td class="parameter_name"><p>error</p></td>
|
454
|
-
<td class="parameter_description"><p><a href="
|
454
|
+
<td class="parameter_description"><p><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> return location, may be <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore errors</p></td>
|
455
455
|
<td class="parameter_annotations"> </td>
|
456
456
|
</tr>
|
457
457
|
</tbody>
|
@@ -460,7 +460,7 @@ for the resulting pixbuf</p></td>
|
|
460
460
|
<div class="refsect3">
|
461
461
|
<a name="gdk-pixbuf-new-from-inline.returns"></a><h4>Returns</h4>
|
462
462
|
<p> A newly-created <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> structure with a reference,
|
463
|
-
count of 1, or <a href="
|
463
|
+
count of 1, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if an error occurred.</p>
|
464
464
|
</div>
|
465
465
|
</div>
|
466
466
|
<hr>
|
@@ -556,7 +556,7 @@ use <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-cop
|
|
556
556
|
</div>
|
557
557
|
<div class="refsect3">
|
558
558
|
<a name="gdk-pixbuf-copy.returns"></a><h4>Returns</h4>
|
559
|
-
<p> A newly-created pixbuf with a reference count of 1, or <a href="
|
559
|
+
<p> A newly-created pixbuf with a reference count of 1, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
|
560
560
|
not enough memory could be allocated. </p>
|
561
561
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
562
562
|
</div>
|
@@ -41,7 +41,7 @@
|
|
41
41
|
<tbody>
|
42
42
|
<tr>
|
43
43
|
<td class="function_type">
|
44
|
-
<a href="
|
44
|
+
<a href="../glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
45
45
|
</td>
|
46
46
|
<td class="function_name">
|
47
47
|
<a class="link" href="gdk-pixbuf-Inline-data.html#gdk-pixdata-from-pixbuf" title="gdk_pixdata_from_pixbuf ()">gdk_pixdata_from_pixbuf</a> <span class="c_punctuation">()</span>
|
@@ -57,7 +57,7 @@
|
|
57
57
|
</tr>
|
58
58
|
<tr>
|
59
59
|
<td class="function_type">
|
60
|
-
<a href="
|
60
|
+
<a href="../glib/glib-Basic-Types.html#guint8"><span class="returnvalue">guint8</span></a> *
|
61
61
|
</td>
|
62
62
|
<td class="function_name">
|
63
63
|
<a class="link" href="gdk-pixbuf-Inline-data.html#gdk-pixdata-serialize" title="gdk_pixdata_serialize ()">gdk_pixdata_serialize</a> <span class="c_punctuation">()</span>
|
@@ -65,7 +65,7 @@
|
|
65
65
|
</tr>
|
66
66
|
<tr>
|
67
67
|
<td class="function_type">
|
68
|
-
<a href="
|
68
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
69
69
|
</td>
|
70
70
|
<td class="function_name">
|
71
71
|
<a class="link" href="gdk-pixbuf-Inline-data.html#gdk-pixdata-deserialize" title="gdk_pixdata_deserialize ()">gdk_pixdata_deserialize</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="../glib/glib-Strings.html#GString"><span class="returnvalue">GString</span></a> *
|
77
77
|
</td>
|
78
78
|
<td class="function_name">
|
79
79
|
<a class="link" href="gdk-pixbuf-Inline-data.html#gdk-pixdata-to-csource" title="gdk_pixdata_to_csource ()">gdk_pixdata_to_csource</a> <span class="c_punctuation">()</span>
|
@@ -126,23 +126,23 @@ GdkPixBuf includes a utility named gdk-pixbuf-csource, which
|
|
126
126
|
can be used to convert image files into <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> structures suitable
|
127
127
|
for inclusion in C sources. To convert the <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> structures back
|
128
128
|
into <a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbufs</span></a>, use gdk_pixbuf_from_pixdata.</p>
|
129
|
-
<p><a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> should not be used any more. <a href="
|
129
|
+
<p><a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> should not be used any more. <a href="../gio/GResource.html#GResource-struct"><span class="type">GResource</span></a> should be used to save
|
130
130
|
the original compressed images inside the program's binary.</p>
|
131
131
|
</div>
|
132
132
|
<div class="refsect1">
|
133
133
|
<a name="gdk-pixbuf-Inline-data.functions_details"></a><h2>Functions</h2>
|
134
134
|
<div class="refsect2">
|
135
135
|
<a name="gdk-pixdata-from-pixbuf"></a><h3>gdk_pixdata_from_pixbuf ()</h3>
|
136
|
-
<pre class="programlisting"><a href="
|
136
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
137
137
|
gdk_pixdata_from_pixbuf (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> *pixdata</code></em>,
|
138
138
|
<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
139
|
-
<em class="parameter"><code><a href="
|
139
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_rle</code></em>);</pre>
|
140
140
|
<div class="warning">
|
141
141
|
<p><code class="literal">gdk_pixdata_from_pixbuf</code> has been deprecated since version 2.32 and should not be used in newly-written code.</p>
|
142
|
-
<p>Use <a href="
|
142
|
+
<p>Use <a href="../gio/GResource.html#GResource-struct"><span class="type">GResource</span></a> instead.</p>
|
143
143
|
</div>
|
144
144
|
<p>Converts a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> to a <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a>. If <em class="parameter"><code>use_rle</code></em>
|
145
|
-
is <a href="
|
145
|
+
is <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the
|
146
146
|
pixel data is run-length encoded into newly-allocated memory and a
|
147
147
|
pointer to that memory is returned.</p>
|
148
148
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
@@ -177,9 +177,9 @@ with.</p></td>
|
|
177
177
|
<div class="refsect3">
|
178
178
|
<a name="gdk-pixdata-from-pixbuf.returns"></a><h4>Returns</h4>
|
179
179
|
<p> If <em class="parameter"><code>use_rle</code></em>
|
180
|
-
is <a href="
|
180
|
+
is <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, a pointer to the
|
181
181
|
newly-allocated memory for the run-length encoded pixel data,
|
182
|
-
otherwise <a href="
|
182
|
+
otherwise <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
183
183
|
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
184
184
|
</div>
|
185
185
|
</div>
|
@@ -188,14 +188,14 @@ otherwise <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-
|
|
188
188
|
<a name="gdk-pixbuf-from-pixdata"></a><h3>gdk_pixbuf_from_pixdata ()</h3>
|
189
189
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
|
190
190
|
gdk_pixbuf_from_pixdata (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> *pixdata</code></em>,
|
191
|
-
<em class="parameter"><code><a href="
|
192
|
-
<em class="parameter"><code><a href="
|
191
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> copy_pixels</code></em>,
|
192
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
193
193
|
<div class="warning">
|
194
194
|
<p><code class="literal">gdk_pixbuf_from_pixdata</code> has been deprecated since version 2.32 and should not be used in newly-written code.</p>
|
195
|
-
<p>Use <a href="
|
195
|
+
<p>Use <a href="../gio/GResource.html#GResource-struct"><span class="type">GResource</span></a> instead.</p>
|
196
196
|
</div>
|
197
197
|
<p>Converts a <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> to a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>. If <em class="parameter"><code>copy_pixels</code></em>
|
198
|
-
is <a href="
|
198
|
+
is <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> or
|
199
199
|
if the pixel data is run-length-encoded, the pixel data is copied into
|
200
200
|
newly-allocated memory; otherwise it is reused.</p>
|
201
201
|
<div class="refsect3">
|
@@ -235,12 +235,12 @@ pixel data is always copied.</p></td>
|
|
235
235
|
<hr>
|
236
236
|
<div class="refsect2">
|
237
237
|
<a name="gdk-pixdata-serialize"></a><h3>gdk_pixdata_serialize ()</h3>
|
238
|
-
<pre class="programlisting"><a href="
|
238
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint8"><span class="returnvalue">guint8</span></a> *
|
239
239
|
gdk_pixdata_serialize (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> *pixdata</code></em>,
|
240
|
-
<em class="parameter"><code><a href="
|
240
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *stream_length_p</code></em>);</pre>
|
241
241
|
<div class="warning">
|
242
242
|
<p><code class="literal">gdk_pixdata_serialize</code> has been deprecated since version 2.32 and should not be used in newly-written code.</p>
|
243
|
-
<p>Use <a href="
|
243
|
+
<p>Use <a href="../gio/GResource.html#GResource-struct"><span class="type">GResource</span></a> instead.</p>
|
244
244
|
</div>
|
245
245
|
<p>Serializes a <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> structure into a byte stream.
|
246
246
|
The byte stream consists of a straightforward writeout of the
|
@@ -280,14 +280,14 @@ structure. </p>
|
|
280
280
|
<hr>
|
281
281
|
<div class="refsect2">
|
282
282
|
<a name="gdk-pixdata-deserialize"></a><h3>gdk_pixdata_deserialize ()</h3>
|
283
|
-
<pre class="programlisting"><a href="
|
283
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
284
284
|
gdk_pixdata_deserialize (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> *pixdata</code></em>,
|
285
|
-
<em class="parameter"><code><a href="
|
286
|
-
<em class="parameter"><code>const <a href="
|
287
|
-
<em class="parameter"><code><a href="
|
285
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> stream_length</code></em>,
|
286
|
+
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *stream</code></em>,
|
287
|
+
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
288
288
|
<div class="warning">
|
289
289
|
<p><code class="literal">gdk_pixdata_deserialize</code> has been deprecated since version 2.32 and should not be used in newly-written code.</p>
|
290
|
-
<p>Use <a href="
|
290
|
+
<p>Use <a href="../gio/GResource.html#GResource-struct"><span class="type">GResource</span></a> instead.</p>
|
291
291
|
</div>
|
292
292
|
<p>Deserializes (reconstruct) a <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> structure from a byte stream.
|
293
293
|
The byte stream consists of a straightforward writeout of the
|
@@ -325,7 +325,7 @@ serialized <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="
|
|
325
325
|
</tr>
|
326
326
|
<tr>
|
327
327
|
<td class="parameter_name"><p>error</p></td>
|
328
|
-
<td class="parameter_description"><p><a href="
|
328
|
+
<td class="parameter_description"><p><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> location to indicate failures (maybe <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore errors).</p></td>
|
329
329
|
<td class="parameter_annotations"> </td>
|
330
330
|
</tr>
|
331
331
|
</tbody>
|
@@ -333,20 +333,20 @@ serialized <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="
|
|
333
333
|
</div>
|
334
334
|
<div class="refsect3">
|
335
335
|
<a name="gdk-pixdata-deserialize.returns"></a><h4>Returns</h4>
|
336
|
-
<p> Upon successful deserialization <a href="
|
337
|
-
<a href="
|
336
|
+
<p> Upon successful deserialization <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> is returned,
|
337
|
+
<a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
338
338
|
</div>
|
339
339
|
</div>
|
340
340
|
<hr>
|
341
341
|
<div class="refsect2">
|
342
342
|
<a name="gdk-pixdata-to-csource"></a><h3>gdk_pixdata_to_csource ()</h3>
|
343
|
-
<pre class="programlisting"><a href="
|
343
|
+
<pre class="programlisting"><a href="../glib/glib-Strings.html#GString"><span class="returnvalue">GString</span></a> *
|
344
344
|
gdk_pixdata_to_csource (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> *pixdata</code></em>,
|
345
|
-
<em class="parameter"><code>const <a href="
|
345
|
+
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
|
346
346
|
<em class="parameter"><code><a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdataDumpType" title="enum GdkPixdataDumpType"><span class="type">GdkPixdataDumpType</span></a> dump_type</code></em>);</pre>
|
347
347
|
<div class="warning">
|
348
348
|
<p><code class="literal">gdk_pixdata_to_csource</code> has been deprecated since version 2.32 and should not be used in newly-written code.</p>
|
349
|
-
<p>Use <a href="
|
349
|
+
<p>Use <a href="../gio/GResource.html#GResource-struct"><span class="type">GResource</span></a> instead.</p>
|
350
350
|
</div>
|
351
351
|
<p>Generates C source code suitable for compiling images directly
|
352
352
|
into programs. </p>
|
@@ -418,41 +418,41 @@ serialization and streaming.</p>
|
|
418
418
|
</colgroup>
|
419
419
|
<tbody>
|
420
420
|
<tr>
|
421
|
-
<td class="struct_member_name"><p><a href="
|
421
|
+
<td class="struct_member_name"><p><a href="../glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkPixdata.magic"></a>magic</code></em>;</p></td>
|
422
422
|
<td class="struct_member_description"><p>magic number. A valid <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> structure must have
|
423
423
|
<a class="link" href="gdk-pixbuf-Inline-data.html#GDK-PIXBUF-MAGIC-NUMBER:CAPS" title="GDK_PIXBUF_MAGIC_NUMBER"><span class="type">GDK_PIXBUF_MAGIC_NUMBER</span></a> here.</p></td>
|
424
424
|
<td class="struct_member_annotations"> </td>
|
425
425
|
</tr>
|
426
426
|
<tr>
|
427
|
-
<td class="struct_member_name"><p><a href="
|
427
|
+
<td class="struct_member_name"><p><a href="../glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> <em class="structfield"><code><a name="GdkPixdata.length"></a>length</code></em>;</p></td>
|
428
428
|
<td class="struct_member_description"><p>less than 1 to disable length checks, otherwise
|
429
429
|
<a class="link" href="gdk-pixbuf-Inline-data.html#GDK-PIXDATA-HEADER-LENGTH:CAPS" title="GDK_PIXDATA_HEADER_LENGTH"><span class="type">GDK_PIXDATA_HEADER_LENGTH</span></a> + length of <em class="parameter"><code>pixel_data</code></em>
|
430
430
|
. </p></td>
|
431
431
|
<td class="struct_member_annotations"> </td>
|
432
432
|
</tr>
|
433
433
|
<tr>
|
434
|
-
<td class="struct_member_name"><p><a href="
|
434
|
+
<td class="struct_member_name"><p><a href="../glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkPixdata.pixdata-type"></a>pixdata_type</code></em>;</p></td>
|
435
435
|
<td class="struct_member_description"><p>information about colorspace, sample width and
|
436
436
|
encoding, in a <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdataType" title="enum GdkPixdataType"><span class="type">GdkPixdataType</span></a>. </p></td>
|
437
437
|
<td class="struct_member_annotations"> </td>
|
438
438
|
</tr>
|
439
439
|
<tr>
|
440
|
-
<td class="struct_member_name"><p><a href="
|
440
|
+
<td class="struct_member_name"><p><a href="../glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkPixdata.rowstride"></a>rowstride</code></em>;</p></td>
|
441
441
|
<td class="struct_member_description"><p>Distance in bytes between rows.</p></td>
|
442
442
|
<td class="struct_member_annotations"> </td>
|
443
443
|
</tr>
|
444
444
|
<tr>
|
445
|
-
<td class="struct_member_name"><p><a href="
|
445
|
+
<td class="struct_member_name"><p><a href="../glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkPixdata.width"></a>width</code></em>;</p></td>
|
446
446
|
<td class="struct_member_description"><p>Width of the image in pixels.</p></td>
|
447
447
|
<td class="struct_member_annotations"> </td>
|
448
448
|
</tr>
|
449
449
|
<tr>
|
450
|
-
<td class="struct_member_name"><p><a href="
|
450
|
+
<td class="struct_member_name"><p><a href="../glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkPixdata.height"></a>height</code></em>;</p></td>
|
451
451
|
<td class="struct_member_description"><p>Height of the image in pixels.</p></td>
|
452
452
|
<td class="struct_member_annotations"> </td>
|
453
453
|
</tr>
|
454
454
|
<tr>
|
455
|
-
<td class="struct_member_name"><p><a href="
|
455
|
+
<td class="struct_member_name"><p><a href="../glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *<em class="structfield"><code><a name="GdkPixdata.pixel-data"></a>pixel_data</code></em>;</p></td>
|
456
456
|
<td class="struct_member_description"><p> <em class="parameter"><code>width</code></em>
|
457
457
|
x <em class="parameter"><code>height</code></em>
|
458
458
|
pixels, encoded according to <em class="parameter"><code>pixdata_type</code></em>
|
@@ -41,7 +41,7 @@
|
|
41
41
|
<tbody>
|
42
42
|
<tr>
|
43
43
|
<td class="function_type">
|
44
|
-
<a href="
|
44
|
+
<a href="../glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
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
|
-
<a href="
|
68
|
+
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
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
|
-
<a href="
|
76
|
+
<a href="../glib/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-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
|
-
<a href="
|
84
|
+
<a href="../glib/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-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
|
-
<a href="
|
92
|
+
<a href="../glib/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-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
|
-
<a href="
|
100
|
+
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</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-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
|
-
<a href="
|
108
|
+
<a href="../glib/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="../glib/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="../glib/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="../glib/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>
|
@@ -267,7 +267,7 @@ 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"><a href="
|
270
|
+
<pre class="programlisting"><a href="../glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
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>
|
@@ -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"><a href="
|
340
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
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"><a href="
|
367
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
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"><a href="
|
394
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
|
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> a <a href="
|
415
|
-
<a href="
|
414
|
+
<p> a <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of mime types which must be freed with
|
415
|
+
<a href="../glib/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a> 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"><a href="
|
423
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
|
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> a <a href="
|
445
|
-
freed with <a href="
|
444
|
+
<p> a <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of filename extensions which must be
|
445
|
+
freed with <a href="../glib/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a> 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="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk
|
|
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"><a href="
|
453
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
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 <a href="
|
457
|
-
<p>Returns <a href="
|
456
|
+
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *option_key</code></em>);</pre>
|
457
|
+
<p>Returns <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> 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> <a href="
|
486
|
+
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> 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"><a href="
|
493
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
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"><a href="
|
520
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
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"><a href="
|
550
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
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><a href="
|
580
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> 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><a href="
|
601
|
+
<td class="parameter_description"><p><a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> 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"><a href="
|
613
|
+
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
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 <a href="
|
618
|
+
string should be freed with <a href="../glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> 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="/home/vagrant/ruby-gnome2.win32/glib2/vendo
|
|
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><a href="
|
694
|
-
<em class="parameter"><code><a href="
|
695
|
-
<em class="parameter"><code><a href="
|
693
|
+
<span class="c_punctuation">(</span>*GdkPixbufModuleSizeFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *width</code></em>,
|
694
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *height</code></em>,
|
695
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> 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><a href="
|
746
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> 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 <a href="
|
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 <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</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><a href="
|
791
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> 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><a href="
|
872
|
+
<td class="struct_member_name"><p><a href="../glib/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>
|
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><a href="
|
882
|
+
<td class="struct_member_name"><p><a href="../glib/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>
|
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><a href="
|
888
|
+
<td class="struct_member_name"><p><a href="../glib/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>
|
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><a href="
|
894
|
-
<td class="struct_member_description"><p>a <a href="
|
893
|
+
<td class="struct_member_name"><p><a href="../glib/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>
|
894
|
+
<td class="struct_member_description"><p>a <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-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><a href="
|
899
|
-
<td class="struct_member_description"><p>a <a href="
|
898
|
+
<td class="struct_member_name"><p><a href="../glib/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>
|
899
|
+
<td class="struct_member_description"><p>a <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-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><a href="
|
904
|
+
<td class="struct_member_name"><p><a href="../glib/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>
|
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><a href="
|
909
|
+
<td class="struct_member_name"><p><a href="../glib/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>
|
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><a href="
|
914
|
+
<td class="struct_member_name"><p><a href="../glib/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>
|
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 <a href="
|
976
|
+
not <a href="../glib/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
|
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 <a href="
|
988
|
+
is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</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 <a href="
|
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 <a href="../glib/glib-Dynamic-Loading-of-Modules.html#GModule"><span class="type">GModule</span></a>.
|
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><a href="
|
1104
|
-
<td class="struct_member_description"><p>the loaded <a href="
|
1103
|
+
<td class="struct_member_name"><p><a href="../glib/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>
|
1104
|
+
<td class="struct_member_description"><p>the loaded <a href="../glib/glib-Dynamic-Loading-of-Modules.html#GModule"><span class="type">GModule</span></a>.</p></td>
|
1105
1105
|
<td class="struct_member_annotations"> </td>
|
1106
1106
|
</tr>
|
1107
1107
|
<tr>
|