gdk_pixbuf2 3.0.9-x64-mingw32 → 3.1.0-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +4 -2
- data/lib/gdk_pixbuf2/loader.rb +0 -6
- data/lib/gdk_pixbuf2/pixbuf.rb +13 -0
- data/test/run-test.rb +2 -0
- data/test/test-pixbuf.rb +3 -0
- data/vendor/local/bin/gdk-pixbuf-csource.exe +0 -0
- data/vendor/local/bin/gdk-pixbuf-pixdata.exe +0 -0
- data/vendor/local/bin/gdk-pixbuf-query-loaders.exe +0 -0
- data/vendor/local/bin/libgdk_pixbuf-2.0-0.dll +0 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-animation.h +23 -4
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +83 -5
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h +7 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +8 -4
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h +24 -10
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h +11 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h +662 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h +6 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h +7 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h +1 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h +5 -5
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache +71 -71
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll.a +0 -0
- data/vendor/local/lib/girepository-1.0/GdkPixbuf-2.0.typelib +0 -0
- data/vendor/local/lib/libgdk_pixbuf-2.0.dll.a +0 -0
- data/vendor/local/lib/libgdk_pixbuf-2.0.la +2 -2
- data/vendor/local/lib/pkgconfig/gdk-pixbuf-2.0.pc +1 -1
- data/vendor/local/share/gir-1.0/GdkPixbuf-2.0.gir +201 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +78 -78
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/annotation-glossary.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-2.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-26.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-28.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-30.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-32.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-36.html +146 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-4.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-6.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-8.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-deprecated.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-full.html +107 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html +90 -90
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +106 -106
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +257 -99
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +36 -35
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +49 -49
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +128 -73
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +17 -17
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Scaling.html +28 -28
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +164 -75
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Utilities.html +19 -19
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Versioning.html +295 -6
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-X-Drawables-to-Pixbufs.html +8 -8
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Xlib-Rendering.html +8 -8
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-XlibRGB.html +27 -27
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-csource.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-Xlib-initialization.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-from-drawables.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-rendering.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-query-loaders.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf.devhelp2 +28 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.html +5 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/license.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn01.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn02.html +3 -3
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/man/man1/gdk-pixbuf-csource.1 +2 -2
- data/vendor/local/share/man/man1/gdk-pixbuf-query-loaders.1 +2 -2
- metadata +8 -7
- data/vendor/local/lib/gdk_pixbuf-2.0.def +0 -134
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Reference Counting and Memory Mangement: GDK-PixBuf Reference Manual</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
7
|
<link rel="home" href="index.html" title="GDK-PixBuf Reference Manual">
|
8
8
|
<link rel="up" href="rn01.html" title="API Reference">
|
9
9
|
<link rel="prev" href="gdk-pixbuf-The-GdkPixbuf-Structure.html" title="The GdkPixbuf Structure">
|
10
10
|
<link rel="next" href="gdk-pixbuf-File-Loading.html" title="File Loading">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.25
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -33,7 +33,7 @@
|
|
33
33
|
</tr></table></div>
|
34
34
|
<div class="refsect1">
|
35
35
|
<a name="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.functions"></a><h2>Functions</h2>
|
36
|
-
<div class="informaltable"><table width="100%" border="0">
|
36
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
37
37
|
<colgroup>
|
38
38
|
<col width="150px" class="functions_return">
|
39
39
|
<col class="functions_name">
|
@@ -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="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a>.
|
80
80
|
When it no longer needs the pixbuf, it should subtract a reference
|
81
|
-
by calling <a href="
|
81
|
+
by calling <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. The pixbuf will be destroyed when
|
82
82
|
its reference count drops to zero. Newly-created <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>
|
83
83
|
structures start with a reference count of one.</p>
|
84
|
-
<div class="blockquote"><blockquote class="blockquote"><p>As <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> is derived from <a href="
|
85
|
-
<a class="link" href="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html#gdk-pixbuf-unref" title="gdk_pixbuf_unref ()"><code class="function">gdk_pixbuf_unref()</code></a> are deprecated in favour of <a href="
|
86
|
-
and <a href="
|
84
|
+
<div class="blockquote"><blockquote class="blockquote"><p>As <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> is derived from <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> now, <a class="link" href="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html#gdk-pixbuf-ref" title="gdk_pixbuf_ref ()"><code class="function">gdk_pixbuf_ref()</code></a> and
|
85
|
+
<a class="link" href="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html#gdk-pixbuf-unref" title="gdk_pixbuf_unref ()"><code class="function">gdk_pixbuf_unref()</code></a> are deprecated in favour of <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a>
|
86
|
+
and <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> resp.</p></blockquote></div>
|
87
87
|
<p>Finalizing a pixbuf means to free its pixel data and to free the
|
88
88
|
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> structure itself. Most of the library functions that
|
89
89
|
create <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> structures create the pixel data by themselves
|
@@ -91,7 +91,7 @@ and define the way it should be freed; you do not need to worry
|
|
91
91
|
about those.</p>
|
92
92
|
<p>To provide preallocated pixel data, use
|
93
93
|
<a class="link" href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new-from-bytes" title="gdk_pixbuf_new_from_bytes ()"><code class="function">gdk_pixbuf_new_from_bytes()</code></a>. The <a class="link" href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new-from-data" title="gdk_pixbuf_new_from_data ()"><code class="function">gdk_pixbuf_new_from_data()</code></a> API is
|
94
|
-
an older variant that predates the existence of <a href="
|
94
|
+
an older variant that predates the existence of <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a>.</p>
|
95
95
|
</div>
|
96
96
|
<div class="refsect1">
|
97
97
|
<a name="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.functions_details"></a><h2>Functions</h2>
|
@@ -101,13 +101,13 @@ an older variant that predates the existence of <a href="https://developer.gnome
|
|
101
101
|
gdk_pixbuf_ref (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
|
102
102
|
<div class="warning">
|
103
103
|
<p><code class="literal">gdk_pixbuf_ref</code> has been deprecated since version 2.0 and should not be used in newly-written code.</p>
|
104
|
-
<p>Use <a href="
|
104
|
+
<p>Use <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a>.</p>
|
105
105
|
</div>
|
106
106
|
<p>Adds a reference to a pixbuf.</p>
|
107
107
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
108
108
|
<div class="refsect3">
|
109
109
|
<a name="gdk-pixbuf-ref.parameters"></a><h4>Parameters</h4>
|
110
|
-
<div class="informaltable"><table width="100%" border="0">
|
110
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
111
111
|
<colgroup>
|
112
112
|
<col width="150px" class="parameters_name">
|
113
113
|
<col class="parameters_description">
|
@@ -133,13 +133,13 @@ argument.</p>
|
|
133
133
|
gdk_pixbuf_unref (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
|
134
134
|
<div class="warning">
|
135
135
|
<p><code class="literal">gdk_pixbuf_unref</code> has been deprecated since version 2.0 and should not be used in newly-written code.</p>
|
136
|
-
<p>Use <a href="
|
136
|
+
<p>Use <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
|
137
137
|
</div>
|
138
138
|
<p>Removes a reference from a pixbuf.</p>
|
139
139
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
140
140
|
<div class="refsect3">
|
141
141
|
<a name="gdk-pixbuf-unref.parameters"></a><h4>Parameters</h4>
|
142
|
-
<div class="informaltable"><table width="100%" border="0">
|
142
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
143
143
|
<colgroup>
|
144
144
|
<col width="150px" class="parameters_name">
|
145
145
|
<col class="parameters_description">
|
@@ -157,8 +157,8 @@ gdk_pixbuf_unref (<em class="parameter"><code><a class="link" href="gdk-pixbuf-T
|
|
157
157
|
<div class="refsect2">
|
158
158
|
<a name="GdkPixbufDestroyNotify"></a><h3>GdkPixbufDestroyNotify ()</h3>
|
159
159
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
160
|
-
<span class="c_punctuation">(</span>*GdkPixbufDestroyNotify<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="
|
161
|
-
<em class="parameter"><code><a href="
|
160
|
+
<span class="c_punctuation">(</span>*GdkPixbufDestroyNotify<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *pixels</code></em>,
|
161
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
162
162
|
<p>A function of this type is responsible for freeing the pixel array
|
163
163
|
of a pixbuf. The <a class="link" href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new-from-data" title="gdk_pixbuf_new_from_data ()"><code class="function">gdk_pixbuf_new_from_data()</code></a> function lets you
|
164
164
|
pass in a pre-allocated pixel array so that a pixbuf can be
|
@@ -167,7 +167,7 @@ of <a class="link" href="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html
|
|
167
167
|
when the pixbuf is finalized.</p>
|
168
168
|
<div class="refsect3">
|
169
169
|
<a name="GdkPixbufDestroyNotify.parameters"></a><h4>Parameters</h4>
|
170
|
-
<div class="informaltable"><table width="100%" border="0">
|
170
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
171
171
|
<colgroup>
|
172
172
|
<col width="150px" class="parameters_name">
|
173
173
|
<col class="parameters_description">
|
@@ -199,6 +199,6 @@ that is being finalized. </p></td>
|
|
199
199
|
</div>
|
200
200
|
</div>
|
201
201
|
<div class="footer">
|
202
|
-
<hr>Generated by GTK-Doc V1.25
|
202
|
+
<hr>Generated by GTK-Doc V1.25</div>
|
203
203
|
</body>
|
204
204
|
</html>
|
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Scaling: GDK-PixBuf Reference Manual</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
7
|
<link rel="home" href="index.html" title="GDK-PixBuf Reference Manual">
|
8
8
|
<link rel="up" href="rn01.html" title="API Reference">
|
9
9
|
<link rel="prev" href="gdk-pixbuf-Inline-data.html" title="Inline data">
|
10
10
|
<link rel="next" href="gdk-pixbuf-gdk-pixbuf-rendering.html" title="Rendering">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.25
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -33,7 +33,7 @@
|
|
33
33
|
</tr></table></div>
|
34
34
|
<div class="refsect1">
|
35
35
|
<a name="gdk-pixbuf-Scaling.functions"></a><h2>Functions</h2>
|
36
|
-
<div class="informaltable"><table width="100%" border="0">
|
36
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
37
37
|
<colgroup>
|
38
38
|
<col width="150px" class="functions_return">
|
39
39
|
<col class="functions_name">
|
@@ -100,7 +100,7 @@
|
|
100
100
|
</div>
|
101
101
|
<div class="refsect1">
|
102
102
|
<a name="gdk-pixbuf-Scaling.other"></a><h2>Types and Values</h2>
|
103
|
-
<div class="informaltable"><table width="100%" border="0">
|
103
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
104
104
|
<colgroup>
|
105
105
|
<col width="150px" class="name">
|
106
106
|
<col class="description">
|
@@ -182,12 +182,12 @@ as calling <a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-scale" title
|
|
182
182
|
22
|
183
183
|
23
|
184
184
|
24</pre></td>
|
185
|
-
<td class="listing_code"><pre class="programlisting"><span class="normal"><a href="
|
185
|
+
<td class="listing_code"><pre class="programlisting"><span class="normal"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a></span>
|
186
186
|
<span class="function">expose_cb</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">widget</span><span class="symbol">,</span><span class="normal"> </span><span class="usertype">GdkEventExpose</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">event</span><span class="symbol">,</span><span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
|
187
187
|
<span class="cbracket">{</span>
|
188
188
|
<span class="normal"> </span><span class="usertype">GdkPixbuf</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">dest</span><span class="symbol">;</span>
|
189
189
|
|
190
|
-
<span class="normal"> dest </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new">gdk_pixbuf_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-COLORSPACE-RGB:CAPS">GDK_COLORSPACE_RGB</a></span><span class="symbol">,</span><span class="normal"> <a href="
|
190
|
+
<span class="normal"> dest </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new">gdk_pixbuf_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-COLORSPACE-RGB:CAPS">GDK_COLORSPACE_RGB</a></span><span class="symbol">,</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">8</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-></span><span class="normal">area</span><span class="symbol">.</span><span class="normal">width</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-></span><span class="normal">area</span><span class="symbol">.</span><span class="normal">height</span><span class="symbol">);</span>
|
191
191
|
|
192
192
|
<span class="normal"> </span><span class="function"><a href="gdk-pixbuf-Scaling.html#gdk-pixbuf-composite-color">gdk_pixbuf_composite_color</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">,</span><span class="normal"> dest</span><span class="symbol">,</span>
|
193
193
|
<span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-></span><span class="normal">area</span><span class="symbol">.</span><span class="normal">width</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-></span><span class="normal">area</span><span class="symbol">.</span><span class="normal">height</span><span class="symbol">,</span>
|
@@ -197,14 +197,14 @@ as calling <a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-scale" title
|
|
197
197
|
<span class="normal"> <a href="gdk-pixbuf-Scaling.html#GDK-INTERP-BILINEAR:CAPS">GDK_INTERP_BILINEAR</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">255</span><span class="symbol">,</span>
|
198
198
|
<span class="normal"> event</span><span class="symbol">-></span><span class="normal">area</span><span class="symbol">.</span><span class="normal">x</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-></span><span class="normal">area</span><span class="symbol">.</span><span class="normal">y</span><span class="symbol">,</span><span class="normal"> </span><span class="number">16</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0xaaaaaa</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0x555555</span><span class="symbol">);</span>
|
199
199
|
|
200
|
-
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk2/gdk2-Drawing-Primitives.html#gdk-draw-pixbuf">gdk_draw_pixbuf</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">-></span><span class="normal">window</span><span class="symbol">,</span><span class="normal"> widget</span><span class="symbol">-></span><span class="normal">style</span><span class="symbol">-></span><span class="normal">fg_gc</span><span class="symbol">[</span><span class="normal"><a href="
|
200
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk2/gdk2-Drawing-Primitives.html#gdk-draw-pixbuf">gdk_draw_pixbuf</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">-></span><span class="normal">window</span><span class="symbol">,</span><span class="normal"> widget</span><span class="symbol">-></span><span class="normal">style</span><span class="symbol">-></span><span class="normal">fg_gc</span><span class="symbol">[</span><span class="normal"><a href="../gtk3/GtkWidget.html#GTK-STATE-NORMAL:CAPS">GTK_STATE_NORMAL</a></span><span class="symbol">],</span><span class="normal"> dest</span><span class="symbol">,</span>
|
201
201
|
<span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-></span><span class="normal">area</span><span class="symbol">.</span><span class="normal">x</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-></span><span class="normal">area</span><span class="symbol">.</span><span class="normal">y</span><span class="symbol">,</span>
|
202
202
|
<span class="normal"> event</span><span class="symbol">-></span><span class="normal">area</span><span class="symbol">.</span><span class="normal">width</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-></span><span class="normal">area</span><span class="symbol">.</span><span class="normal">height</span><span class="symbol">,</span>
|
203
203
|
<span class="normal"> <a href="http://library.gnome.org/devel/gdk2/gdk2-GdkRGB.html#GDK-RGB-DITHER-NORMAL:CAPS">GDK_RGB_DITHER_NORMAL</a></span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-></span><span class="normal">area</span><span class="symbol">.</span><span class="normal">x</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-></span><span class="normal">area</span><span class="symbol">.</span><span class="normal">y</span><span class="symbol">);</span>
|
204
204
|
<span class="normal"> </span>
|
205
205
|
<span class="normal"> </span><span class="function"><a href="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html#gdk-pixbuf-unref">gdk_pixbuf_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">dest</span><span class="symbol">);</span>
|
206
206
|
<span class="normal"> </span>
|
207
|
-
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="
|
207
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">;</span>
|
208
208
|
<span class="cbracket">}</span></pre></td>
|
209
209
|
</tr>
|
210
210
|
</tbody>
|
@@ -243,7 +243,7 @@ pointing into <em class="parameter"><code>src</code></em>
|
|
243
243
|
and <a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-composite" title="gdk_pixbuf_composite ()"><code class="function">gdk_pixbuf_composite()</code></a>.</p>
|
244
244
|
<div class="refsect3">
|
245
245
|
<a name="gdk-pixbuf-scale-simple.parameters"></a><h4>Parameters</h4>
|
246
|
-
<div class="informaltable"><table width="100%" border="0">
|
246
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
247
247
|
<colgroup>
|
248
248
|
<col width="150px" class="parameters_name">
|
249
249
|
<col class="parameters_description">
|
@@ -275,7 +275,7 @@ and <a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-composite" title="g
|
|
275
275
|
</div>
|
276
276
|
<div class="refsect3">
|
277
277
|
<a name="gdk-pixbuf-scale-simple.returns"></a><h4>Returns</h4>
|
278
|
-
<p> the new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="
|
278
|
+
<p> the new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not enough memory could be
|
279
279
|
allocated for it. </p>
|
280
280
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
281
281
|
</div>
|
@@ -317,7 +317,7 @@ same pixbuf, it will be overwritten during the scaling which
|
|
317
317
|
results in rendering artifacts.</p>
|
318
318
|
<div class="refsect3">
|
319
319
|
<a name="gdk-pixbuf-scale.parameters"></a><h4>Parameters</h4>
|
320
|
-
<div class="informaltable"><table width="100%" border="0">
|
320
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
321
321
|
<colgroup>
|
322
322
|
<col width="150px" class="parameters_name">
|
323
323
|
<col class="parameters_description">
|
@@ -393,8 +393,8 @@ gdk_pixbuf_composite_color_simple (<em class="parameter"><code>const <a class="l
|
|
393
393
|
<em class="parameter"><code><a class="link" href="gdk-pixbuf-Scaling.html#GdkInterpType" title="enum GdkInterpType"><span class="type">GdkInterpType</span></a> interp_type</code></em>,
|
394
394
|
<em class="parameter"><code><span class="type">int</span> overall_alpha</code></em>,
|
395
395
|
<em class="parameter"><code><span class="type">int</span> check_size</code></em>,
|
396
|
-
<em class="parameter"><code><a href="
|
397
|
-
<em class="parameter"><code><a href="
|
396
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> color1</code></em>,
|
397
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> color2</code></em>);</pre>
|
398
398
|
<p>Creates a new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> by scaling <em class="parameter"><code>src</code></em>
|
399
399
|
to <em class="parameter"><code>dest_width</code></em>
|
400
400
|
x
|
@@ -405,7 +405,7 @@ gdk_pixbuf_composite_color_simple (<em class="parameter"><code>const <a class="l
|
|
405
405
|
.</p>
|
406
406
|
<div class="refsect3">
|
407
407
|
<a name="gdk-pixbuf-composite-color-simple.parameters"></a><h4>Parameters</h4>
|
408
|
-
<div class="informaltable"><table width="100%" border="0">
|
408
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
409
409
|
<colgroup>
|
410
410
|
<col width="150px" class="parameters_name">
|
411
411
|
<col class="parameters_description">
|
@@ -457,7 +457,7 @@ gdk_pixbuf_composite_color_simple (<em class="parameter"><code>const <a class="l
|
|
457
457
|
</div>
|
458
458
|
<div class="refsect3">
|
459
459
|
<a name="gdk-pixbuf-composite-color-simple.returns"></a><h4>Returns</h4>
|
460
|
-
<p> the new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="
|
460
|
+
<p> the new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not enough memory could be
|
461
461
|
allocated for it. </p>
|
462
462
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
463
463
|
</div>
|
@@ -499,7 +499,7 @@ to infinity. </p>
|
|
499
499
|
<p><span class="inlinemediaobject"><img src="composite.png"></span></p>
|
500
500
|
<div class="refsect3">
|
501
501
|
<a name="gdk-pixbuf-composite.parameters"></a><h4>Parameters</h4>
|
502
|
-
<div class="informaltable"><table width="100%" border="0">
|
502
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
503
503
|
<colgroup>
|
504
504
|
<col width="150px" class="parameters_name">
|
505
505
|
<col class="parameters_description">
|
@@ -589,8 +589,8 @@ gdk_pixbuf_composite_color (<em class="parameter"><code>const <a class="link" hr
|
|
589
589
|
<em class="parameter"><code><span class="type">int</span> check_x</code></em>,
|
590
590
|
<em class="parameter"><code><span class="type">int</span> check_y</code></em>,
|
591
591
|
<em class="parameter"><code><span class="type">int</span> check_size</code></em>,
|
592
|
-
<em class="parameter"><code><a href="
|
593
|
-
<em class="parameter"><code><a href="
|
592
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> color1</code></em>,
|
593
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> color2</code></em>);</pre>
|
594
594
|
<p>Creates a transformation of the source image <em class="parameter"><code>src</code></em>
|
595
595
|
by scaling by
|
596
596
|
<em class="parameter"><code>scale_x</code></em>
|
@@ -612,7 +612,7 @@ image.</p>
|
|
612
612
|
function suitable for many tasks.</p>
|
613
613
|
<div class="refsect3">
|
614
614
|
<a name="gdk-pixbuf-composite-color.parameters"></a><h4>Parameters</h4>
|
615
|
-
<div class="informaltable"><table width="100%" border="0">
|
615
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
616
616
|
<colgroup>
|
617
617
|
<col width="150px" class="parameters_name">
|
618
618
|
<col class="parameters_description">
|
@@ -720,7 +720,7 @@ gdk_pixbuf_rotate_simple (<em class="parameter"><code>const <a class="link" href
|
|
720
720
|
result in a new pixbuf.</p>
|
721
721
|
<div class="refsect3">
|
722
722
|
<a name="gdk-pixbuf-rotate-simple.parameters"></a><h4>Parameters</h4>
|
723
|
-
<div class="informaltable"><table width="100%" border="0">
|
723
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
724
724
|
<colgroup>
|
725
725
|
<col width="150px" class="parameters_name">
|
726
726
|
<col class="parameters_description">
|
@@ -742,7 +742,7 @@ result in a new pixbuf.</p>
|
|
742
742
|
</div>
|
743
743
|
<div class="refsect3">
|
744
744
|
<a name="gdk-pixbuf-rotate-simple.returns"></a><h4>Returns</h4>
|
745
|
-
<p> the new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="
|
745
|
+
<p> the new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
746
746
|
if not enough memory could be allocated for it. </p>
|
747
747
|
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
748
748
|
</div>
|
@@ -753,12 +753,12 @@ if not enough memory could be allocated for it. </p>
|
|
753
753
|
<a name="gdk-pixbuf-flip"></a><h3>gdk_pixbuf_flip ()</h3>
|
754
754
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
|
755
755
|
gdk_pixbuf_flip (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src</code></em>,
|
756
|
-
<em class="parameter"><code><a href="
|
756
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> horizontal</code></em>);</pre>
|
757
757
|
<p>Flips a pixbuf horizontally or vertically and returns the
|
758
758
|
result in a new pixbuf.</p>
|
759
759
|
<div class="refsect3">
|
760
760
|
<a name="gdk-pixbuf-flip.parameters"></a><h4>Parameters</h4>
|
761
|
-
<div class="informaltable"><table width="100%" border="0">
|
761
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
762
762
|
<colgroup>
|
763
763
|
<col width="150px" class="parameters_name">
|
764
764
|
<col class="parameters_description">
|
@@ -772,7 +772,7 @@ result in a new pixbuf.</p>
|
|
772
772
|
</tr>
|
773
773
|
<tr>
|
774
774
|
<td class="parameter_name"><p>horizontal</p></td>
|
775
|
-
<td class="parameter_description"><p><a href="
|
775
|
+
<td class="parameter_description"><p><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to flip horizontally, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to flip vertically</p></td>
|
776
776
|
<td class="parameter_annotations"> </td>
|
777
777
|
</tr>
|
778
778
|
</tbody>
|
@@ -780,7 +780,7 @@ result in a new pixbuf.</p>
|
|
780
780
|
</div>
|
781
781
|
<div class="refsect3">
|
782
782
|
<a name="gdk-pixbuf-flip.returns"></a><h4>Returns</h4>
|
783
|
-
<p> the new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="
|
783
|
+
<p> the new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
784
784
|
if not enough memory could be allocated for it. </p>
|
785
785
|
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
786
786
|
</div>
|
@@ -804,7 +804,7 @@ if not enough memory could be allocated for it. </p>
|
|
804
804
|
</note></p>
|
805
805
|
<div class="refsect3">
|
806
806
|
<a name="GdkInterpType.members"></a><h4>Members</h4>
|
807
|
-
<div class="informaltable"><table width="100%" border="0">
|
807
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
808
808
|
<colgroup>
|
809
809
|
<col width="300px" class="enum_members_name">
|
810
810
|
<col class="enum_members_description">
|
@@ -864,7 +864,7 @@ if not enough memory could be allocated for it. </p>
|
|
864
864
|
To make them easier to use, their numerical values are the actual degrees.</p>
|
865
865
|
<div class="refsect3">
|
866
866
|
<a name="GdkPixbufRotation.members"></a><h4>Members</h4>
|
867
|
-
<div class="informaltable"><table width="100%" border="0">
|
867
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
868
868
|
<colgroup>
|
869
869
|
<col width="300px" class="enum_members_name">
|
870
870
|
<col class="enum_members_description">
|
@@ -910,6 +910,6 @@ To make them easier to use, their numerical values are the actual degrees.</p>
|
|
910
910
|
</div>
|
911
911
|
</div>
|
912
912
|
<div class="footer">
|
913
|
-
<hr>Generated by GTK-Doc V1.25
|
913
|
+
<hr>Generated by GTK-Doc V1.25</div>
|
914
914
|
</body>
|
915
915
|
</html>
|
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>The GdkPixbuf Structure: GDK-PixBuf Reference Manual</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
7
|
<link rel="home" href="index.html" title="GDK-PixBuf Reference Manual">
|
8
8
|
<link rel="up" href="rn01.html" title="API Reference">
|
9
9
|
<link rel="prev" href="gdk-pixbuf-Versioning.html" title="Initialization and Versions">
|
10
10
|
<link rel="next" href="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html" title="Reference Counting and Memory Mangement">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.25
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -36,7 +36,7 @@
|
|
36
36
|
</tr></table></div>
|
37
37
|
<div class="refsect1">
|
38
38
|
<a name="gdk-pixbuf-The-GdkPixbuf-Structure.functions"></a><h2>Functions</h2>
|
39
|
-
<div class="informaltable"><table width="100%" border="0">
|
39
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
40
40
|
<colgroup>
|
41
41
|
<col width="150px" class="functions_return">
|
42
42
|
<col class="functions_name">
|
@@ -60,7 +60,7 @@
|
|
60
60
|
</tr>
|
61
61
|
<tr>
|
62
62
|
<td class="function_type">
|
63
|
-
<a href="
|
63
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
64
64
|
</td>
|
65
65
|
<td class="function_name">
|
66
66
|
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-has-alpha" title="gdk_pixbuf_get_has_alpha ()">gdk_pixbuf_get_has_alpha</a> <span class="c_punctuation">()</span>
|
@@ -76,7 +76,7 @@
|
|
76
76
|
</tr>
|
77
77
|
<tr>
|
78
78
|
<td class="function_type">
|
79
|
-
<a href="
|
79
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> *
|
80
80
|
</td>
|
81
81
|
<td class="function_name">
|
82
82
|
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-pixels" title="gdk_pixbuf_get_pixels ()">gdk_pixbuf_get_pixels</a> <span class="c_punctuation">()</span>
|
@@ -84,7 +84,7 @@
|
|
84
84
|
</tr>
|
85
85
|
<tr>
|
86
86
|
<td class="function_type">
|
87
|
-
<a href="
|
87
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> *
|
88
88
|
</td>
|
89
89
|
<td class="function_name">
|
90
90
|
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-pixels-with-length" title="gdk_pixbuf_get_pixels_with_length ()">gdk_pixbuf_get_pixels_with_length</a> <span class="c_punctuation">()</span>
|
@@ -116,14 +116,14 @@
|
|
116
116
|
</tr>
|
117
117
|
<tr>
|
118
118
|
<td class="function_type">
|
119
|
-
<a href="
|
119
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="returnvalue">gsize</span></a>
|
120
120
|
</td>
|
121
121
|
<td class="function_name">
|
122
122
|
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-byte-length" title="gdk_pixbuf_get_byte_length ()">gdk_pixbuf_get_byte_length</a> <span class="c_punctuation">()</span>
|
123
123
|
</td>
|
124
124
|
</tr>
|
125
125
|
<tr>
|
126
|
-
<td class="function_type">const <a href="
|
126
|
+
<td class="function_type">const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
127
127
|
</td>
|
128
128
|
<td class="function_name">
|
129
129
|
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-option" title="gdk_pixbuf_get_option ()">gdk_pixbuf_get_option</a> <span class="c_punctuation">()</span>
|
@@ -131,7 +131,7 @@
|
|
131
131
|
</tr>
|
132
132
|
<tr>
|
133
133
|
<td class="function_type">
|
134
|
-
<a href="
|
134
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
135
135
|
</td>
|
136
136
|
<td class="function_name">
|
137
137
|
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-set-option" title="gdk_pixbuf_set_option ()">gdk_pixbuf_set_option</a> <span class="c_punctuation">()</span>
|
@@ -139,14 +139,30 @@
|
|
139
139
|
</tr>
|
140
140
|
<tr>
|
141
141
|
<td class="function_type">
|
142
|
-
<a href="
|
142
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
143
|
+
</td>
|
144
|
+
<td class="function_name">
|
145
|
+
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-remove-option" title="gdk_pixbuf_remove_option ()">gdk_pixbuf_remove_option</a> <span class="c_punctuation">()</span>
|
146
|
+
</td>
|
147
|
+
</tr>
|
148
|
+
<tr>
|
149
|
+
<td class="function_type">
|
150
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html#GHashTable"><span class="returnvalue">GHashTable</span></a> *
|
143
151
|
</td>
|
144
152
|
<td class="function_name">
|
145
153
|
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-options" title="gdk_pixbuf_get_options ()">gdk_pixbuf_get_options</a> <span class="c_punctuation">()</span>
|
146
154
|
</td>
|
147
155
|
</tr>
|
148
156
|
<tr>
|
149
|
-
<td class="function_type">
|
157
|
+
<td class="function_type">
|
158
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
159
|
+
</td>
|
160
|
+
<td class="function_name">
|
161
|
+
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-copy-options" title="gdk_pixbuf_copy_options ()">gdk_pixbuf_copy_options</a> <span class="c_punctuation">()</span>
|
162
|
+
</td>
|
163
|
+
</tr>
|
164
|
+
<tr>
|
165
|
+
<td class="function_type">const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="returnvalue">guint8</span></a> *
|
150
166
|
</td>
|
151
167
|
<td class="function_name">
|
152
168
|
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-read-pixels" title="gdk_pixbuf_read_pixels ()">gdk_pixbuf_read_pixels</a> <span class="c_punctuation">()</span>
|
@@ -157,7 +173,7 @@
|
|
157
173
|
</div>
|
158
174
|
<div class="refsect1">
|
159
175
|
<a name="gdk-pixbuf-The-GdkPixbuf-Structure.properties"></a><h2>Properties</h2>
|
160
|
-
<div class="informaltable"><table border="0">
|
176
|
+
<div class="informaltable"><table class="informaltable" border="0">
|
161
177
|
<colgroup>
|
162
178
|
<col width="150px" class="properties_type">
|
163
179
|
<col width="300px" class="properties_name">
|
@@ -165,7 +181,7 @@
|
|
165
181
|
</colgroup>
|
166
182
|
<tbody>
|
167
183
|
<tr>
|
168
|
-
<td class="property_type"><a href="
|
184
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
169
185
|
<td class="property_name"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf--bits-per-sample" title="The “bits-per-sample” property">bits-per-sample</a></td>
|
170
186
|
<td class="property_flags">Read / Write / Construct Only</td>
|
171
187
|
</tr>
|
@@ -175,38 +191,38 @@
|
|
175
191
|
<td class="property_flags">Read / Write / Construct Only</td>
|
176
192
|
</tr>
|
177
193
|
<tr>
|
178
|
-
<td class="property_type"><a href="
|
194
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
179
195
|
<td class="property_name"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf--has-alpha" title="The “has-alpha” property">has-alpha</a></td>
|
180
196
|
<td class="property_flags">Read / Write / Construct Only</td>
|
181
197
|
</tr>
|
182
198
|
<tr>
|
183
|
-
<td class="property_type"><a href="
|
199
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
184
200
|
<td class="property_name"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf--height" title="The “height” property">height</a></td>
|
185
201
|
<td class="property_flags">Read / Write / Construct Only</td>
|
186
202
|
</tr>
|
187
203
|
<tr>
|
188
|
-
<td class="property_type"><a href="
|
204
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
189
205
|
<td class="property_name"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf--n-channels" title="The “n-channels” property">n-channels</a></td>
|
190
206
|
<td class="property_flags">Read / Write / Construct Only</td>
|
191
207
|
</tr>
|
192
208
|
<tr>
|
193
209
|
<td class="property_type">
|
194
|
-
<a href="
|
210
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a> *</td>
|
195
211
|
<td class="property_name"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf--pixel-bytes" title="The “pixel-bytes” property">pixel-bytes</a></td>
|
196
212
|
<td class="property_flags">Read / Write / Construct Only</td>
|
197
213
|
</tr>
|
198
214
|
<tr>
|
199
|
-
<td class="property_type"><a href="
|
215
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a></td>
|
200
216
|
<td class="property_name"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf--pixels" title="The “pixels” property">pixels</a></td>
|
201
217
|
<td class="property_flags">Read / Write / Construct Only</td>
|
202
218
|
</tr>
|
203
219
|
<tr>
|
204
|
-
<td class="property_type"><a href="
|
220
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
205
221
|
<td class="property_name"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf--rowstride" title="The “rowstride” property">rowstride</a></td>
|
206
222
|
<td class="property_flags">Read / Write / Construct Only</td>
|
207
223
|
</tr>
|
208
224
|
<tr>
|
209
|
-
<td class="property_type"><a href="
|
225
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
210
226
|
<td class="property_name"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf--width" title="The “width” property">width</a></td>
|
211
227
|
<td class="property_flags">Read / Write / Construct Only</td>
|
212
228
|
</tr>
|
@@ -215,7 +231,7 @@
|
|
215
231
|
</div>
|
216
232
|
<a name="GdkPixbuf"></a><div class="refsect1">
|
217
233
|
<a name="gdk-pixbuf-The-GdkPixbuf-Structure.other"></a><h2>Types and Values</h2>
|
218
|
-
<div class="informaltable"><table width="100%" border="0">
|
234
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
219
235
|
<colgroup>
|
220
236
|
<col width="150px" class="name">
|
221
237
|
<col class="description">
|
@@ -246,7 +262,7 @@
|
|
246
262
|
</div>
|
247
263
|
<div class="refsect1">
|
248
264
|
<a name="gdk-pixbuf-The-GdkPixbuf-Structure.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
249
|
-
<pre class="screen"> <a href="
|
265
|
+
<pre class="screen"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
250
266
|
<span class="lineart">╰──</span> GdkPixbuf
|
251
267
|
</pre>
|
252
268
|
</div>
|
@@ -254,7 +270,7 @@
|
|
254
270
|
<a name="gdk-pixbuf-The-GdkPixbuf-Structure.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
255
271
|
<p>
|
256
272
|
GdkPixbuf implements
|
257
|
-
<a href="
|
273
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GIcon.html#GIcon-struct">GIcon</a> and <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html#GLoadableIcon-struct">GLoadableIcon</a>.</p>
|
258
274
|
</div>
|
259
275
|
<div class="refsect1">
|
260
276
|
<a name="gdk-pixbuf-The-GdkPixbuf-Structure.includes"></a><h2>Includes</h2>
|
@@ -321,16 +337,16 @@ for each pixel, your own code can take shortcuts.</p>
|
|
321
337
|
|
322
338
|
<span class="normal"> n_channels </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-n-channels">gdk_pixbuf_get_n_channels</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">);</span>
|
323
339
|
|
324
|
-
<span class="normal"> </span><span class="function"><a href="
|
325
|
-
<span class="normal"> </span><span class="function"><a href="
|
326
|
-
<span class="normal"> </span><span class="function"><a href="
|
327
|
-
<span class="normal"> </span><span class="function"><a href="
|
340
|
+
<span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Testing.html#g-assert">g_assert</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-colorspace">gdk_pixbuf_get_colorspace</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">==</span><span class="normal"> <a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-COLORSPACE-RGB:CAPS">GDK_COLORSPACE_RGB</a></span><span class="symbol">);</span>
|
341
|
+
<span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Testing.html#g-assert">g_assert</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-bits-per-sample">gdk_pixbuf_get_bits_per_sample</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">==</span><span class="normal"> </span><span class="number">8</span><span class="symbol">);</span>
|
342
|
+
<span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Testing.html#g-assert">g_assert</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-has-alpha">gdk_pixbuf_get_has_alpha</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">));</span>
|
343
|
+
<span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Testing.html#g-assert">g_assert</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">n_channels </span><span class="symbol">==</span><span class="normal"> </span><span class="number">4</span><span class="symbol">);</span>
|
328
344
|
|
329
345
|
<span class="normal"> width </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-width">gdk_pixbuf_get_width</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">);</span>
|
330
346
|
<span class="normal"> height </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-height">gdk_pixbuf_get_height</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">);</span>
|
331
347
|
|
332
|
-
<span class="normal"> </span><span class="function"><a href="
|
333
|
-
<span class="normal"> </span><span class="function"><a href="
|
348
|
+
<span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Testing.html#g-assert">g_assert</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">x </span><span class="symbol">>=</span><span class="normal"> </span><span class="number">0</span><span class="normal"> </span><span class="symbol">&&</span><span class="normal"> x </span><span class="symbol"><</span><span class="normal"> width</span><span class="symbol">);</span>
|
349
|
+
<span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Testing.html#g-assert">g_assert</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">y </span><span class="symbol">>=</span><span class="normal"> </span><span class="number">0</span><span class="normal"> </span><span class="symbol">&&</span><span class="normal"> y </span><span class="symbol"><</span><span class="normal"> height</span><span class="symbol">);</span>
|
334
350
|
|
335
351
|
<span class="normal"> rowstride </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-rowstride">gdk_pixbuf_get_rowstride</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">);</span>
|
336
352
|
<span class="normal"> pixels </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-pixels">gdk_pixbuf_get_pixels</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">);</span>
|
@@ -367,7 +383,7 @@ gdk_pixbuf_get_colorspace (<em class="parameter"><code>const <a class="link" hre
|
|
367
383
|
<p>Queries the color space of a pixbuf.</p>
|
368
384
|
<div class="refsect3">
|
369
385
|
<a name="gdk-pixbuf-get-colorspace.parameters"></a><h4>Parameters</h4>
|
370
|
-
<div class="informaltable"><table width="100%" border="0">
|
386
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
371
387
|
<colgroup>
|
372
388
|
<col width="150px" class="parameters_name">
|
373
389
|
<col class="parameters_description">
|
@@ -393,7 +409,7 @@ gdk_pixbuf_get_n_channels (<em class="parameter"><code>const <a class="link" hre
|
|
393
409
|
<p>Queries the number of channels of a pixbuf.</p>
|
394
410
|
<div class="refsect3">
|
395
411
|
<a name="gdk-pixbuf-get-n-channels.parameters"></a><h4>Parameters</h4>
|
396
|
-
<div class="informaltable"><table width="100%" border="0">
|
412
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
397
413
|
<colgroup>
|
398
414
|
<col width="150px" class="parameters_name">
|
399
415
|
<col class="parameters_description">
|
@@ -414,12 +430,12 @@ gdk_pixbuf_get_n_channels (<em class="parameter"><code>const <a class="link" hre
|
|
414
430
|
<hr>
|
415
431
|
<div class="refsect2">
|
416
432
|
<a name="gdk-pixbuf-get-has-alpha"></a><h3>gdk_pixbuf_get_has_alpha ()</h3>
|
417
|
-
<pre class="programlisting"><a href="
|
433
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
418
434
|
gdk_pixbuf_get_has_alpha (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
|
419
435
|
<p>Queries whether a pixbuf has an alpha channel (opacity information).</p>
|
420
436
|
<div class="refsect3">
|
421
437
|
<a name="gdk-pixbuf-get-has-alpha.parameters"></a><h4>Parameters</h4>
|
422
|
-
<div class="informaltable"><table width="100%" border="0">
|
438
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
423
439
|
<colgroup>
|
424
440
|
<col width="150px" class="parameters_name">
|
425
441
|
<col class="parameters_description">
|
@@ -434,7 +450,7 @@ gdk_pixbuf_get_has_alpha (<em class="parameter"><code>const <a class="link" href
|
|
434
450
|
</div>
|
435
451
|
<div class="refsect3">
|
436
452
|
<a name="gdk-pixbuf-get-has-alpha.returns"></a><h4>Returns</h4>
|
437
|
-
<p> <a href="
|
453
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if it has an alpha channel, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
438
454
|
</div>
|
439
455
|
</div>
|
440
456
|
<hr>
|
@@ -445,7 +461,7 @@ gdk_pixbuf_get_bits_per_sample (<em class="parameter"><code>const <a class="link
|
|
445
461
|
<p>Queries the number of bits per color sample in a pixbuf.</p>
|
446
462
|
<div class="refsect3">
|
447
463
|
<a name="gdk-pixbuf-get-bits-per-sample.parameters"></a><h4>Parameters</h4>
|
448
|
-
<div class="informaltable"><table width="100%" border="0">
|
464
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
449
465
|
<colgroup>
|
450
466
|
<col width="150px" class="parameters_name">
|
451
467
|
<col class="parameters_description">
|
@@ -466,12 +482,12 @@ gdk_pixbuf_get_bits_per_sample (<em class="parameter"><code>const <a class="link
|
|
466
482
|
<hr>
|
467
483
|
<div class="refsect2">
|
468
484
|
<a name="gdk-pixbuf-get-pixels"></a><h3>gdk_pixbuf_get_pixels ()</h3>
|
469
|
-
<pre class="programlisting"><a href="
|
485
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> *
|
470
486
|
gdk_pixbuf_get_pixels (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
|
471
487
|
<p>Queries a pointer to the pixel data of a pixbuf.</p>
|
472
488
|
<div class="refsect3">
|
473
489
|
<a name="gdk-pixbuf-get-pixels.parameters"></a><h4>Parameters</h4>
|
474
|
-
<div class="informaltable"><table width="100%" border="0">
|
490
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
475
491
|
<colgroup>
|
476
492
|
<col width="150px" class="parameters_name">
|
477
493
|
<col class="parameters_description">
|
@@ -497,14 +513,14 @@ pixbuf was created from read-only data. </p>
|
|
497
513
|
<hr>
|
498
514
|
<div class="refsect2">
|
499
515
|
<a name="gdk-pixbuf-get-pixels-with-length"></a><h3>gdk_pixbuf_get_pixels_with_length ()</h3>
|
500
|
-
<pre class="programlisting"><a href="
|
516
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> *
|
501
517
|
gdk_pixbuf_get_pixels_with_length (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
502
|
-
<em class="parameter"><code><a href="
|
518
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *length</code></em>);</pre>
|
503
519
|
<p>Queries a pointer to the pixel data of a pixbuf.</p>
|
504
520
|
<p><span class="annotation">[<acronym title="Rename the original symbol's name to SYMBOL."><span class="acronym">rename-to</span></acronym> gdk_pixbuf_get_pixels]</span></p>
|
505
521
|
<div class="refsect3">
|
506
522
|
<a name="gdk-pixbuf-get-pixels-with-length.parameters"></a><h4>Parameters</h4>
|
507
|
-
<div class="informaltable"><table width="100%" border="0">
|
523
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
508
524
|
<colgroup>
|
509
525
|
<col width="150px" class="parameters_name">
|
510
526
|
<col class="parameters_description">
|
@@ -543,7 +559,7 @@ gdk_pixbuf_get_width (<em class="parameter"><code>const <a class="link" href="gd
|
|
543
559
|
<p>Queries the width of a pixbuf.</p>
|
544
560
|
<div class="refsect3">
|
545
561
|
<a name="gdk-pixbuf-get-width.parameters"></a><h4>Parameters</h4>
|
546
|
-
<div class="informaltable"><table width="100%" border="0">
|
562
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
547
563
|
<colgroup>
|
548
564
|
<col width="150px" class="parameters_name">
|
549
565
|
<col class="parameters_description">
|
@@ -569,7 +585,7 @@ gdk_pixbuf_get_height (<em class="parameter"><code>const <a class="link" href="g
|
|
569
585
|
<p>Queries the height of a pixbuf.</p>
|
570
586
|
<div class="refsect3">
|
571
587
|
<a name="gdk-pixbuf-get-height.parameters"></a><h4>Parameters</h4>
|
572
|
-
<div class="informaltable"><table width="100%" border="0">
|
588
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
573
589
|
<colgroup>
|
574
590
|
<col width="150px" class="parameters_name">
|
575
591
|
<col class="parameters_description">
|
@@ -596,7 +612,7 @@ gdk_pixbuf_get_rowstride (<em class="parameter"><code>const <a class="link" href
|
|
596
612
|
the start of a row and the start of the next row.</p>
|
597
613
|
<div class="refsect3">
|
598
614
|
<a name="gdk-pixbuf-get-rowstride.parameters"></a><h4>Parameters</h4>
|
599
|
-
<div class="informaltable"><table width="100%" border="0">
|
615
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
600
616
|
<colgroup>
|
601
617
|
<col width="150px" class="parameters_name">
|
602
618
|
<col class="parameters_description">
|
@@ -617,12 +633,12 @@ the start of a row and the start of the next row.</p>
|
|
617
633
|
<hr>
|
618
634
|
<div class="refsect2">
|
619
635
|
<a name="gdk-pixbuf-get-byte-length"></a><h3>gdk_pixbuf_get_byte_length ()</h3>
|
620
|
-
<pre class="programlisting"><a href="
|
636
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="returnvalue">gsize</span></a>
|
621
637
|
gdk_pixbuf_get_byte_length (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
|
622
638
|
<p>Returns the length of the pixel data, in bytes.</p>
|
623
639
|
<div class="refsect3">
|
624
640
|
<a name="gdk-pixbuf-get-byte-length.parameters"></a><h4>Parameters</h4>
|
625
|
-
<div class="informaltable"><table width="100%" border="0">
|
641
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
626
642
|
<colgroup>
|
627
643
|
<col width="150px" class="parameters_name">
|
628
644
|
<col class="parameters_description">
|
@@ -644,9 +660,9 @@ gdk_pixbuf_get_byte_length (<em class="parameter"><code>const <a class="link" hr
|
|
644
660
|
<hr>
|
645
661
|
<div class="refsect2">
|
646
662
|
<a name="gdk-pixbuf-get-option"></a><h3>gdk_pixbuf_get_option ()</h3>
|
647
|
-
<pre class="programlisting">const <a href="
|
663
|
+
<pre class="programlisting">const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
648
664
|
gdk_pixbuf_get_option (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
649
|
-
<em class="parameter"><code>const <a href="
|
665
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre>
|
650
666
|
<p>Looks up <em class="parameter"><code>key</code></em>
|
651
667
|
in the list of options that may have been attached to the
|
652
668
|
<em class="parameter"><code>pixbuf</code></em>
|
@@ -663,7 +679,7 @@ Since 2.32 the JPEG and PNG loaders set "x-dpi" and "y-dpi" if the file
|
|
663
679
|
contains image density information in dots per inch.</p>
|
664
680
|
<div class="refsect3">
|
665
681
|
<a name="gdk-pixbuf-get-option.parameters"></a><h4>Parameters</h4>
|
666
|
-
<div class="informaltable"><table width="100%" border="0">
|
682
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
667
683
|
<colgroup>
|
668
684
|
<col width="150px" class="parameters_name">
|
669
685
|
<col class="parameters_description">
|
@@ -687,25 +703,25 @@ contains image density information in dots per inch.</p>
|
|
687
703
|
<a name="gdk-pixbuf-get-option.returns"></a><h4>Returns</h4>
|
688
704
|
<p> the value associated with <em class="parameter"><code>key</code></em>
|
689
705
|
. This is a nul-terminated
|
690
|
-
string that should not be freed or <a href="
|
706
|
+
string that should not be freed or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>key</code></em>
|
691
707
|
was not found.</p>
|
692
708
|
</div>
|
693
709
|
</div>
|
694
710
|
<hr>
|
695
711
|
<div class="refsect2">
|
696
712
|
<a name="gdk-pixbuf-set-option"></a><h3>gdk_pixbuf_set_option ()</h3>
|
697
|
-
<pre class="programlisting"><a href="
|
713
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
698
714
|
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>,
|
699
|
-
<em class="parameter"><code>const <a href="
|
700
|
-
<em class="parameter"><code>const <a href="
|
715
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
|
716
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);</pre>
|
701
717
|
<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>
|
702
718
|
already
|
703
719
|
exists in the list of options attached to <em class="parameter"><code>pixbuf</code></em>
|
704
720
|
, the new value is
|
705
|
-
ignored and <a href="
|
721
|
+
ignored and <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned.</p>
|
706
722
|
<div class="refsect3">
|
707
723
|
<a name="gdk-pixbuf-set-option.parameters"></a><h4>Parameters</h4>
|
708
|
-
<div class="informaltable"><table width="100%" border="0">
|
724
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
709
725
|
<colgroup>
|
710
726
|
<col width="150px" class="parameters_name">
|
711
727
|
<col class="parameters_description">
|
@@ -732,23 +748,58 @@ ignored and <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Mac
|
|
732
748
|
</div>
|
733
749
|
<div class="refsect3">
|
734
750
|
<a name="gdk-pixbuf-set-option.returns"></a><h4>Returns</h4>
|
735
|
-
<p> <a href="
|
751
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</p>
|
736
752
|
</div>
|
737
753
|
<p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p>
|
738
754
|
</div>
|
739
755
|
<hr>
|
740
756
|
<div class="refsect2">
|
757
|
+
<a name="gdk-pixbuf-remove-option"></a><h3>gdk_pixbuf_remove_option ()</h3>
|
758
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
759
|
+
gdk_pixbuf_remove_option (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
760
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre>
|
761
|
+
<p>Remove the key/value pair option attached to a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>.</p>
|
762
|
+
<div class="refsect3">
|
763
|
+
<a name="gdk-pixbuf-remove-option.parameters"></a><h4>Parameters</h4>
|
764
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
765
|
+
<colgroup>
|
766
|
+
<col width="150px" class="parameters_name">
|
767
|
+
<col class="parameters_description">
|
768
|
+
<col width="200px" class="parameters_annotations">
|
769
|
+
</colgroup>
|
770
|
+
<tbody>
|
771
|
+
<tr>
|
772
|
+
<td class="parameter_name"><p>pixbuf</p></td>
|
773
|
+
<td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a></p></td>
|
774
|
+
<td class="parameter_annotations"> </td>
|
775
|
+
</tr>
|
776
|
+
<tr>
|
777
|
+
<td class="parameter_name"><p>key</p></td>
|
778
|
+
<td class="parameter_description"><p>a nul-terminated string representing the key to remove.</p></td>
|
779
|
+
<td class="parameter_annotations"> </td>
|
780
|
+
</tr>
|
781
|
+
</tbody>
|
782
|
+
</table></div>
|
783
|
+
</div>
|
784
|
+
<div class="refsect3">
|
785
|
+
<a name="gdk-pixbuf-remove-option.returns"></a><h4>Returns</h4>
|
786
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if an option was removed, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if not.</p>
|
787
|
+
</div>
|
788
|
+
<p class="since">Since: <a class="link" href="api-index-2-36.html#api-index-2.36">2.36</a></p>
|
789
|
+
</div>
|
790
|
+
<hr>
|
791
|
+
<div class="refsect2">
|
741
792
|
<a name="gdk-pixbuf-get-options"></a><h3>gdk_pixbuf_get_options ()</h3>
|
742
|
-
<pre class="programlisting"><a href="
|
793
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html#GHashTable"><span class="returnvalue">GHashTable</span></a> *
|
743
794
|
gdk_pixbuf_get_options (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
|
744
|
-
<p>Returns a <a href="
|
795
|
+
<p>Returns a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> with a list of all the options that may have been
|
745
796
|
attached to the <em class="parameter"><code>pixbuf</code></em>
|
746
797
|
when it was loaded, or that may have been
|
747
798
|
attached by another function using <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-set-option" title="gdk_pixbuf_set_option ()"><code class="function">gdk_pixbuf_set_option()</code></a>.</p>
|
748
799
|
<p>See <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-option" title="gdk_pixbuf_get_option ()"><code class="function">gdk_pixbuf_get_option()</code></a> for more details.</p>
|
749
800
|
<div class="refsect3">
|
750
801
|
<a name="gdk-pixbuf-get-options.parameters"></a><h4>Parameters</h4>
|
751
|
-
<div class="informaltable"><table width="100%" border="0">
|
802
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
752
803
|
<colgroup>
|
753
804
|
<col width="150px" class="parameters_name">
|
754
805
|
<col class="parameters_description">
|
@@ -763,15 +814,53 @@ attached by another function using <a class="link" href="gdk-pixbuf-The-GdkPixbu
|
|
763
814
|
</div>
|
764
815
|
<div class="refsect3">
|
765
816
|
<a name="gdk-pixbuf-get-options.returns"></a><h4>Returns</h4>
|
766
|
-
<p> a <a href="
|
817
|
+
<p> a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> of key/values. </p>
|
767
818
|
<p><span class="annotation">[<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8 utf8]</span></p>
|
768
819
|
</div>
|
769
820
|
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
770
821
|
</div>
|
771
822
|
<hr>
|
772
823
|
<div class="refsect2">
|
824
|
+
<a name="gdk-pixbuf-copy-options"></a><h3>gdk_pixbuf_copy_options ()</h3>
|
825
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
826
|
+
gdk_pixbuf_copy_options (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src_pixbuf</code></em>,
|
827
|
+
<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *dest_pixbuf</code></em>);</pre>
|
828
|
+
<p>Copy the key/value pair options attached to a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> to another.
|
829
|
+
This is useful to keep original metadata after having manipulated
|
830
|
+
a file. However be careful to remove metadata which you've already
|
831
|
+
applied, such as the "orientation" option after rotating the image.</p>
|
832
|
+
<div class="refsect3">
|
833
|
+
<a name="gdk-pixbuf-copy-options.parameters"></a><h4>Parameters</h4>
|
834
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
835
|
+
<colgroup>
|
836
|
+
<col width="150px" class="parameters_name">
|
837
|
+
<col class="parameters_description">
|
838
|
+
<col width="200px" class="parameters_annotations">
|
839
|
+
</colgroup>
|
840
|
+
<tbody>
|
841
|
+
<tr>
|
842
|
+
<td class="parameter_name"><p>src_pixbuf</p></td>
|
843
|
+
<td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> to copy options from</p></td>
|
844
|
+
<td class="parameter_annotations"> </td>
|
845
|
+
</tr>
|
846
|
+
<tr>
|
847
|
+
<td class="parameter_name"><p>dest_pixbuf</p></td>
|
848
|
+
<td class="parameter_description"><p>the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> to copy options to</p></td>
|
849
|
+
<td class="parameter_annotations"> </td>
|
850
|
+
</tr>
|
851
|
+
</tbody>
|
852
|
+
</table></div>
|
853
|
+
</div>
|
854
|
+
<div class="refsect3">
|
855
|
+
<a name="gdk-pixbuf-copy-options.returns"></a><h4>Returns</h4>
|
856
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</p>
|
857
|
+
</div>
|
858
|
+
<p class="since">Since: <a class="link" href="api-index-2-36.html#api-index-2.36">2.36</a></p>
|
859
|
+
</div>
|
860
|
+
<hr>
|
861
|
+
<div class="refsect2">
|
773
862
|
<a name="gdk-pixbuf-read-pixels"></a><h3>gdk_pixbuf_read_pixels ()</h3>
|
774
|
-
<pre class="programlisting">const <a href="
|
863
|
+
<pre class="programlisting">const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="returnvalue">guint8</span></a> *
|
775
864
|
gdk_pixbuf_read_pixels (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
|
776
865
|
<p>Returns a read-only pointer to the raw pixel data; must not be
|
777
866
|
modified. This function allows skipping the implicit copy that
|
@@ -779,7 +868,7 @@ must be made if <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gd
|
|
779
868
|
pixbuf.</p>
|
780
869
|
<div class="refsect3">
|
781
870
|
<a name="gdk-pixbuf-read-pixels.parameters"></a><h4>Parameters</h4>
|
782
|
-
<div class="informaltable"><table width="100%" border="0">
|
871
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
783
872
|
<colgroup>
|
784
873
|
<col width="150px" class="parameters_name">
|
785
874
|
<col class="parameters_description">
|
@@ -800,11 +889,11 @@ pixbuf.</p>
|
|
800
889
|
<div class="refsect2">
|
801
890
|
<a name="GdkPixbufError"></a><h3>enum GdkPixbufError</h3>
|
802
891
|
<p>An error code in the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERROR:CAPS" title="GDK_PIXBUF_ERROR"><span class="type">GDK_PIXBUF_ERROR</span></a> domain. Many gdk-pixbuf
|
803
|
-
operations can cause errors in this domain, or in the <a href="
|
892
|
+
operations can cause errors in this domain, or in the <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a>
|
804
893
|
domain.</p>
|
805
894
|
<div class="refsect3">
|
806
895
|
<a name="GdkPixbufError.members"></a><h4>Members</h4>
|
807
|
-
<div class="informaltable"><table width="100%" border="0">
|
896
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
808
897
|
<colgroup>
|
809
898
|
<col width="300px" class="enum_members_name">
|
810
899
|
<col class="enum_members_description">
|
@@ -871,7 +960,7 @@ domain.</p>
|
|
871
960
|
<pre class="programlisting">#define GDK_PIXBUF_ERROR gdk_pixbuf_error_quark ()
|
872
961
|
</pre>
|
873
962
|
<p>Error domain used for pixbuf operations. Indicates that the error code
|
874
|
-
will be in the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbufError" title="enum GdkPixbufError"><span class="type">GdkPixbufError</span></a> enumeration. See <a href="
|
963
|
+
will be in the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbufError" title="enum GdkPixbufError"><span class="type">GdkPixbufError</span></a> enumeration. See <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for
|
875
964
|
information on error domains and error codes.</p>
|
876
965
|
</div>
|
877
966
|
<hr>
|
@@ -881,7 +970,7 @@ information on error domains and error codes.</p>
|
|
881
970
|
the gdk-pixbuf library. Currently only RGB is supported.</p>
|
882
971
|
<div class="refsect3">
|
883
972
|
<a name="GdkColorspace.members"></a><h4>Members</h4>
|
884
|
-
<div class="informaltable"><table width="100%" border="0">
|
973
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
885
974
|
<colgroup>
|
886
975
|
<col width="300px" class="enum_members_name">
|
887
976
|
<col class="enum_members_description">
|
@@ -910,7 +999,7 @@ compositing onto arbitrary drawables. For now both cases fall
|
|
910
999
|
back to a bilevel clipping mask.</p>
|
911
1000
|
<div class="refsect3">
|
912
1001
|
<a name="GdkPixbufAlphaMode.members"></a><h4>Members</h4>
|
913
|
-
<div class="informaltable"><table width="100%" border="0">
|
1002
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
914
1003
|
<colgroup>
|
915
1004
|
<col width="300px" class="enum_members_name">
|
916
1005
|
<col class="enum_members_description">
|
@@ -954,7 +1043,7 @@ one row and the start of the next).</p>
|
|
954
1043
|
<a name="gdk-pixbuf-The-GdkPixbuf-Structure.property-details"></a><h2>Property Details</h2>
|
955
1044
|
<div class="refsect2">
|
956
1045
|
<a name="GdkPixbuf--bits-per-sample"></a><h3>The <code class="literal">“bits-per-sample”</code> property</h3>
|
957
|
-
<pre class="programlisting"> “bits-per-sample” <a href="
|
1046
|
+
<pre class="programlisting"> “bits-per-sample” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
958
1047
|
<p>The number of bits per sample.
|
959
1048
|
|
960
1049
|
Currently only 8 bit per sample are supported.</p>
|
@@ -973,7 +1062,7 @@ Currently only 8 bit per sample are supported.</p>
|
|
973
1062
|
<hr>
|
974
1063
|
<div class="refsect2">
|
975
1064
|
<a name="GdkPixbuf--has-alpha"></a><h3>The <code class="literal">“has-alpha”</code> property</h3>
|
976
|
-
<pre class="programlisting"> “has-alpha” <a href="
|
1065
|
+
<pre class="programlisting"> “has-alpha” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
977
1066
|
<p>Whether the pixbuf has an alpha channel.</p>
|
978
1067
|
<p>Flags: Read / Write / Construct Only</p>
|
979
1068
|
<p>Default value: FALSE</p>
|
@@ -981,7 +1070,7 @@ Currently only 8 bit per sample are supported.</p>
|
|
981
1070
|
<hr>
|
982
1071
|
<div class="refsect2">
|
983
1072
|
<a name="GdkPixbuf--height"></a><h3>The <code class="literal">“height”</code> property</h3>
|
984
|
-
<pre class="programlisting"> “height” <a href="
|
1073
|
+
<pre class="programlisting"> “height” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
985
1074
|
<p>The number of rows of the pixbuf.</p>
|
986
1075
|
<p>Flags: Read / Write / Construct Only</p>
|
987
1076
|
<p>Allowed values: >= 1</p>
|
@@ -990,7 +1079,7 @@ Currently only 8 bit per sample are supported.</p>
|
|
990
1079
|
<hr>
|
991
1080
|
<div class="refsect2">
|
992
1081
|
<a name="GdkPixbuf--n-channels"></a><h3>The <code class="literal">“n-channels”</code> property</h3>
|
993
|
-
<pre class="programlisting"> “n-channels” <a href="
|
1082
|
+
<pre class="programlisting"> “n-channels” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
994
1083
|
<p>The number of samples per pixel.
|
995
1084
|
|
996
1085
|
Currently, only 3 or 4 samples per pixel are supported.</p>
|
@@ -1001,21 +1090,21 @@ Currently, only 3 or 4 samples per pixel are supported.</p>
|
|
1001
1090
|
<hr>
|
1002
1091
|
<div class="refsect2">
|
1003
1092
|
<a name="GdkPixbuf--pixel-bytes"></a><h3>The <code class="literal">“pixel-bytes”</code> property</h3>
|
1004
|
-
<pre class="programlisting"> “pixel-bytes” <a href="
|
1093
|
+
<pre class="programlisting"> “pixel-bytes” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a> *</pre>
|
1005
1094
|
<p>Readonly pixel data.</p>
|
1006
1095
|
<p>Flags: Read / Write / Construct Only</p>
|
1007
1096
|
</div>
|
1008
1097
|
<hr>
|
1009
1098
|
<div class="refsect2">
|
1010
1099
|
<a name="GdkPixbuf--pixels"></a><h3>The <code class="literal">“pixels”</code> property</h3>
|
1011
|
-
<pre class="programlisting"> “pixels” <a href="
|
1100
|
+
<pre class="programlisting"> “pixels” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a></pre>
|
1012
1101
|
<p>A pointer to the pixel data of the pixbuf.</p>
|
1013
1102
|
<p>Flags: Read / Write / Construct Only</p>
|
1014
1103
|
</div>
|
1015
1104
|
<hr>
|
1016
1105
|
<div class="refsect2">
|
1017
1106
|
<a name="GdkPixbuf--rowstride"></a><h3>The <code class="literal">“rowstride”</code> property</h3>
|
1018
|
-
<pre class="programlisting"> “rowstride” <a href="
|
1107
|
+
<pre class="programlisting"> “rowstride” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
1019
1108
|
<p>The number of bytes between the start of a row and
|
1020
1109
|
|
1021
1110
|
the start of the next row. This number must (obviously)
|
@@ -1027,7 +1116,7 @@ be at least as large as the width of the pixbuf.</p>
|
|
1027
1116
|
<hr>
|
1028
1117
|
<div class="refsect2">
|
1029
1118
|
<a name="GdkPixbuf--width"></a><h3>The <code class="literal">“width”</code> property</h3>
|
1030
|
-
<pre class="programlisting"> “width” <a href="
|
1119
|
+
<pre class="programlisting"> “width” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
1031
1120
|
<p>The number of columns of the pixbuf.</p>
|
1032
1121
|
<p>Flags: Read / Write / Construct Only</p>
|
1033
1122
|
<p>Allowed values: >= 1</p>
|
@@ -1036,6 +1125,6 @@ be at least as large as the width of the pixbuf.</p>
|
|
1036
1125
|
</div>
|
1037
1126
|
</div>
|
1038
1127
|
<div class="footer">
|
1039
|
-
<hr>Generated by GTK-Doc V1.25
|
1128
|
+
<hr>Generated by GTK-Doc V1.25</div>
|
1040
1129
|
</body>
|
1041
1130
|
</html>
|