gdk_pixbuf2 3.0.7-x86-mingw32 → 3.0.8-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/ext/gdk_pixbuf2/extconf.rb +1 -0
- data/lib/2.2/gdk_pixbuf2.so +0 -0
- data/lib/2.3/gdk_pixbuf2.so +0 -0
- data/vendor/local/bin/gdk-pixbuf-csource.exe +0 -0
- data/vendor/local/bin/gdk-pixbuf-pixdata.exe +0 -0
- data/vendor/local/bin/gdk-pixbuf-query-loaders.exe +0 -0
- data/vendor/local/bin/libgdk_pixbuf-2.0-0.dll +0 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-autocleanups.h +37 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +18 -2
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +3 -3
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h +8 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h +2 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h +8 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache +62 -87
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.la +1 -1
- data/vendor/local/lib/gdk_pixbuf-2.0.def +6 -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 +6 -6
- data/vendor/local/lib/pkgconfig/gdk-pixbuf-2.0.pc +1 -1
- data/vendor/local/share/gir-1.0/GdkPixbuf-2.0.gir +300 -50
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +94 -103
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/annotation-glossary.html +18 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-12.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-14.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-2.html +4 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-26.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-28.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-30.html +5 -6
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-32.html +56 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-4.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-6.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-8.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-deprecated.html +59 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-full.html +28 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html +134 -145
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +232 -123
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +134 -138
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +131 -47
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +87 -62
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +101 -173
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +26 -30
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Scaling.html +39 -38
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +226 -83
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Utilities.html +21 -22
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Versioning.html +41 -51
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-X-Drawables-to-Pixbufs.html +8 -10
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Xlib-Rendering.html +7 -8
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-XlibRGB.html +34 -44
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-csource.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-Xlib-initialization.html +5 -6
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-from-drawables.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-rendering.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-query-loaders.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf.devhelp2 +104 -18
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/license.html +5 -6
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn01.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn02.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/style.css +9 -6
- data/vendor/local/share/locale/af/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ang/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/br/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/crh/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/csb/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/io/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/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/kn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/li/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/my/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nso/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/uz/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/uz@cyrillic/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/man/man1/gdk-pixbuf-csource.1 +1 -1
- data/vendor/local/share/man/man1/gdk-pixbuf-query-loaders.1 +1 -1
- metadata +9 -8
- data/lib/2.0/gdk_pixbuf2.so +0 -0
- data/lib/2.1/gdk_pixbuf2.so +0 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.sgml +0 -322
@@ -2,13 +2,13 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>
|
5
|
+
<title>Reference Counting and Memory Mangement: GDK-PixBuf Reference Manual</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.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.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -76,26 +76,22 @@
|
|
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.win32/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.win32/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="
|
87
|
-
<p>Finalizing a pixbuf means to free its pixel
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
<a class="link" href="gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new-from-
|
94
|
-
|
95
|
-
is done with a function of type <a class="link" href="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html#GdkPixbufDestroyNotify" title="GdkPixbufDestroyNotify ()"><span class="type">GdkPixbufDestroyNotify</span></a>. When a
|
96
|
-
pixbuf created with <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> is finalized, your
|
97
|
-
destroy notification function will be called, and it is its
|
98
|
-
responsibility to free the pixel array.</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="/home/vagrant/ruby-gnome2.win32/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.win32/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.win32/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
|
+
<p>Finalizing a pixbuf means to free its pixel data and to free the
|
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
|
+
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
|
90
|
+
and define the way it should be freed; you do not need to worry
|
91
|
+
about those.</p>
|
92
|
+
<p>To provide preallocated pixel data, use
|
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="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a>.</p>
|
99
95
|
</div>
|
100
96
|
<div class="refsect1">
|
101
97
|
<a name="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.functions_details"></a><h2>Functions</h2>
|
@@ -105,11 +101,12 @@ responsibility to free the pixel array.</p>
|
|
105
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>
|
106
102
|
<div class="warning">
|
107
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>
|
108
|
-
<p>Use <a href="
|
104
|
+
<p>Use <a href="/home/vagrant/ruby-gnome2.win32/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>
|
109
105
|
</div>
|
110
106
|
<p>Adds a reference to a pixbuf.</p>
|
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>
|
111
108
|
<div class="refsect3">
|
112
|
-
<a name="
|
109
|
+
<a name="gdk-pixbuf-ref.parameters"></a><h4>Parameters</h4>
|
113
110
|
<div class="informaltable"><table width="100%" border="0">
|
114
111
|
<colgroup>
|
115
112
|
<col width="150px" class="parameters_name">
|
@@ -124,10 +121,9 @@ gdk_pixbuf_ref (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The
|
|
124
121
|
</table></div>
|
125
122
|
</div>
|
126
123
|
<div class="refsect3">
|
127
|
-
<a name="
|
124
|
+
<a name="gdk-pixbuf-ref.returns"></a><h4>Returns</h4>
|
128
125
|
<p> The same as the <em class="parameter"><code>pixbuf</code></em>
|
129
126
|
argument.</p>
|
130
|
-
<p></p>
|
131
127
|
</div>
|
132
128
|
</div>
|
133
129
|
<hr>
|
@@ -137,11 +133,12 @@ argument.</p>
|
|
137
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>
|
138
134
|
<div class="warning">
|
139
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>
|
140
|
-
<p>Use <a href="
|
136
|
+
<p>Use <a href="/home/vagrant/ruby-gnome2.win32/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>
|
141
137
|
</div>
|
142
138
|
<p>Removes a reference from a pixbuf.</p>
|
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>
|
143
140
|
<div class="refsect3">
|
144
|
-
<a name="
|
141
|
+
<a name="gdk-pixbuf-unref.parameters"></a><h4>Parameters</h4>
|
145
142
|
<div class="informaltable"><table width="100%" border="0">
|
146
143
|
<colgroup>
|
147
144
|
<col width="150px" class="parameters_name">
|
@@ -160,8 +157,8 @@ gdk_pixbuf_unref (<em class="parameter"><code><a class="link" href="gdk-pixbuf-T
|
|
160
157
|
<div class="refsect2">
|
161
158
|
<a name="GdkPixbufDestroyNotify"></a><h3>GdkPixbufDestroyNotify ()</h3>
|
162
159
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
163
|
-
<span class="c_punctuation">(</span>*GdkPixbufDestroyNotify<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="
|
164
|
-
<em class="parameter"><code><a href="
|
160
|
+
<span class="c_punctuation">(</span>*GdkPixbufDestroyNotify<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/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.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
165
162
|
<p>A function of this type is responsible for freeing the pixel array
|
166
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
|
167
164
|
pass in a pre-allocated pixel array so that a pixbuf can be
|
@@ -169,7 +166,7 @@ created from it; in this case you will need to pass in a function
|
|
169
166
|
of <a class="link" href="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html#GdkPixbufDestroyNotify" title="GdkPixbufDestroyNotify ()"><span class="type">GdkPixbufDestroyNotify</span></a> so that the pixel data can be freed
|
170
167
|
when the pixbuf is finalized.</p>
|
171
168
|
<div class="refsect3">
|
172
|
-
<a name="
|
169
|
+
<a name="GdkPixbufDestroyNotify.parameters"></a><h4>Parameters</h4>
|
173
170
|
<div class="informaltable"><table width="100%" border="0">
|
174
171
|
<colgroup>
|
175
172
|
<col width="150px" class="parameters_name">
|
@@ -202,7 +199,6 @@ that is being finalized. </p></td>
|
|
202
199
|
</div>
|
203
200
|
</div>
|
204
201
|
<div class="footer">
|
205
|
-
<hr>
|
206
|
-
Generated by GTK-Doc V1.20.1</div>
|
202
|
+
<hr>Generated by GTK-Doc V1.25.1</div>
|
207
203
|
</body>
|
208
204
|
</html>
|
@@ -2,13 +2,13 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>GDK-PixBuf Reference Manual
|
5
|
+
<title>Scaling: GDK-PixBuf Reference Manual</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.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.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25.1 (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">
|
@@ -136,6 +136,8 @@ convenience functions are provided, <a class="link" href="gdk-pixbuf-Scaling.htm
|
|
136
136
|
<a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-composite-color-simple" title="gdk_pixbuf_composite_color_simple ()"><code class="function">gdk_pixbuf_composite_color_simple()</code></a> which create a new pixbuf of a
|
137
137
|
given size, scale an original image to fit, and then return the
|
138
138
|
new pixbuf.</p>
|
139
|
+
<p>If the destination pixbuf was created from a readonly source, these
|
140
|
+
operations will force a copy into a mutable buffer.</p>
|
139
141
|
<p>Scaling and compositing functions take advantage of MMX hardware
|
140
142
|
acceleration on systems where MMX is supported. If gdk-pixbuf is built
|
141
143
|
with the Sun mediaLib library, these functions are instead accelerated
|
@@ -151,7 +153,7 @@ image doesn't have an alpha channel, calling
|
|
151
153
|
<a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-composite-color" title="gdk_pixbuf_composite_color ()"><code class="function">gdk_pixbuf_composite_color()</code></a> function has exactly the same effect
|
152
154
|
as calling <a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-scale" title="gdk_pixbuf_scale ()"><code class="function">gdk_pixbuf_scale()</code></a>.</p>
|
153
155
|
<div class="refsect3">
|
154
|
-
<a name="id-1.2.10.6.
|
156
|
+
<a name="id-1.2.10.6.7"></a><h4>Handling an expose event</h4>
|
155
157
|
<div class="informalexample">
|
156
158
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
157
159
|
<tbody>
|
@@ -180,29 +182,29 @@ as calling <a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-scale" title
|
|
180
182
|
22
|
181
183
|
23
|
182
184
|
24</pre></td>
|
183
|
-
<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.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a></span>
|
184
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>
|
185
187
|
<span class="cbracket">{</span>
|
186
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>
|
187
189
|
|
188
|
-
<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">GDK_COLORSPACE_RGB</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.win32/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>
|
189
191
|
|
190
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>
|
191
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>
|
192
194
|
<span class="normal"> </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"> </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>
|
193
195
|
<span class="normal"> </span><span class="symbol">(</span><span class="type">double</span><span class="symbol">)</span><span class="normal"> widget</span><span class="symbol">-></span><span class="normal">allocation</span><span class="symbol">.</span><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>
|
194
196
|
<span class="normal"> </span><span class="symbol">(</span><span class="type">double</span><span class="symbol">)</span><span class="normal"> widget</span><span class="symbol">-></span><span class="normal">allocation</span><span class="symbol">.</span><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>
|
195
|
-
<span class="normal"> GDK_INTERP_BILINEAR</span><span class="symbol">,</span><span class="normal"> </span><span class="number">255</span><span class="symbol">,</span>
|
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>
|
196
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>
|
197
199
|
|
198
|
-
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/
|
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="http://developer.gnome.org/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>
|
199
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>
|
200
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>
|
201
|
-
<span class="normal"> GDK_RGB_DITHER_NORMAL</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>
|
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>
|
202
204
|
<span class="normal"> </span>
|
203
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>
|
204
206
|
<span class="normal"> </span>
|
205
|
-
<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.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">;</span>
|
206
208
|
<span class="cbracket">}</span></pre></td>
|
207
209
|
</tr>
|
208
210
|
</tbody>
|
@@ -240,7 +242,7 @@ pointing into <em class="parameter"><code>src</code></em>
|
|
240
242
|
<p>For more complicated scaling/compositing see <a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-scale" title="gdk_pixbuf_scale ()"><code class="function">gdk_pixbuf_scale()</code></a>
|
241
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>
|
242
244
|
<div class="refsect3">
|
243
|
-
<a name="
|
245
|
+
<a name="gdk-pixbuf-scale-simple.parameters"></a><h4>Parameters</h4>
|
244
246
|
<div class="informaltable"><table width="100%" border="0">
|
245
247
|
<colgroup>
|
246
248
|
<col width="150px" class="parameters_name">
|
@@ -272,8 +274,8 @@ and <a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-composite" title="g
|
|
272
274
|
</table></div>
|
273
275
|
</div>
|
274
276
|
<div class="refsect3">
|
275
|
-
<a name="
|
276
|
-
<p> the new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="
|
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="/home/vagrant/ruby-gnome2.win32/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
|
277
279
|
allocated for it. </p>
|
278
280
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
279
281
|
</div>
|
@@ -314,7 +316,7 @@ the industrial-strength power tool you can fall back to if
|
|
314
316
|
same pixbuf, it will be overwritten during the scaling which
|
315
317
|
results in rendering artifacts.</p>
|
316
318
|
<div class="refsect3">
|
317
|
-
<a name="
|
319
|
+
<a name="gdk-pixbuf-scale.parameters"></a><h4>Parameters</h4>
|
318
320
|
<div class="informaltable"><table width="100%" border="0">
|
319
321
|
<colgroup>
|
320
322
|
<col width="150px" class="parameters_name">
|
@@ -391,8 +393,8 @@ gdk_pixbuf_composite_color_simple (<em class="parameter"><code>const <a class="l
|
|
391
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>,
|
392
394
|
<em class="parameter"><code><span class="type">int</span> overall_alpha</code></em>,
|
393
395
|
<em class="parameter"><code><span class="type">int</span> check_size</code></em>,
|
394
|
-
<em class="parameter"><code><a href="
|
395
|
-
<em class="parameter"><code><a href="
|
396
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/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.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> color2</code></em>);</pre>
|
396
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>
|
397
399
|
to <em class="parameter"><code>dest_width</code></em>
|
398
400
|
x
|
@@ -402,7 +404,7 @@ gdk_pixbuf_composite_color_simple (<em class="parameter"><code>const <a class="l
|
|
402
404
|
and <em class="parameter"><code>color2</code></em>
|
403
405
|
.</p>
|
404
406
|
<div class="refsect3">
|
405
|
-
<a name="
|
407
|
+
<a name="gdk-pixbuf-composite-color-simple.parameters"></a><h4>Parameters</h4>
|
406
408
|
<div class="informaltable"><table width="100%" border="0">
|
407
409
|
<colgroup>
|
408
410
|
<col width="150px" class="parameters_name">
|
@@ -454,8 +456,8 @@ gdk_pixbuf_composite_color_simple (<em class="parameter"><code>const <a class="l
|
|
454
456
|
</table></div>
|
455
457
|
</div>
|
456
458
|
<div class="refsect3">
|
457
|
-
<a name="
|
458
|
-
<p> the new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="
|
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="/home/vagrant/ruby-gnome2.win32/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
|
459
461
|
allocated for it. </p>
|
460
462
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
461
463
|
</div>
|
@@ -496,7 +498,7 @@ image, the data at the edges of the source image is replicated
|
|
496
498
|
to infinity. </p>
|
497
499
|
<p><span class="inlinemediaobject"><img src="composite.png"></span></p>
|
498
500
|
<div class="refsect3">
|
499
|
-
<a name="
|
501
|
+
<a name="gdk-pixbuf-composite.parameters"></a><h4>Parameters</h4>
|
500
502
|
<div class="informaltable"><table width="100%" border="0">
|
501
503
|
<colgroup>
|
502
504
|
<col width="150px" class="parameters_name">
|
@@ -587,8 +589,8 @@ gdk_pixbuf_composite_color (<em class="parameter"><code>const <a class="link" hr
|
|
587
589
|
<em class="parameter"><code><span class="type">int</span> check_x</code></em>,
|
588
590
|
<em class="parameter"><code><span class="type">int</span> check_y</code></em>,
|
589
591
|
<em class="parameter"><code><span class="type">int</span> check_size</code></em>,
|
590
|
-
<em class="parameter"><code><a href="
|
591
|
-
<em class="parameter"><code><a href="
|
592
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/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.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> color2</code></em>);</pre>
|
592
594
|
<p>Creates a transformation of the source image <em class="parameter"><code>src</code></em>
|
593
595
|
by scaling by
|
594
596
|
<em class="parameter"><code>scale_x</code></em>
|
@@ -609,7 +611,7 @@ image.</p>
|
|
609
611
|
<p>See <a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-composite-color-simple" title="gdk_pixbuf_composite_color_simple ()"><code class="function">gdk_pixbuf_composite_color_simple()</code></a> for a simpler variant of this
|
610
612
|
function suitable for many tasks.</p>
|
611
613
|
<div class="refsect3">
|
612
|
-
<a name="
|
614
|
+
<a name="gdk-pixbuf-composite-color.parameters"></a><h4>Parameters</h4>
|
613
615
|
<div class="informaltable"><table width="100%" border="0">
|
614
616
|
<colgroup>
|
615
617
|
<col width="150px" class="parameters_name">
|
@@ -717,7 +719,7 @@ gdk_pixbuf_rotate_simple (<em class="parameter"><code>const <a class="link" href
|
|
717
719
|
<p>Rotates a pixbuf by a multiple of 90 degrees, and returns the
|
718
720
|
result in a new pixbuf.</p>
|
719
721
|
<div class="refsect3">
|
720
|
-
<a name="
|
722
|
+
<a name="gdk-pixbuf-rotate-simple.parameters"></a><h4>Parameters</h4>
|
721
723
|
<div class="informaltable"><table width="100%" border="0">
|
722
724
|
<colgroup>
|
723
725
|
<col width="150px" class="parameters_name">
|
@@ -739,23 +741,23 @@ result in a new pixbuf.</p>
|
|
739
741
|
</table></div>
|
740
742
|
</div>
|
741
743
|
<div class="refsect3">
|
742
|
-
<a name="
|
743
|
-
<p> the new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="
|
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="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
744
746
|
if not enough memory could be allocated for it. </p>
|
745
|
-
<p><span class="annotation">[nullable][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
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>
|
746
748
|
</div>
|
747
|
-
<p class="since">Since 2.6</p>
|
749
|
+
<p class="since">Since: <a class="link" href="api-index-2-6.html#api-index-2.6">2.6</a></p>
|
748
750
|
</div>
|
749
751
|
<hr>
|
750
752
|
<div class="refsect2">
|
751
753
|
<a name="gdk-pixbuf-flip"></a><h3>gdk_pixbuf_flip ()</h3>
|
752
754
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
|
753
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>,
|
754
|
-
<em class="parameter"><code><a href="
|
756
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> horizontal</code></em>);</pre>
|
755
757
|
<p>Flips a pixbuf horizontally or vertically and returns the
|
756
758
|
result in a new pixbuf.</p>
|
757
759
|
<div class="refsect3">
|
758
|
-
<a name="
|
760
|
+
<a name="gdk-pixbuf-flip.parameters"></a><h4>Parameters</h4>
|
759
761
|
<div class="informaltable"><table width="100%" border="0">
|
760
762
|
<colgroup>
|
761
763
|
<col width="150px" class="parameters_name">
|
@@ -770,19 +772,19 @@ result in a new pixbuf.</p>
|
|
770
772
|
</tr>
|
771
773
|
<tr>
|
772
774
|
<td class="parameter_name"><p>horizontal</p></td>
|
773
|
-
<td class="parameter_description"><p><a href="
|
775
|
+
<td class="parameter_description"><p><a href="/home/vagrant/ruby-gnome2.win32/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.win32/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>
|
774
776
|
<td class="parameter_annotations"> </td>
|
775
777
|
</tr>
|
776
778
|
</tbody>
|
777
779
|
</table></div>
|
778
780
|
</div>
|
779
781
|
<div class="refsect3">
|
780
|
-
<a name="
|
781
|
-
<p> the new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="
|
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="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
782
784
|
if not enough memory could be allocated for it. </p>
|
783
|
-
<p><span class="annotation">[nullable][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
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>
|
784
786
|
</div>
|
785
|
-
<p class="since">Since 2.6</p>
|
787
|
+
<p class="since">Since: <a class="link" href="api-index-2-6.html#api-index-2.6">2.6</a></p>
|
786
788
|
</div>
|
787
789
|
</div>
|
788
790
|
<div class="refsect1">
|
@@ -801,7 +803,7 @@ if not enough memory could be allocated for it. </p>
|
|
801
803
|
interpolation is just as fast and results in higher quality.
|
802
804
|
</note></p>
|
803
805
|
<div class="refsect3">
|
804
|
-
<a name="
|
806
|
+
<a name="GdkInterpType.members"></a><h4>Members</h4>
|
805
807
|
<div class="informaltable"><table width="100%" border="0">
|
806
808
|
<colgroup>
|
807
809
|
<col width="300px" class="enum_members_name">
|
@@ -861,7 +863,7 @@ if not enough memory could be allocated for it. </p>
|
|
861
863
|
<p>The possible rotations which can be passed to <a class="link" href="gdk-pixbuf-Scaling.html#gdk-pixbuf-rotate-simple" title="gdk_pixbuf_rotate_simple ()"><code class="function">gdk_pixbuf_rotate_simple()</code></a>.
|
862
864
|
To make them easier to use, their numerical values are the actual degrees.</p>
|
863
865
|
<div class="refsect3">
|
864
|
-
<a name="
|
866
|
+
<a name="GdkPixbufRotation.members"></a><h4>Members</h4>
|
865
867
|
<div class="informaltable"><table width="100%" border="0">
|
866
868
|
<colgroup>
|
867
869
|
<col width="300px" class="enum_members_name">
|
@@ -908,7 +910,6 @@ To make them easier to use, their numerical values are the actual degrees.</p>
|
|
908
910
|
</div>
|
909
911
|
</div>
|
910
912
|
<div class="footer">
|
911
|
-
<hr>
|
912
|
-
Generated by GTK-Doc V1.20.1</div>
|
913
|
+
<hr>Generated by GTK-Doc V1.25.1</div>
|
913
914
|
</body>
|
914
915
|
</html>
|
@@ -2,13 +2,13 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>GDK-PixBuf Reference Manual
|
5
|
+
<title>The GdkPixbuf Structure: GDK-PixBuf Reference Manual</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.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.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25.1 (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">
|
@@ -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.win32/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.win32/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.win32/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,19 +116,42 @@
|
|
116
116
|
</tr>
|
117
117
|
<tr>
|
118
118
|
<td class="function_type">
|
119
|
-
<a href="
|
119
|
+
<a href="/home/vagrant/ruby-gnome2.win32/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.win32/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>
|
130
130
|
</td>
|
131
131
|
</tr>
|
132
|
+
<tr>
|
133
|
+
<td class="function_type">
|
134
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
135
|
+
</td>
|
136
|
+
<td class="function_name">
|
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>
|
138
|
+
</td>
|
139
|
+
</tr>
|
140
|
+
<tr>
|
141
|
+
<td class="function_type">
|
142
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html#GHashTable"><span class="returnvalue">GHashTable</span></a> *
|
143
|
+
</td>
|
144
|
+
<td class="function_name">
|
145
|
+
<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
|
+
</td>
|
147
|
+
</tr>
|
148
|
+
<tr>
|
149
|
+
<td class="function_type">const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="returnvalue">guint8</span></a> *
|
150
|
+
</td>
|
151
|
+
<td class="function_name">
|
152
|
+
<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>
|
153
|
+
</td>
|
154
|
+
</tr>
|
132
155
|
</tbody>
|
133
156
|
</table></div>
|
134
157
|
</div>
|
@@ -142,7 +165,7 @@
|
|
142
165
|
</colgroup>
|
143
166
|
<tbody>
|
144
167
|
<tr>
|
145
|
-
<td class="property_type"><a href="
|
168
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
146
169
|
<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>
|
147
170
|
<td class="property_flags">Read / Write / Construct Only</td>
|
148
171
|
</tr>
|
@@ -152,32 +175,38 @@
|
|
152
175
|
<td class="property_flags">Read / Write / Construct Only</td>
|
153
176
|
</tr>
|
154
177
|
<tr>
|
155
|
-
<td class="property_type"><a href="
|
178
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
156
179
|
<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>
|
157
180
|
<td class="property_flags">Read / Write / Construct Only</td>
|
158
181
|
</tr>
|
159
182
|
<tr>
|
160
|
-
<td class="property_type"><a href="
|
183
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
161
184
|
<td class="property_name"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf--height" title="The “height” property">height</a></td>
|
162
185
|
<td class="property_flags">Read / Write / Construct Only</td>
|
163
186
|
</tr>
|
164
187
|
<tr>
|
165
|
-
<td class="property_type"><a href="
|
188
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
166
189
|
<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>
|
167
190
|
<td class="property_flags">Read / Write / Construct Only</td>
|
168
191
|
</tr>
|
169
192
|
<tr>
|
170
|
-
<td class="property_type"
|
193
|
+
<td class="property_type">
|
194
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a> *</td>
|
195
|
+
<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
|
+
<td class="property_flags">Read / Write / Construct Only</td>
|
197
|
+
</tr>
|
198
|
+
<tr>
|
199
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a></td>
|
171
200
|
<td class="property_name"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf--pixels" title="The “pixels” property">pixels</a></td>
|
172
201
|
<td class="property_flags">Read / Write / Construct Only</td>
|
173
202
|
</tr>
|
174
203
|
<tr>
|
175
|
-
<td class="property_type"><a href="
|
204
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
176
205
|
<td class="property_name"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf--rowstride" title="The “rowstride” property">rowstride</a></td>
|
177
206
|
<td class="property_flags">Read / Write / Construct Only</td>
|
178
207
|
</tr>
|
179
208
|
<tr>
|
180
|
-
<td class="property_type"><a href="
|
209
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
181
210
|
<td class="property_name"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf--width" title="The “width” property">width</a></td>
|
182
211
|
<td class="property_flags">Read / Write / Construct Only</td>
|
183
212
|
</tr>
|
@@ -217,7 +246,7 @@
|
|
217
246
|
</div>
|
218
247
|
<div class="refsect1">
|
219
248
|
<a name="gdk-pixbuf-The-GdkPixbuf-Structure.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
220
|
-
<pre class="screen"> <a href="
|
249
|
+
<pre class="screen"> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
221
250
|
<span class="lineart">╰──</span> GdkPixbuf
|
222
251
|
</pre>
|
223
252
|
</div>
|
@@ -225,7 +254,7 @@
|
|
225
254
|
<a name="gdk-pixbuf-The-GdkPixbuf-Structure.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
226
255
|
<p>
|
227
256
|
GdkPixbuf implements
|
228
|
-
<a href="
|
257
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GIcon.html#GIcon-struct">GIcon</a> and <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html#GLoadableIcon-struct">GLoadableIcon</a>.</p>
|
229
258
|
</div>
|
230
259
|
<div class="refsect1">
|
231
260
|
<a name="gdk-pixbuf-The-GdkPixbuf-Structure.includes"></a><h2>Includes</h2>
|
@@ -292,16 +321,16 @@ for each pixel, your own code can take shortcuts.</p>
|
|
292
321
|
|
293
322
|
<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>
|
294
323
|
|
295
|
-
<span class="normal"> </span><span class="function"><a href="
|
296
|
-
<span class="normal"> </span><span class="function"><a href="
|
297
|
-
<span class="normal"> </span><span class="function"><a href="
|
298
|
-
<span class="normal"> </span><span class="function"><a href="
|
324
|
+
<span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win32/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>
|
325
|
+
<span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win32/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>
|
326
|
+
<span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win32/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>
|
327
|
+
<span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win32/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>
|
299
328
|
|
300
329
|
<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>
|
301
330
|
<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>
|
302
331
|
|
303
|
-
<span class="normal"> </span><span class="function"><a href="
|
304
|
-
<span class="normal"> </span><span class="function"><a href="
|
332
|
+
<span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win32/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>
|
333
|
+
<span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win32/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>
|
305
334
|
|
306
335
|
<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>
|
307
336
|
<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>
|
@@ -337,7 +366,7 @@ last row as <code class="literal">width * ((n_channels * bits_per_sample + 7) /
|
|
337
366
|
gdk_pixbuf_get_colorspace (<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>
|
338
367
|
<p>Queries the color space of a pixbuf.</p>
|
339
368
|
<div class="refsect3">
|
340
|
-
<a name="
|
369
|
+
<a name="gdk-pixbuf-get-colorspace.parameters"></a><h4>Parameters</h4>
|
341
370
|
<div class="informaltable"><table width="100%" border="0">
|
342
371
|
<colgroup>
|
343
372
|
<col width="150px" class="parameters_name">
|
@@ -352,9 +381,8 @@ gdk_pixbuf_get_colorspace (<em class="parameter"><code>const <a class="link" hre
|
|
352
381
|
</table></div>
|
353
382
|
</div>
|
354
383
|
<div class="refsect3">
|
355
|
-
<a name="
|
384
|
+
<a name="gdk-pixbuf-get-colorspace.returns"></a><h4>Returns</h4>
|
356
385
|
<p> Color space.</p>
|
357
|
-
<p></p>
|
358
386
|
</div>
|
359
387
|
</div>
|
360
388
|
<hr>
|
@@ -364,7 +392,7 @@ gdk_pixbuf_get_colorspace (<em class="parameter"><code>const <a class="link" hre
|
|
364
392
|
gdk_pixbuf_get_n_channels (<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>
|
365
393
|
<p>Queries the number of channels of a pixbuf.</p>
|
366
394
|
<div class="refsect3">
|
367
|
-
<a name="
|
395
|
+
<a name="gdk-pixbuf-get-n-channels.parameters"></a><h4>Parameters</h4>
|
368
396
|
<div class="informaltable"><table width="100%" border="0">
|
369
397
|
<colgroup>
|
370
398
|
<col width="150px" class="parameters_name">
|
@@ -379,19 +407,18 @@ gdk_pixbuf_get_n_channels (<em class="parameter"><code>const <a class="link" hre
|
|
379
407
|
</table></div>
|
380
408
|
</div>
|
381
409
|
<div class="refsect3">
|
382
|
-
<a name="
|
410
|
+
<a name="gdk-pixbuf-get-n-channels.returns"></a><h4>Returns</h4>
|
383
411
|
<p> Number of channels.</p>
|
384
|
-
<p></p>
|
385
412
|
</div>
|
386
413
|
</div>
|
387
414
|
<hr>
|
388
415
|
<div class="refsect2">
|
389
416
|
<a name="gdk-pixbuf-get-has-alpha"></a><h3>gdk_pixbuf_get_has_alpha ()</h3>
|
390
|
-
<pre class="programlisting"><a href="
|
417
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
391
418
|
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>
|
392
419
|
<p>Queries whether a pixbuf has an alpha channel (opacity information).</p>
|
393
420
|
<div class="refsect3">
|
394
|
-
<a name="
|
421
|
+
<a name="gdk-pixbuf-get-has-alpha.parameters"></a><h4>Parameters</h4>
|
395
422
|
<div class="informaltable"><table width="100%" border="0">
|
396
423
|
<colgroup>
|
397
424
|
<col width="150px" class="parameters_name">
|
@@ -406,9 +433,8 @@ gdk_pixbuf_get_has_alpha (<em class="parameter"><code>const <a class="link" href
|
|
406
433
|
</table></div>
|
407
434
|
</div>
|
408
435
|
<div class="refsect3">
|
409
|
-
<a name="
|
410
|
-
<p> <a href="
|
411
|
-
<p></p>
|
436
|
+
<a name="gdk-pixbuf-get-has-alpha.returns"></a><h4>Returns</h4>
|
437
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win32/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.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
412
438
|
</div>
|
413
439
|
</div>
|
414
440
|
<hr>
|
@@ -418,7 +444,7 @@ gdk_pixbuf_get_has_alpha (<em class="parameter"><code>const <a class="link" href
|
|
418
444
|
gdk_pixbuf_get_bits_per_sample (<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
445
|
<p>Queries the number of bits per color sample in a pixbuf.</p>
|
420
446
|
<div class="refsect3">
|
421
|
-
<a name="
|
447
|
+
<a name="gdk-pixbuf-get-bits-per-sample.parameters"></a><h4>Parameters</h4>
|
422
448
|
<div class="informaltable"><table width="100%" border="0">
|
423
449
|
<colgroup>
|
424
450
|
<col width="150px" class="parameters_name">
|
@@ -433,19 +459,18 @@ gdk_pixbuf_get_bits_per_sample (<em class="parameter"><code>const <a class="link
|
|
433
459
|
</table></div>
|
434
460
|
</div>
|
435
461
|
<div class="refsect3">
|
436
|
-
<a name="
|
462
|
+
<a name="gdk-pixbuf-get-bits-per-sample.returns"></a><h4>Returns</h4>
|
437
463
|
<p> Number of bits per color sample.</p>
|
438
|
-
<p></p>
|
439
464
|
</div>
|
440
465
|
</div>
|
441
466
|
<hr>
|
442
467
|
<div class="refsect2">
|
443
468
|
<a name="gdk-pixbuf-get-pixels"></a><h3>gdk_pixbuf_get_pixels ()</h3>
|
444
|
-
<pre class="programlisting"><a href="
|
469
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> *
|
445
470
|
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>
|
446
471
|
<p>Queries a pointer to the pixel data of a pixbuf.</p>
|
447
472
|
<div class="refsect3">
|
448
|
-
<a name="
|
473
|
+
<a name="gdk-pixbuf-get-pixels.parameters"></a><h4>Parameters</h4>
|
449
474
|
<div class="informaltable"><table width="100%" border="0">
|
450
475
|
<colgroup>
|
451
476
|
<col width="150px" class="parameters_name">
|
@@ -460,22 +485,25 @@ gdk_pixbuf_get_pixels (<em class="parameter"><code>const <a class="link" href="g
|
|
460
485
|
</table></div>
|
461
486
|
</div>
|
462
487
|
<div class="refsect3">
|
463
|
-
<a name="
|
488
|
+
<a name="gdk-pixbuf-get-pixels.returns"></a><h4>Returns</h4>
|
464
489
|
<p> A pointer to the pixbuf's pixel data.
|
465
490
|
Please see the section on <a class="ulink" href="image-data" target="_top">image data</a> for information
|
466
|
-
about how the pixel data is stored in memory
|
491
|
+
about how the pixel data is stored in memory.</p>
|
492
|
+
<p>This function will cause an implicit copy of the pixbuf data if the
|
493
|
+
pixbuf was created from read-only data. </p>
|
467
494
|
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym>]</span></p>
|
468
495
|
</div>
|
469
496
|
</div>
|
470
497
|
<hr>
|
471
498
|
<div class="refsect2">
|
472
499
|
<a name="gdk-pixbuf-get-pixels-with-length"></a><h3>gdk_pixbuf_get_pixels_with_length ()</h3>
|
473
|
-
<pre class="programlisting"><a href="
|
500
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> *
|
474
501
|
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>,
|
475
|
-
<em class="parameter"><code><a href="
|
502
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *length</code></em>);</pre>
|
476
503
|
<p>Queries a pointer to the pixel data of a pixbuf.</p>
|
504
|
+
<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>
|
477
505
|
<div class="refsect3">
|
478
|
-
<a name="
|
506
|
+
<a name="gdk-pixbuf-get-pixels-with-length.parameters"></a><h4>Parameters</h4>
|
479
507
|
<div class="informaltable"><table width="100%" border="0">
|
480
508
|
<colgroup>
|
481
509
|
<col width="150px" class="parameters_name">
|
@@ -497,14 +525,15 @@ gdk_pixbuf_get_pixels_with_length (<em class="parameter"><code>const <a class="l
|
|
497
525
|
</table></div>
|
498
526
|
</div>
|
499
527
|
<div class="refsect3">
|
500
|
-
<a name="
|
528
|
+
<a name="gdk-pixbuf-get-pixels-with-length.returns"></a><h4>Returns</h4>
|
501
529
|
<p> A pointer to the pixbuf's
|
502
530
|
pixel data. Please see the section on <a class="ulink" href="image-data" target="_top">image data</a>
|
503
531
|
for information about how the pixel data is stored in memory.</p>
|
504
|
-
<p>
|
532
|
+
<p>This function will cause an implicit copy of the pixbuf data if the
|
533
|
+
pixbuf was created from read-only data. </p>
|
505
534
|
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length]</span></p>
|
506
535
|
</div>
|
507
|
-
<p class="since">Since 2.26</p>
|
536
|
+
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
508
537
|
</div>
|
509
538
|
<hr>
|
510
539
|
<div class="refsect2">
|
@@ -513,7 +542,7 @@ for information about how the pixel data is stored in memory.</p>
|
|
513
542
|
gdk_pixbuf_get_width (<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>
|
514
543
|
<p>Queries the width of a pixbuf.</p>
|
515
544
|
<div class="refsect3">
|
516
|
-
<a name="
|
545
|
+
<a name="gdk-pixbuf-get-width.parameters"></a><h4>Parameters</h4>
|
517
546
|
<div class="informaltable"><table width="100%" border="0">
|
518
547
|
<colgroup>
|
519
548
|
<col width="150px" class="parameters_name">
|
@@ -528,9 +557,8 @@ gdk_pixbuf_get_width (<em class="parameter"><code>const <a class="link" href="gd
|
|
528
557
|
</table></div>
|
529
558
|
</div>
|
530
559
|
<div class="refsect3">
|
531
|
-
<a name="
|
560
|
+
<a name="gdk-pixbuf-get-width.returns"></a><h4>Returns</h4>
|
532
561
|
<p> Width in pixels.</p>
|
533
|
-
<p></p>
|
534
562
|
</div>
|
535
563
|
</div>
|
536
564
|
<hr>
|
@@ -540,7 +568,7 @@ gdk_pixbuf_get_width (<em class="parameter"><code>const <a class="link" href="gd
|
|
540
568
|
gdk_pixbuf_get_height (<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>
|
541
569
|
<p>Queries the height of a pixbuf.</p>
|
542
570
|
<div class="refsect3">
|
543
|
-
<a name="
|
571
|
+
<a name="gdk-pixbuf-get-height.parameters"></a><h4>Parameters</h4>
|
544
572
|
<div class="informaltable"><table width="100%" border="0">
|
545
573
|
<colgroup>
|
546
574
|
<col width="150px" class="parameters_name">
|
@@ -555,9 +583,8 @@ gdk_pixbuf_get_height (<em class="parameter"><code>const <a class="link" href="g
|
|
555
583
|
</table></div>
|
556
584
|
</div>
|
557
585
|
<div class="refsect3">
|
558
|
-
<a name="
|
586
|
+
<a name="gdk-pixbuf-get-height.returns"></a><h4>Returns</h4>
|
559
587
|
<p> Height in pixels.</p>
|
560
|
-
<p></p>
|
561
588
|
</div>
|
562
589
|
</div>
|
563
590
|
<hr>
|
@@ -568,7 +595,7 @@ gdk_pixbuf_get_rowstride (<em class="parameter"><code>const <a class="link" href
|
|
568
595
|
<p>Queries the rowstride of a pixbuf, which is the number of bytes between
|
569
596
|
the start of a row and the start of the next row.</p>
|
570
597
|
<div class="refsect3">
|
571
|
-
<a name="
|
598
|
+
<a name="gdk-pixbuf-get-rowstride.parameters"></a><h4>Parameters</h4>
|
572
599
|
<div class="informaltable"><table width="100%" border="0">
|
573
600
|
<colgroup>
|
574
601
|
<col width="150px" class="parameters_name">
|
@@ -583,19 +610,18 @@ the start of a row and the start of the next row.</p>
|
|
583
610
|
</table></div>
|
584
611
|
</div>
|
585
612
|
<div class="refsect3">
|
586
|
-
<a name="
|
613
|
+
<a name="gdk-pixbuf-get-rowstride.returns"></a><h4>Returns</h4>
|
587
614
|
<p> Distance between row starts.</p>
|
588
|
-
<p></p>
|
589
615
|
</div>
|
590
616
|
</div>
|
591
617
|
<hr>
|
592
618
|
<div class="refsect2">
|
593
619
|
<a name="gdk-pixbuf-get-byte-length"></a><h3>gdk_pixbuf_get_byte_length ()</h3>
|
594
|
-
<pre class="programlisting"><a href="
|
620
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="returnvalue">gsize</span></a>
|
595
621
|
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>
|
596
622
|
<p>Returns the length of the pixel data, in bytes.</p>
|
597
623
|
<div class="refsect3">
|
598
|
-
<a name="
|
624
|
+
<a name="gdk-pixbuf-get-byte-length.parameters"></a><h4>Parameters</h4>
|
599
625
|
<div class="informaltable"><table width="100%" border="0">
|
600
626
|
<colgroup>
|
601
627
|
<col width="150px" class="parameters_name">
|
@@ -610,31 +636,33 @@ gdk_pixbuf_get_byte_length (<em class="parameter"><code>const <a class="link" hr
|
|
610
636
|
</table></div>
|
611
637
|
</div>
|
612
638
|
<div class="refsect3">
|
613
|
-
<a name="
|
639
|
+
<a name="gdk-pixbuf-get-byte-length.returns"></a><h4>Returns</h4>
|
614
640
|
<p> The length of the pixel data.</p>
|
615
|
-
<p></p>
|
616
641
|
</div>
|
617
|
-
<p class="since">Since 2.26</p>
|
642
|
+
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
618
643
|
</div>
|
619
644
|
<hr>
|
620
645
|
<div class="refsect2">
|
621
646
|
<a name="gdk-pixbuf-get-option"></a><h3>gdk_pixbuf_get_option ()</h3>
|
622
|
-
<pre class="programlisting">const <a href="
|
647
|
+
<pre class="programlisting">const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
623
648
|
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>,
|
624
|
-
<em class="parameter"><code>const <a href="
|
649
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre>
|
625
650
|
<p>Looks up <em class="parameter"><code>key</code></em>
|
626
651
|
in the list of options that may have been attached to the
|
627
652
|
<em class="parameter"><code>pixbuf</code></em>
|
628
653
|
when it was loaded, or that may have been attached by another
|
629
|
-
function using <a class="link" href="gdk-pixbuf-
|
654
|
+
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>
|
630
655
|
<p>For instance, the ANI loader provides "Title" and "Artist" options.
|
631
656
|
The ICO, XBM, and XPM loaders provide "x_hot" and "y_hot" hot-spot
|
632
657
|
options for cursor definitions. The PNG loader provides the tEXt ancillary
|
633
658
|
chunk key/value pairs as options. Since 2.12, the TIFF and JPEG loaders
|
634
659
|
return an "orientation" option string that corresponds to the embedded
|
635
|
-
TIFF/Exif orientation tag (if present)
|
660
|
+
TIFF/Exif orientation tag (if present). Since 2.32, the TIFF loader sets
|
661
|
+
the "multipage" option string to "yes" when a multi-page TIFF is loaded.
|
662
|
+
Since 2.32 the JPEG and PNG loaders set "x-dpi" and "y-dpi" if the file
|
663
|
+
contains image density information in dots per inch.</p>
|
636
664
|
<div class="refsect3">
|
637
|
-
<a name="
|
665
|
+
<a name="gdk-pixbuf-get-option.parameters"></a><h4>Parameters</h4>
|
638
666
|
<div class="informaltable"><table width="100%" border="0">
|
639
667
|
<colgroup>
|
640
668
|
<col width="150px" class="parameters_name">
|
@@ -656,24 +684,126 @@ TIFF/Exif orientation tag (if present).</p>
|
|
656
684
|
</table></div>
|
657
685
|
</div>
|
658
686
|
<div class="refsect3">
|
659
|
-
<a name="
|
687
|
+
<a name="gdk-pixbuf-get-option.returns"></a><h4>Returns</h4>
|
660
688
|
<p> the value associated with <em class="parameter"><code>key</code></em>
|
661
689
|
. This is a nul-terminated
|
662
|
-
string that should not be freed or <a href="
|
690
|
+
string that should not be freed or <a href="/home/vagrant/ruby-gnome2.win32/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>
|
663
691
|
was not found.</p>
|
664
|
-
<p></p>
|
665
692
|
</div>
|
666
693
|
</div>
|
694
|
+
<hr>
|
695
|
+
<div class="refsect2">
|
696
|
+
<a name="gdk-pixbuf-set-option"></a><h3>gdk_pixbuf_set_option ()</h3>
|
697
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
698
|
+
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="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
|
700
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);</pre>
|
701
|
+
<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
|
+
already
|
703
|
+
exists in the list of options attached to <em class="parameter"><code>pixbuf</code></em>
|
704
|
+
, the new value is
|
705
|
+
ignored and <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned.</p>
|
706
|
+
<div class="refsect3">
|
707
|
+
<a name="gdk-pixbuf-set-option.parameters"></a><h4>Parameters</h4>
|
708
|
+
<div class="informaltable"><table width="100%" border="0">
|
709
|
+
<colgroup>
|
710
|
+
<col width="150px" class="parameters_name">
|
711
|
+
<col class="parameters_description">
|
712
|
+
<col width="200px" class="parameters_annotations">
|
713
|
+
</colgroup>
|
714
|
+
<tbody>
|
715
|
+
<tr>
|
716
|
+
<td class="parameter_name"><p>pixbuf</p></td>
|
717
|
+
<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>
|
718
|
+
<td class="parameter_annotations"> </td>
|
719
|
+
</tr>
|
720
|
+
<tr>
|
721
|
+
<td class="parameter_name"><p>key</p></td>
|
722
|
+
<td class="parameter_description"><p>a nul-terminated string.</p></td>
|
723
|
+
<td class="parameter_annotations"> </td>
|
724
|
+
</tr>
|
725
|
+
<tr>
|
726
|
+
<td class="parameter_name"><p>value</p></td>
|
727
|
+
<td class="parameter_description"><p>a nul-terminated string.</p></td>
|
728
|
+
<td class="parameter_annotations"> </td>
|
729
|
+
</tr>
|
730
|
+
</tbody>
|
731
|
+
</table></div>
|
732
|
+
</div>
|
733
|
+
<div class="refsect3">
|
734
|
+
<a name="gdk-pixbuf-set-option.returns"></a><h4>Returns</h4>
|
735
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</p>
|
736
|
+
</div>
|
737
|
+
<p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p>
|
738
|
+
</div>
|
739
|
+
<hr>
|
740
|
+
<div class="refsect2">
|
741
|
+
<a name="gdk-pixbuf-get-options"></a><h3>gdk_pixbuf_get_options ()</h3>
|
742
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html#GHashTable"><span class="returnvalue">GHashTable</span></a> *
|
743
|
+
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="/home/vagrant/ruby-gnome2.win32/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
|
+
attached to the <em class="parameter"><code>pixbuf</code></em>
|
746
|
+
when it was loaded, or that may have been
|
747
|
+
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
|
+
<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
|
+
<div class="refsect3">
|
750
|
+
<a name="gdk-pixbuf-get-options.parameters"></a><h4>Parameters</h4>
|
751
|
+
<div class="informaltable"><table width="100%" border="0">
|
752
|
+
<colgroup>
|
753
|
+
<col width="150px" class="parameters_name">
|
754
|
+
<col class="parameters_description">
|
755
|
+
<col width="200px" class="parameters_annotations">
|
756
|
+
</colgroup>
|
757
|
+
<tbody><tr>
|
758
|
+
<td class="parameter_name"><p>pixbuf</p></td>
|
759
|
+
<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>
|
760
|
+
<td class="parameter_annotations"> </td>
|
761
|
+
</tr></tbody>
|
762
|
+
</table></div>
|
763
|
+
</div>
|
764
|
+
<div class="refsect3">
|
765
|
+
<a name="gdk-pixbuf-get-options.returns"></a><h4>Returns</h4>
|
766
|
+
<p> a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> of key/values. </p>
|
767
|
+
<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
|
+
</div>
|
769
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
770
|
+
</div>
|
771
|
+
<hr>
|
772
|
+
<div class="refsect2">
|
773
|
+
<a name="gdk-pixbuf-read-pixels"></a><h3>gdk_pixbuf_read_pixels ()</h3>
|
774
|
+
<pre class="programlisting">const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="returnvalue">guint8</span></a> *
|
775
|
+
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
|
+
<p>Returns a read-only pointer to the raw pixel data; must not be
|
777
|
+
modified. This function allows skipping the implicit copy that
|
778
|
+
must be made if <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#gdk-pixbuf-get-pixels" title="gdk_pixbuf_get_pixels ()"><code class="function">gdk_pixbuf_get_pixels()</code></a> is called on a read-only
|
779
|
+
pixbuf.</p>
|
780
|
+
<div class="refsect3">
|
781
|
+
<a name="gdk-pixbuf-read-pixels.parameters"></a><h4>Parameters</h4>
|
782
|
+
<div class="informaltable"><table width="100%" border="0">
|
783
|
+
<colgroup>
|
784
|
+
<col width="150px" class="parameters_name">
|
785
|
+
<col class="parameters_description">
|
786
|
+
<col width="200px" class="parameters_annotations">
|
787
|
+
</colgroup>
|
788
|
+
<tbody><tr>
|
789
|
+
<td class="parameter_name"><p>pixbuf</p></td>
|
790
|
+
<td class="parameter_description"><p>A pixbuf</p></td>
|
791
|
+
<td class="parameter_annotations"> </td>
|
792
|
+
</tr></tbody>
|
793
|
+
</table></div>
|
794
|
+
</div>
|
795
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
796
|
+
</div>
|
667
797
|
</div>
|
668
798
|
<div class="refsect1">
|
669
799
|
<a name="gdk-pixbuf-The-GdkPixbuf-Structure.other_details"></a><h2>Types and Values</h2>
|
670
800
|
<div class="refsect2">
|
671
801
|
<a name="GdkPixbufError"></a><h3>enum GdkPixbufError</h3>
|
672
802
|
<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
|
673
|
-
operations can cause errors in this domain, or in the <a href="
|
803
|
+
operations can cause errors in this domain, or in the <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a>
|
674
804
|
domain.</p>
|
675
805
|
<div class="refsect3">
|
676
|
-
<a name="
|
806
|
+
<a name="GdkPixbufError.members"></a><h4>Members</h4>
|
677
807
|
<div class="informaltable"><table width="100%" border="0">
|
678
808
|
<colgroup>
|
679
809
|
<col width="300px" class="enum_members_name">
|
@@ -724,6 +854,13 @@ domain.</p>
|
|
724
854
|
</td>
|
725
855
|
<td class="enum_member_annotations"> </td>
|
726
856
|
</tr>
|
857
|
+
<tr>
|
858
|
+
<td class="enum_member_name"><p><a name="GDK-PIXBUF-ERROR-INCOMPLETE-ANIMATION:CAPS"></a>GDK_PIXBUF_ERROR_INCOMPLETE_ANIMATION</p></td>
|
859
|
+
<td class="enum_member_description">
|
860
|
+
<p>Only part of the animation was loaded.</p>
|
861
|
+
</td>
|
862
|
+
<td class="enum_member_annotations"> </td>
|
863
|
+
</tr>
|
727
864
|
</tbody>
|
728
865
|
</table></div>
|
729
866
|
</div>
|
@@ -734,7 +871,7 @@ domain.</p>
|
|
734
871
|
<pre class="programlisting">#define GDK_PIXBUF_ERROR gdk_pixbuf_error_quark ()
|
735
872
|
</pre>
|
736
873
|
<p>Error domain used for pixbuf operations. Indicates that the error code
|
737
|
-
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="
|
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="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for
|
738
875
|
information on error domains and error codes.</p>
|
739
876
|
</div>
|
740
877
|
<hr>
|
@@ -743,7 +880,7 @@ information on error domains and error codes.</p>
|
|
743
880
|
<p>This enumeration defines the color spaces that are supported by
|
744
881
|
the gdk-pixbuf library. Currently only RGB is supported.</p>
|
745
882
|
<div class="refsect3">
|
746
|
-
<a name="
|
883
|
+
<a name="GdkColorspace.members"></a><h4>Members</h4>
|
747
884
|
<div class="informaltable"><table width="100%" border="0">
|
748
885
|
<colgroup>
|
749
886
|
<col width="300px" class="enum_members_name">
|
@@ -764,7 +901,7 @@ the gdk-pixbuf library. Currently only RGB is supported.</p>
|
|
764
901
|
<div class="refsect2">
|
765
902
|
<a name="GdkPixbufAlphaMode"></a><h3>enum GdkPixbufAlphaMode</h3>
|
766
903
|
<p>These values can be passed to
|
767
|
-
<a href="http://library.gnome.org/devel/
|
904
|
+
<a href="http://library.gnome.org/devel/gdk2/gdk2-Pixbufs.html#gdk-pixbuf-render-to-drawable-alpha"><code class="function">gdk_pixbuf_render_to_drawable_alpha()</code></a> to control how the alpha
|
768
905
|
channel of an image should be handled. This function can create a
|
769
906
|
bilevel clipping mask (black and white) and use it while painting
|
770
907
|
the image. In the future, when the X Window System gets an alpha
|
@@ -772,7 +909,7 @@ channel extension, it will be possible to do full alpha
|
|
772
909
|
compositing onto arbitrary drawables. For now both cases fall
|
773
910
|
back to a bilevel clipping mask.</p>
|
774
911
|
<div class="refsect3">
|
775
|
-
<a name="
|
912
|
+
<a name="GdkPixbufAlphaMode.members"></a><h4>Members</h4>
|
776
913
|
<div class="informaltable"><table width="100%" border="0">
|
777
914
|
<colgroup>
|
778
915
|
<col width="300px" class="enum_members_name">
|
@@ -817,7 +954,7 @@ one row and the start of the next).</p>
|
|
817
954
|
<a name="gdk-pixbuf-The-GdkPixbuf-Structure.property-details"></a><h2>Property Details</h2>
|
818
955
|
<div class="refsect2">
|
819
956
|
<a name="GdkPixbuf--bits-per-sample"></a><h3>The <code class="literal">“bits-per-sample”</code> property</h3>
|
820
|
-
<pre class="programlisting"> “bits-per-sample” <a href="
|
957
|
+
<pre class="programlisting"> “bits-per-sample” <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
821
958
|
<p>The number of bits per sample.
|
822
959
|
|
823
960
|
Currently only 8 bit per sample are supported.</p>
|
@@ -836,7 +973,7 @@ Currently only 8 bit per sample are supported.</p>
|
|
836
973
|
<hr>
|
837
974
|
<div class="refsect2">
|
838
975
|
<a name="GdkPixbuf--has-alpha"></a><h3>The <code class="literal">“has-alpha”</code> property</h3>
|
839
|
-
<pre class="programlisting"> “has-alpha” <a href="
|
976
|
+
<pre class="programlisting"> “has-alpha” <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
840
977
|
<p>Whether the pixbuf has an alpha channel.</p>
|
841
978
|
<p>Flags: Read / Write / Construct Only</p>
|
842
979
|
<p>Default value: FALSE</p>
|
@@ -844,7 +981,7 @@ Currently only 8 bit per sample are supported.</p>
|
|
844
981
|
<hr>
|
845
982
|
<div class="refsect2">
|
846
983
|
<a name="GdkPixbuf--height"></a><h3>The <code class="literal">“height”</code> property</h3>
|
847
|
-
<pre class="programlisting"> “height” <a href="
|
984
|
+
<pre class="programlisting"> “height” <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
848
985
|
<p>The number of rows of the pixbuf.</p>
|
849
986
|
<p>Flags: Read / Write / Construct Only</p>
|
850
987
|
<p>Allowed values: >= 1</p>
|
@@ -853,7 +990,7 @@ Currently only 8 bit per sample are supported.</p>
|
|
853
990
|
<hr>
|
854
991
|
<div class="refsect2">
|
855
992
|
<a name="GdkPixbuf--n-channels"></a><h3>The <code class="literal">“n-channels”</code> property</h3>
|
856
|
-
<pre class="programlisting"> “n-channels” <a href="
|
993
|
+
<pre class="programlisting"> “n-channels” <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
857
994
|
<p>The number of samples per pixel.
|
858
995
|
|
859
996
|
Currently, only 3 or 4 samples per pixel are supported.</p>
|
@@ -863,15 +1000,22 @@ Currently, only 3 or 4 samples per pixel are supported.</p>
|
|
863
1000
|
</div>
|
864
1001
|
<hr>
|
865
1002
|
<div class="refsect2">
|
1003
|
+
<a name="GdkPixbuf--pixel-bytes"></a><h3>The <code class="literal">“pixel-bytes”</code> property</h3>
|
1004
|
+
<pre class="programlisting"> “pixel-bytes” <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a> *</pre>
|
1005
|
+
<p>Readonly pixel data.</p>
|
1006
|
+
<p>Flags: Read / Write / Construct Only</p>
|
1007
|
+
</div>
|
1008
|
+
<hr>
|
1009
|
+
<div class="refsect2">
|
866
1010
|
<a name="GdkPixbuf--pixels"></a><h3>The <code class="literal">“pixels”</code> property</h3>
|
867
|
-
<pre class="programlisting"> “pixels” <a href="
|
1011
|
+
<pre class="programlisting"> “pixels” <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a></pre>
|
868
1012
|
<p>A pointer to the pixel data of the pixbuf.</p>
|
869
1013
|
<p>Flags: Read / Write / Construct Only</p>
|
870
1014
|
</div>
|
871
1015
|
<hr>
|
872
1016
|
<div class="refsect2">
|
873
1017
|
<a name="GdkPixbuf--rowstride"></a><h3>The <code class="literal">“rowstride”</code> property</h3>
|
874
|
-
<pre class="programlisting"> “rowstride” <a href="
|
1018
|
+
<pre class="programlisting"> “rowstride” <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
875
1019
|
<p>The number of bytes between the start of a row and
|
876
1020
|
|
877
1021
|
the start of the next row. This number must (obviously)
|
@@ -883,7 +1027,7 @@ be at least as large as the width of the pixbuf.</p>
|
|
883
1027
|
<hr>
|
884
1028
|
<div class="refsect2">
|
885
1029
|
<a name="GdkPixbuf--width"></a><h3>The <code class="literal">“width”</code> property</h3>
|
886
|
-
<pre class="programlisting"> “width” <a href="
|
1030
|
+
<pre class="programlisting"> “width” <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
887
1031
|
<p>The number of columns of the pixbuf.</p>
|
888
1032
|
<p>Flags: Read / Write / Construct Only</p>
|
889
1033
|
<p>Allowed values: >= 1</p>
|
@@ -892,7 +1036,6 @@ be at least as large as the width of the pixbuf.</p>
|
|
892
1036
|
</div>
|
893
1037
|
</div>
|
894
1038
|
<div class="footer">
|
895
|
-
<hr>
|
896
|
-
Generated by GTK-Doc V1.20.1</div>
|
1039
|
+
<hr>Generated by GTK-Doc V1.25.1</div>
|
897
1040
|
</body>
|
898
1041
|
</html>
|