gdk_pixbuf2 3.0.7-x64-mingw32 → 3.0.8-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +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
Binary file
|
Binary file
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# libgdk_pixbuf-2.0.la - a libtool library file
|
2
|
-
# Generated by libtool (GNU libtool) 2.4.
|
2
|
+
# Generated by libtool (GNU libtool) 2.4.6
|
3
3
|
#
|
4
4
|
# Please DO NOT delete this file!
|
5
5
|
# It is necessary for linking the library.
|
@@ -13,19 +13,19 @@ library_names='libgdk_pixbuf-2.0.dll.a'
|
|
13
13
|
# The name of the static archive.
|
14
14
|
old_library=''
|
15
15
|
|
16
|
-
# Linker flags that
|
16
|
+
# Linker flags that cannot go in dependency_libs.
|
17
17
|
inherited_linker_flags=' -pthread'
|
18
18
|
|
19
19
|
# Libraries that this one depends upon.
|
20
|
-
dependency_libs=' -L/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib -L/home/vagrant/rcairo.win64/vendor/local/lib -L/home/vagrant/ruby-gnome2.win64/gdk_pixbuf2/vendor/local/lib /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libgio-2.0.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libgmodule-2.0.la -ldnsapi -liphlpapi /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libgobject-2.0.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libffi.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libglib-2.0.la -lws2_32 -lwinmm -lshlwapi /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libintl.la /home/vagrant/rcairo.win64/vendor/local/lib/libpng16.la -lz -lole32'
|
20
|
+
dependency_libs=' -R/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib -L/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib -L/home/vagrant/rcairo.win64/vendor/local/lib -L/home/vagrant/ruby-gnome2.win64/gdk_pixbuf2/vendor/local/lib /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libgio-2.0.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libgmodule-2.0.la -ldnsapi -liphlpapi /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libgobject-2.0.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libffi.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libglib-2.0.la -lws2_32 -lwinmm -lshlwapi /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libpcre.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libintl.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libiconv.la /home/vagrant/rcairo.win64/vendor/local/lib/libpng16.la -lz -lole32'
|
21
21
|
|
22
22
|
# Names of additional weak libraries provided by this library
|
23
23
|
weak_library_names=''
|
24
24
|
|
25
25
|
# Version information for libgdk_pixbuf-2.0.
|
26
|
-
current=
|
27
|
-
age=
|
28
|
-
revision=
|
26
|
+
current=3400
|
27
|
+
age=3400
|
28
|
+
revision=0
|
29
29
|
|
30
30
|
# Is this an already installed library?
|
31
31
|
installed=yes
|
@@ -10,7 +10,7 @@ gdk_pixbuf_cache_file=${gdk_pixbuf_binarydir}/loaders.cache
|
|
10
10
|
|
11
11
|
Name: GdkPixbuf
|
12
12
|
Description: Image loading and scaling
|
13
|
-
Version: 2.
|
13
|
+
Version: 2.34.0
|
14
14
|
Requires: gobject-2.0
|
15
15
|
Requires.private: gmodule-no-export-2.0 libpng16
|
16
16
|
Libs: -L${libdir} -lgdk_pixbuf-2.0
|
@@ -97,17 +97,17 @@ the gdk-pixbuf library. Currently only RGB is supported.</doc>
|
|
97
97
|
"0.8.2" for example.</doc>
|
98
98
|
<type name="gint" c:type="gint"/>
|
99
99
|
</constant>
|
100
|
-
<constant name="PIXBUF_MICRO" value="
|
100
|
+
<constant name="PIXBUF_MICRO" value="0" c:type="GDK_PIXBUF_MICRO">
|
101
101
|
<doc xml:space="preserve">Micro version of gdk-pixbuf library, that is the "2" in
|
102
102
|
"0.8.2" for example.</doc>
|
103
103
|
<type name="gint" c:type="gint"/>
|
104
104
|
</constant>
|
105
|
-
<constant name="PIXBUF_MINOR" value="
|
105
|
+
<constant name="PIXBUF_MINOR" value="34" c:type="GDK_PIXBUF_MINOR">
|
106
106
|
<doc xml:space="preserve">Minor version of gdk-pixbuf library, that is the "8" in
|
107
107
|
"0.8.2" for example.</doc>
|
108
108
|
<type name="gint" c:type="gint"/>
|
109
109
|
</constant>
|
110
|
-
<constant name="PIXBUF_VERSION" value="2.
|
110
|
+
<constant name="PIXBUF_VERSION" value="2.34.0" c:type="GDK_PIXBUF_VERSION">
|
111
111
|
<doc xml:space="preserve">Contains the full version of the gdk-pixbuf header as a string.
|
112
112
|
This is the version being compiled against; contrast with
|
113
113
|
#gdk_pixbuf_version.</doc>
|
@@ -164,10 +164,59 @@ you will have to fill it completely yourself.</doc>
|
|
164
164
|
</parameter>
|
165
165
|
</parameters>
|
166
166
|
</constructor>
|
167
|
+
<constructor name="new_from_bytes"
|
168
|
+
c:identifier="gdk_pixbuf_new_from_bytes"
|
169
|
+
version="2.32">
|
170
|
+
<doc xml:space="preserve">Creates a new #GdkPixbuf out of in-memory readonly image data.
|
171
|
+
Currently only RGB images with 8 bits per sample are supported.
|
172
|
+
This is the #GBytes variant of gdk_pixbuf_new_from_data().</doc>
|
173
|
+
<return-value transfer-ownership="full">
|
174
|
+
<doc xml:space="preserve">A newly-created #GdkPixbuf structure with a reference count of 1.</doc>
|
175
|
+
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
176
|
+
</return-value>
|
177
|
+
<parameters>
|
178
|
+
<parameter name="data" transfer-ownership="none">
|
179
|
+
<doc xml:space="preserve">Image data in 8-bit/sample packed format inside a #GBytes</doc>
|
180
|
+
<type name="GLib.Bytes" c:type="GBytes*"/>
|
181
|
+
</parameter>
|
182
|
+
<parameter name="colorspace" transfer-ownership="none">
|
183
|
+
<doc xml:space="preserve">Colorspace for the image data</doc>
|
184
|
+
<type name="Colorspace" c:type="GdkColorspace"/>
|
185
|
+
</parameter>
|
186
|
+
<parameter name="has_alpha" transfer-ownership="none">
|
187
|
+
<doc xml:space="preserve">Whether the data has an opacity channel</doc>
|
188
|
+
<type name="gboolean" c:type="gboolean"/>
|
189
|
+
</parameter>
|
190
|
+
<parameter name="bits_per_sample" transfer-ownership="none">
|
191
|
+
<doc xml:space="preserve">Number of bits per sample</doc>
|
192
|
+
<type name="gint" c:type="int"/>
|
193
|
+
</parameter>
|
194
|
+
<parameter name="width" transfer-ownership="none">
|
195
|
+
<doc xml:space="preserve">Width of the image in pixels, must be > 0</doc>
|
196
|
+
<type name="gint" c:type="int"/>
|
197
|
+
</parameter>
|
198
|
+
<parameter name="height" transfer-ownership="none">
|
199
|
+
<doc xml:space="preserve">Height of the image in pixels, must be > 0</doc>
|
200
|
+
<type name="gint" c:type="int"/>
|
201
|
+
</parameter>
|
202
|
+
<parameter name="rowstride" transfer-ownership="none">
|
203
|
+
<doc xml:space="preserve">Distance in bytes between row starts</doc>
|
204
|
+
<type name="gint" c:type="int"/>
|
205
|
+
</parameter>
|
206
|
+
</parameters>
|
207
|
+
</constructor>
|
167
208
|
<constructor name="new_from_data"
|
168
209
|
c:identifier="gdk_pixbuf_new_from_data">
|
169
210
|
<doc xml:space="preserve">Creates a new #GdkPixbuf out of in-memory image data. Currently only RGB
|
170
|
-
images with 8 bits per sample are supported
|
211
|
+
images with 8 bits per sample are supported.
|
212
|
+
|
213
|
+
Since you are providing a pre-allocated pixel buffer, you must also
|
214
|
+
specify a way to free that data. This is done with a function of
|
215
|
+
type #GdkPixbufDestroyNotify. When a pixbuf created with is
|
216
|
+
finalized, your destroy notification function will be called, and
|
217
|
+
it is its responsibility to free the pixel array.
|
218
|
+
|
219
|
+
See also gdk_pixbuf_new_from_bytes().</doc>
|
171
220
|
<return-value transfer-ownership="full">
|
172
221
|
<doc xml:space="preserve">A newly-created #GdkPixbuf structure with a reference count of 1.</doc>
|
173
222
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
@@ -213,7 +262,10 @@ images with 8 bits per sample are supported.</doc>
|
|
213
262
|
drops to zero, or %NULL if the data should not be freed</doc>
|
214
263
|
<type name="PixbufDestroyNotify" c:type="GdkPixbufDestroyNotify"/>
|
215
264
|
</parameter>
|
216
|
-
<parameter name="destroy_fn_data"
|
265
|
+
<parameter name="destroy_fn_data"
|
266
|
+
transfer-ownership="none"
|
267
|
+
nullable="1"
|
268
|
+
allow-none="1">
|
217
269
|
<doc xml:space="preserve">Closure data to pass to the destroy notification function</doc>
|
218
270
|
<type name="gpointer" c:type="gpointer"/>
|
219
271
|
</parameter>
|
@@ -272,6 +324,8 @@ drops to zero, or %NULL if the data should not be freed</doc>
|
|
272
324
|
</constructor>
|
273
325
|
<constructor name="new_from_inline"
|
274
326
|
c:identifier="gdk_pixbuf_new_from_inline"
|
327
|
+
deprecated="1"
|
328
|
+
deprecated-version="2.32"
|
275
329
|
throws="1">
|
276
330
|
<doc xml:space="preserve">Create a #GdkPixbuf from a flat representation that is suitable for
|
277
331
|
storing as inline data in a program. This is useful if you want to
|
@@ -303,6 +357,7 @@ pixbuf = gdk_pixbuf_new_from_inline (-1, myimage_inline, FALSE, NULL);
|
|
303
357
|
For non-const inline data, you could get out of memory. For untrusted
|
304
358
|
inline data located at runtime, you could have corrupt inline data in
|
305
359
|
addition.</doc>
|
360
|
+
<doc-deprecated xml:space="preserve">Use #GResource instead.</doc-deprecated>
|
306
361
|
<return-value transfer-ownership="full">
|
307
362
|
<doc xml:space="preserve">A newly-created #GdkPixbuf structure with a reference,
|
308
363
|
count of 1, or %NULL if an error occurred.</doc>
|
@@ -522,10 +577,13 @@ the result of including an XPM file into a program's C source.</doc>
|
|
522
577
|
</constructor>
|
523
578
|
<function name="from_pixdata"
|
524
579
|
c:identifier="gdk_pixbuf_from_pixdata"
|
580
|
+
deprecated="1"
|
581
|
+
deprecated-version="2.32"
|
525
582
|
throws="1">
|
526
583
|
<doc xml:space="preserve">Converts a #GdkPixdata to a #GdkPixbuf. If @copy_pixels is %TRUE or
|
527
584
|
if the pixel data is run-length-encoded, the pixel data is copied into
|
528
585
|
newly-allocated memory; otherwise it is reused.</doc>
|
586
|
+
<doc-deprecated xml:space="preserve">Use #GResource instead.</doc-deprecated>
|
529
587
|
<return-value transfer-ownership="full">
|
530
588
|
<doc xml:space="preserve">a new #GdkPixbuf.</doc>
|
531
589
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
@@ -580,6 +638,85 @@ newly-allocated memory; otherwise it is reused.</doc>
|
|
580
638
|
</parameter>
|
581
639
|
</parameters>
|
582
640
|
</function>
|
641
|
+
<function name="get_file_info_async"
|
642
|
+
c:identifier="gdk_pixbuf_get_file_info_async"
|
643
|
+
version="2.32">
|
644
|
+
<doc xml:space="preserve">Asynchronously parses an image file far enough to determine its
|
645
|
+
format and size.
|
646
|
+
|
647
|
+
For more details see gdk_pixbuf_get_file_info(), which is the synchronous
|
648
|
+
version of this function.
|
649
|
+
|
650
|
+
When the operation is finished, @callback will be called in the
|
651
|
+
main thread. You can then call gdk_pixbuf_get_file_info_finish() to
|
652
|
+
get the result of the operation.</doc>
|
653
|
+
<return-value transfer-ownership="none">
|
654
|
+
<type name="none" c:type="void"/>
|
655
|
+
</return-value>
|
656
|
+
<parameters>
|
657
|
+
<parameter name="filename" transfer-ownership="none">
|
658
|
+
<doc xml:space="preserve">The name of the file to identify</doc>
|
659
|
+
<type name="utf8" c:type="const gchar*"/>
|
660
|
+
</parameter>
|
661
|
+
<parameter name="cancellable"
|
662
|
+
transfer-ownership="none"
|
663
|
+
nullable="1"
|
664
|
+
allow-none="1">
|
665
|
+
<doc xml:space="preserve">optional #GCancellable object, %NULL to ignore</doc>
|
666
|
+
<type name="Gio.Cancellable" c:type="GCancellable*"/>
|
667
|
+
</parameter>
|
668
|
+
<parameter name="callback"
|
669
|
+
transfer-ownership="none"
|
670
|
+
nullable="1"
|
671
|
+
allow-none="1"
|
672
|
+
scope="async"
|
673
|
+
closure="3">
|
674
|
+
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the the pixbuf is loaded</doc>
|
675
|
+
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
|
676
|
+
</parameter>
|
677
|
+
<parameter name="user_data"
|
678
|
+
transfer-ownership="none"
|
679
|
+
nullable="1"
|
680
|
+
allow-none="1">
|
681
|
+
<doc xml:space="preserve">the data to pass to the callback function</doc>
|
682
|
+
<type name="gpointer" c:type="gpointer"/>
|
683
|
+
</parameter>
|
684
|
+
</parameters>
|
685
|
+
</function>
|
686
|
+
<function name="get_file_info_finish"
|
687
|
+
c:identifier="gdk_pixbuf_get_file_info_finish"
|
688
|
+
version="2.32"
|
689
|
+
throws="1">
|
690
|
+
<doc xml:space="preserve">Finishes an asynchronous pixbuf parsing operation started with
|
691
|
+
gdk_pixbuf_get_file_info_async().</doc>
|
692
|
+
<return-value transfer-ownership="none">
|
693
|
+
<doc xml:space="preserve">A #GdkPixbufFormat describing the image
|
694
|
+
format of the file or %NULL if the image format wasn't
|
695
|
+
recognized. The return value is owned by GdkPixbuf and should
|
696
|
+
not be freed.</doc>
|
697
|
+
<type name="PixbufFormat" c:type="GdkPixbufFormat*"/>
|
698
|
+
</return-value>
|
699
|
+
<parameters>
|
700
|
+
<parameter name="async_result" transfer-ownership="none">
|
701
|
+
<doc xml:space="preserve">a #GAsyncResult</doc>
|
702
|
+
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
|
703
|
+
</parameter>
|
704
|
+
<parameter name="width"
|
705
|
+
direction="out"
|
706
|
+
caller-allocates="0"
|
707
|
+
transfer-ownership="full">
|
708
|
+
<doc xml:space="preserve">Return location for the width of the image, or %NULL</doc>
|
709
|
+
<type name="gint" c:type="gint*"/>
|
710
|
+
</parameter>
|
711
|
+
<parameter name="height"
|
712
|
+
direction="out"
|
713
|
+
caller-allocates="0"
|
714
|
+
transfer-ownership="full">
|
715
|
+
<doc xml:space="preserve">Return location for the height of the image, or %NULL</doc>
|
716
|
+
<type name="gint" c:type="gint*"/>
|
717
|
+
</parameter>
|
718
|
+
</parameters>
|
719
|
+
</function>
|
583
720
|
<function name="get_formats"
|
584
721
|
c:identifier="gdk_pixbuf_get_formats"
|
585
722
|
version="2.2">
|
@@ -595,16 +732,6 @@ owned by #GdkPixbuf and should not be freed.</doc>
|
|
595
732
|
</type>
|
596
733
|
</return-value>
|
597
734
|
</function>
|
598
|
-
<function name="gettext" c:identifier="gdk_pixbuf_gettext">
|
599
|
-
<return-value transfer-ownership="none">
|
600
|
-
<type name="utf8" c:type="const gchar*"/>
|
601
|
-
</return-value>
|
602
|
-
<parameters>
|
603
|
-
<parameter name="msgid" transfer-ownership="none">
|
604
|
-
<type name="utf8" c:type="const gchar*"/>
|
605
|
-
</parameter>
|
606
|
-
</parameters>
|
607
|
-
</function>
|
608
735
|
<function name="new_from_stream_async"
|
609
736
|
c:identifier="gdk_pixbuf_new_from_stream_async"
|
610
737
|
version="2.24">
|
@@ -639,7 +766,10 @@ You can then call gdk_pixbuf_new_from_stream_finish() to get the result of the o
|
|
639
766
|
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the the pixbuf is loaded</doc>
|
640
767
|
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
|
641
768
|
</parameter>
|
642
|
-
<parameter name="user_data"
|
769
|
+
<parameter name="user_data"
|
770
|
+
transfer-ownership="none"
|
771
|
+
nullable="1"
|
772
|
+
allow-none="1">
|
643
773
|
<doc xml:space="preserve">the data to pass to the callback function</doc>
|
644
774
|
<type name="gpointer" c:type="gpointer"/>
|
645
775
|
</parameter>
|
@@ -691,7 +821,10 @@ You can then call gdk_pixbuf_new_from_stream_finish() to get the result of the o
|
|
691
821
|
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the the pixbuf is loaded</doc>
|
692
822
|
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
|
693
823
|
</parameter>
|
694
|
-
<parameter name="user_data"
|
824
|
+
<parameter name="user_data"
|
825
|
+
transfer-ownership="none"
|
826
|
+
nullable="1"
|
827
|
+
allow-none="1">
|
695
828
|
<doc xml:space="preserve">the data to pass to the callback function</doc>
|
696
829
|
<type name="gpointer" c:type="gpointer"/>
|
697
830
|
</parameter>
|
@@ -1159,7 +1292,10 @@ The ICO, XBM, and XPM loaders provide "x_hot" and "y_hot" hot-spot
|
|
1159
1292
|
options for cursor definitions. The PNG loader provides the tEXt ancillary
|
1160
1293
|
chunk key/value pairs as options. Since 2.12, the TIFF and JPEG loaders
|
1161
1294
|
return an "orientation" option string that corresponds to the embedded
|
1162
|
-
TIFF/Exif orientation tag (if present)
|
1295
|
+
TIFF/Exif orientation tag (if present). Since 2.32, the TIFF loader sets
|
1296
|
+
the "multipage" option string to "yes" when a multi-page TIFF is loaded.
|
1297
|
+
Since 2.32 the JPEG and PNG loaders set "x-dpi" and "y-dpi" if the file
|
1298
|
+
contains image density information in dots per inch.</doc>
|
1163
1299
|
<return-value transfer-ownership="none">
|
1164
1300
|
<doc xml:space="preserve">the value associated with @key. This is a nul-terminated
|
1165
1301
|
string that should not be freed or %NULL if @key was not found.</doc>
|
@@ -1176,6 +1312,28 @@ string that should not be freed or %NULL if @key was not found.</doc>
|
|
1176
1312
|
</parameter>
|
1177
1313
|
</parameters>
|
1178
1314
|
</method>
|
1315
|
+
<method name="get_options"
|
1316
|
+
c:identifier="gdk_pixbuf_get_options"
|
1317
|
+
version="2.32">
|
1318
|
+
<doc xml:space="preserve">Returns a #GHashTable with a list of all the options that may have been
|
1319
|
+
attached to the @pixbuf when it was loaded, or that may have been
|
1320
|
+
attached by another function using gdk_pixbuf_set_option().
|
1321
|
+
|
1322
|
+
See gdk_pixbuf_get_option() for more details.</doc>
|
1323
|
+
<return-value transfer-ownership="container">
|
1324
|
+
<doc xml:space="preserve">a #GHashTable of key/values</doc>
|
1325
|
+
<type name="GLib.HashTable" c:type="GHashTable*">
|
1326
|
+
<type name="utf8"/>
|
1327
|
+
<type name="utf8"/>
|
1328
|
+
</type>
|
1329
|
+
</return-value>
|
1330
|
+
<parameters>
|
1331
|
+
<instance-parameter name="pixbuf" transfer-ownership="none">
|
1332
|
+
<doc xml:space="preserve">a #GdkPixbuf</doc>
|
1333
|
+
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
1334
|
+
</instance-parameter>
|
1335
|
+
</parameters>
|
1336
|
+
</method>
|
1179
1337
|
<method name="get_pixels"
|
1180
1338
|
c:identifier="gdk_pixbuf_get_pixels"
|
1181
1339
|
shadowed-by="get_pixels_with_length">
|
@@ -1183,7 +1341,10 @@ string that should not be freed or %NULL if @key was not found.</doc>
|
|
1183
1341
|
<return-value transfer-ownership="none">
|
1184
1342
|
<doc xml:space="preserve">A pointer to the pixbuf's pixel data.
|
1185
1343
|
Please see the section on [image data](image-data) for information
|
1186
|
-
about how the pixel data is stored in memory
|
1344
|
+
about how the pixel data is stored in memory.
|
1345
|
+
|
1346
|
+
This function will cause an implicit copy of the pixbuf data if the
|
1347
|
+
pixbuf was created from read-only data.</doc>
|
1187
1348
|
<array zero-terminated="0" c:type="guchar*">
|
1188
1349
|
<type name="guint8" c:type="guchar"/>
|
1189
1350
|
</array>
|
@@ -1203,7 +1364,10 @@ about how the pixel data is stored in memory.</doc>
|
|
1203
1364
|
<return-value transfer-ownership="none">
|
1204
1365
|
<doc xml:space="preserve">A pointer to the pixbuf's
|
1205
1366
|
pixel data. Please see the section on [image data](image-data)
|
1206
|
-
for information about how the pixel data is stored in memory
|
1367
|
+
for information about how the pixel data is stored in memory.
|
1368
|
+
|
1369
|
+
This function will cause an implicit copy of the pixbuf data if the
|
1370
|
+
pixbuf was created from read-only data.</doc>
|
1207
1371
|
<array length="0" zero-terminated="0" c:type="guchar*">
|
1208
1372
|
<type name="guint8" c:type="guchar"/>
|
1209
1373
|
</array>
|
@@ -1250,12 +1414,14 @@ the start of a row and the start of the next row.</doc>
|
|
1250
1414
|
</parameters>
|
1251
1415
|
</method>
|
1252
1416
|
<method name="new_subpixbuf" c:identifier="gdk_pixbuf_new_subpixbuf">
|
1253
|
-
<doc xml:space="preserve">Creates a new pixbuf which represents a sub-region of
|
1254
|
-
|
1255
|
-
|
1256
|
-
|
1257
|
-
|
1258
|
-
|
1417
|
+
<doc xml:space="preserve">Creates a new pixbuf which represents a sub-region of @src_pixbuf.
|
1418
|
+
The new pixbuf shares its pixels with the original pixbuf, so
|
1419
|
+
writing to one affects both. The new pixbuf holds a reference to
|
1420
|
+
@src_pixbuf, so @src_pixbuf will not be finalized until the new
|
1421
|
+
pixbuf is finalized.
|
1422
|
+
|
1423
|
+
Note that if @src_pixbuf is read-only, this function will force it
|
1424
|
+
to be mutable.</doc>
|
1259
1425
|
<return-value transfer-ownership="full">
|
1260
1426
|
<doc xml:space="preserve">a new pixbuf</doc>
|
1261
1427
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
@@ -1283,6 +1449,40 @@ is finalized.</doc>
|
|
1283
1449
|
</parameter>
|
1284
1450
|
</parameters>
|
1285
1451
|
</method>
|
1452
|
+
<method name="read_pixel_bytes"
|
1453
|
+
c:identifier="gdk_pixbuf_read_pixel_bytes"
|
1454
|
+
version="2.32">
|
1455
|
+
<return-value transfer-ownership="full">
|
1456
|
+
<doc xml:space="preserve">A new reference to a read-only copy of
|
1457
|
+
the pixel data. Note that for mutable pixbufs, this function will
|
1458
|
+
incur a one-time copy of the pixel data for conversion into the
|
1459
|
+
returned #GBytes.</doc>
|
1460
|
+
<type name="GLib.Bytes" c:type="GBytes*"/>
|
1461
|
+
</return-value>
|
1462
|
+
<parameters>
|
1463
|
+
<instance-parameter name="pixbuf" transfer-ownership="none">
|
1464
|
+
<doc xml:space="preserve">A pixbuf</doc>
|
1465
|
+
<type name="Pixbuf" c:type="const GdkPixbuf*"/>
|
1466
|
+
</instance-parameter>
|
1467
|
+
</parameters>
|
1468
|
+
</method>
|
1469
|
+
<method name="read_pixels"
|
1470
|
+
c:identifier="gdk_pixbuf_read_pixels"
|
1471
|
+
version="2.32">
|
1472
|
+
<doc xml:space="preserve">Returns a read-only pointer to the raw pixel data; must not be
|
1473
|
+
modified. This function allows skipping the implicit copy that
|
1474
|
+
must be made if gdk_pixbuf_get_pixels() is called on a read-only
|
1475
|
+
pixbuf.</doc>
|
1476
|
+
<return-value transfer-ownership="none">
|
1477
|
+
<type name="guint8" c:type="const guint8*"/>
|
1478
|
+
</return-value>
|
1479
|
+
<parameters>
|
1480
|
+
<instance-parameter name="pixbuf" transfer-ownership="none">
|
1481
|
+
<doc xml:space="preserve">A pixbuf</doc>
|
1482
|
+
<type name="Pixbuf" c:type="const GdkPixbuf*"/>
|
1483
|
+
</instance-parameter>
|
1484
|
+
</parameters>
|
1485
|
+
</method>
|
1286
1486
|
<method name="ref"
|
1287
1487
|
c:identifier="gdk_pixbuf_ref"
|
1288
1488
|
introspectable="0"
|
@@ -1490,7 +1690,10 @@ See gdk_pixbuf_save() for more details.</doc>
|
|
1490
1690
|
the save routine generates.</doc>
|
1491
1691
|
<type name="PixbufSaveFunc" c:type="GdkPixbufSaveFunc"/>
|
1492
1692
|
</parameter>
|
1493
|
-
<parameter name="user_data"
|
1693
|
+
<parameter name="user_data"
|
1694
|
+
transfer-ownership="none"
|
1695
|
+
nullable="1"
|
1696
|
+
allow-none="1">
|
1494
1697
|
<doc xml:space="preserve">user data to pass to the save function.</doc>
|
1495
1698
|
<type name="gpointer" c:type="gpointer"/>
|
1496
1699
|
</parameter>
|
@@ -1535,7 +1738,10 @@ gdk_pixbuf_save_to_callback () for more details.</doc>
|
|
1535
1738
|
the save routine generates.</doc>
|
1536
1739
|
<type name="PixbufSaveFunc" c:type="GdkPixbufSaveFunc"/>
|
1537
1740
|
</parameter>
|
1538
|
-
<parameter name="user_data"
|
1741
|
+
<parameter name="user_data"
|
1742
|
+
transfer-ownership="none"
|
1743
|
+
nullable="1"
|
1744
|
+
allow-none="1">
|
1539
1745
|
<doc xml:space="preserve">user data to pass to the save function.</doc>
|
1540
1746
|
<type name="gpointer" c:type="gpointer"/>
|
1541
1747
|
</parameter>
|
@@ -1653,7 +1859,10 @@ You can then call gdk_pixbuf_save_to_stream_finish() to get the result of the op
|
|
1653
1859
|
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the the pixbuf is loaded</doc>
|
1654
1860
|
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
|
1655
1861
|
</parameter>
|
1656
|
-
<parameter name="user_data"
|
1862
|
+
<parameter name="user_data"
|
1863
|
+
transfer-ownership="none"
|
1864
|
+
nullable="1"
|
1865
|
+
allow-none="1">
|
1657
1866
|
<doc xml:space="preserve">the data to pass to the callback function</doc>
|
1658
1867
|
<type name="gpointer" c:type="gpointer"/>
|
1659
1868
|
</parameter>
|
@@ -1863,6 +2072,12 @@ Currently only 8 bit per sample are supported.</doc>
|
|
1863
2072
|
Currently, only 3 or 4 samples per pixel are supported.</doc>
|
1864
2073
|
<type name="gint" c:type="gint"/>
|
1865
2074
|
</property>
|
2075
|
+
<property name="pixel-bytes"
|
2076
|
+
writable="1"
|
2077
|
+
construct-only="1"
|
2078
|
+
transfer-ownership="none">
|
2079
|
+
<type name="GLib.Bytes"/>
|
2080
|
+
</property>
|
1866
2081
|
<property name="pixels"
|
1867
2082
|
writable="1"
|
1868
2083
|
construct-only="1"
|
@@ -2042,7 +2257,10 @@ result of the operation.</doc>
|
|
2042
2257
|
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the the pixbuf is loaded</doc>
|
2043
2258
|
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
|
2044
2259
|
</parameter>
|
2045
|
-
<parameter name="user_data"
|
2260
|
+
<parameter name="user_data"
|
2261
|
+
transfer-ownership="none"
|
2262
|
+
nullable="1"
|
2263
|
+
allow-none="1">
|
2046
2264
|
<doc xml:space="preserve">the data to pass to the callback function</doc>
|
2047
2265
|
<type name="gpointer" c:type="gpointer"/>
|
2048
2266
|
</parameter>
|
@@ -2063,14 +2281,14 @@ result of the operation.</doc>
|
|
2063
2281
|
</method>
|
2064
2282
|
<method name="get_iter" c:identifier="gdk_pixbuf_animation_get_iter">
|
2065
2283
|
<doc xml:space="preserve">Get an iterator for displaying an animation. The iterator provides
|
2066
|
-
the frames that should be displayed at a given time.
|
2067
|
-
|
2068
|
-
|
2069
|
-
@start_time would normally come from g_get_current_time(), and
|
2070
|
-
|
2071
|
-
|
2072
|
-
gdk_pixbuf_animation_iter_get_pixbuf(). Then, you should install
|
2073
|
-
timeout (with g_timeout_add()) or by some other mechanism ensure
|
2284
|
+
the frames that should be displayed at a given time. It should be
|
2285
|
+
freed after use with g_object_unref().
|
2286
|
+
|
2287
|
+
@start_time would normally come from g_get_current_time(), and marks
|
2288
|
+
the beginning of animation playback. After creating an iterator, you
|
2289
|
+
should immediately display the pixbuf returned by
|
2290
|
+
gdk_pixbuf_animation_iter_get_pixbuf(). Then, you should install
|
2291
|
+
a timeout (with g_timeout_add()) or by some other mechanism ensure
|
2074
2292
|
that you'll update the image after
|
2075
2293
|
gdk_pixbuf_animation_iter_get_delay_time() milliseconds. Each time
|
2076
2294
|
the image is updated, you should reinstall the timeout with the new,
|
@@ -2147,9 +2365,9 @@ function will return %NULL.</doc>
|
|
2147
2365
|
</method>
|
2148
2366
|
<method name="is_static_image"
|
2149
2367
|
c:identifier="gdk_pixbuf_animation_is_static_image">
|
2150
|
-
<doc xml:space="preserve">If you load a file with gdk_pixbuf_animation_new_from_file() and it
|
2151
|
-
out to be a plain, unanimated image, then this function will
|
2152
|
-
%TRUE. Use gdk_pixbuf_animation_get_static_image() to retrieve
|
2368
|
+
<doc xml:space="preserve">If you load a file with gdk_pixbuf_animation_new_from_file() and it
|
2369
|
+
turns out to be a plain, unanimated image, then this function will
|
2370
|
+
return %TRUE. Use gdk_pixbuf_animation_get_static_image() to retrieve
|
2153
2371
|
the image.</doc>
|
2154
2372
|
<return-value transfer-ownership="none">
|
2155
2373
|
<doc xml:space="preserve">%TRUE if the "animation" was really just an image</doc>
|
@@ -2249,7 +2467,11 @@ and update the display with the new pixbuf.</doc>
|
|
2249
2467
|
<doc xml:space="preserve">Gets the number of milliseconds the current pixbuf should be displayed,
|
2250
2468
|
or -1 if the current pixbuf should be displayed forever. g_timeout_add()
|
2251
2469
|
conveniently takes a timeout in milliseconds, so you can use a timeout
|
2252
|
-
to schedule the next update
|
2470
|
+
to schedule the next update.
|
2471
|
+
|
2472
|
+
Note that some formats, like GIF, might clamp the timeout values in the
|
2473
|
+
image file to avoid updates that are just too quick. The minimum timeout
|
2474
|
+
for GIF images is currently 20 milliseconds.</doc>
|
2253
2475
|
<return-value transfer-ownership="none">
|
2254
2476
|
<doc xml:space="preserve">delay time in milliseconds (thousandths of a second)</doc>
|
2255
2477
|
<type name="gint" c:type="int"/>
|
@@ -2267,7 +2489,7 @@ to schedule the next update.</doc>
|
|
2267
2489
|
be the same size as the animation itself
|
2268
2490
|
(gdk_pixbuf_animation_get_width(), gdk_pixbuf_animation_get_height()).
|
2269
2491
|
This pixbuf should be displayed for
|
2270
|
-
gdk_pixbuf_animation_iter_get_delay_time() milliseconds.
|
2492
|
+
gdk_pixbuf_animation_iter_get_delay_time() milliseconds. The caller
|
2271
2493
|
of this function does not own a reference to the returned pixbuf;
|
2272
2494
|
the returned pixbuf will become invalid when the iterator advances
|
2273
2495
|
to the next frame, which may happen anytime you call
|
@@ -2322,7 +2544,11 @@ when the pixbuf is finalized.</doc>
|
|
2322
2544
|
<type name="guint8"/>
|
2323
2545
|
</array>
|
2324
2546
|
</parameter>
|
2325
|
-
<parameter name="data"
|
2547
|
+
<parameter name="data"
|
2548
|
+
transfer-ownership="none"
|
2549
|
+
nullable="1"
|
2550
|
+
allow-none="1"
|
2551
|
+
closure="1">
|
2326
2552
|
<doc xml:space="preserve">User closure data.</doc>
|
2327
2553
|
<type name="gpointer" c:type="gpointer"/>
|
2328
2554
|
</parameter>
|
@@ -2373,6 +2599,12 @@ domain.</doc>
|
|
2373
2599
|
glib:nick="failed">
|
2374
2600
|
<doc xml:space="preserve">Generic failure code, something went wrong.</doc>
|
2375
2601
|
</member>
|
2602
|
+
<member name="incomplete_animation"
|
2603
|
+
value="6"
|
2604
|
+
c:identifier="GDK_PIXBUF_ERROR_INCOMPLETE_ANIMATION"
|
2605
|
+
glib:nick="incomplete-animation">
|
2606
|
+
<doc xml:space="preserve">Only part of the animation was loaded.</doc>
|
2607
|
+
</member>
|
2376
2608
|
<function name="quark" c:identifier="gdk_pixbuf_error_quark">
|
2377
2609
|
<return-value transfer-ownership="none">
|
2378
2610
|
<type name="GLib.Quark" c:type="GQuark"/>
|
@@ -2729,7 +2961,7 @@ bytes yet (hasn't emitted the "area-prepared" signal) this function will
|
|
2729
2961
|
return %NULL.</doc>
|
2730
2962
|
<return-value transfer-ownership="none">
|
2731
2963
|
<doc xml:space="preserve">The #GdkPixbufAnimation that the loader is loading, or %NULL if
|
2732
|
-
|
2964
|
+
not enough data has been read to determine the information.</doc>
|
2733
2965
|
<type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/>
|
2734
2966
|
</return-value>
|
2735
2967
|
<parameters>
|
@@ -3072,7 +3304,11 @@ will fail with the same error.</doc>
|
|
3072
3304
|
<doc xml:space="preserve">A location to return an error.</doc>
|
3073
3305
|
<type name="GLib.Error" c:type="GError**"/>
|
3074
3306
|
</parameter>
|
3075
|
-
<parameter name="data"
|
3307
|
+
<parameter name="data"
|
3308
|
+
transfer-ownership="none"
|
3309
|
+
nullable="1"
|
3310
|
+
allow-none="1"
|
3311
|
+
closure="3">
|
3076
3312
|
<doc xml:space="preserve">user data passed to gdk_pixbuf_save_to_callback().</doc>
|
3077
3313
|
<type name="gpointer" c:type="gpointer"/>
|
3078
3314
|
</parameter>
|
@@ -3220,6 +3456,8 @@ serialization and streaming.</doc>
|
|
3220
3456
|
</field>
|
3221
3457
|
<method name="deserialize"
|
3222
3458
|
c:identifier="gdk_pixdata_deserialize"
|
3459
|
+
deprecated="1"
|
3460
|
+
deprecated-version="2.32"
|
3223
3461
|
throws="1">
|
3224
3462
|
<doc xml:space="preserve">Deserializes (reconstruct) a #GdkPixdata structure from a byte stream.
|
3225
3463
|
The byte stream consists of a straightforward writeout of the
|
@@ -3228,6 +3466,7 @@ bytes the structure points to.
|
|
3228
3466
|
The @pixdata contents are reconstructed byte by byte and are checked
|
3229
3467
|
for validity. This function may fail with %GDK_PIXBUF_ERROR_CORRUPT_IMAGE
|
3230
3468
|
or %GDK_PIXBUF_ERROR_UNKNOWN_TYPE.</doc>
|
3469
|
+
<doc-deprecated xml:space="preserve">Use #GResource instead.</doc-deprecated>
|
3231
3470
|
<return-value transfer-ownership="none">
|
3232
3471
|
<doc xml:space="preserve">Upon successful deserialization %TRUE is returned,
|
3233
3472
|
%FALSE otherwise.</doc>
|
@@ -3253,11 +3492,14 @@ or %GDK_PIXBUF_ERROR_UNKNOWN_TYPE.</doc>
|
|
3253
3492
|
</method>
|
3254
3493
|
<method name="from_pixbuf"
|
3255
3494
|
c:identifier="gdk_pixdata_from_pixbuf"
|
3256
|
-
introspectable="0"
|
3495
|
+
introspectable="0"
|
3496
|
+
deprecated="1"
|
3497
|
+
deprecated-version="2.32">
|
3257
3498
|
<doc xml:space="preserve">Converts a #GdkPixbuf to a #GdkPixdata. If @use_rle is %TRUE, the
|
3258
3499
|
pixel data is run-length encoded into newly-allocated memory and a
|
3259
3500
|
pointer to that memory is returned.</doc>
|
3260
|
-
<
|
3501
|
+
<doc-deprecated xml:space="preserve">Use #GResource instead.</doc-deprecated>
|
3502
|
+
<return-value transfer-ownership="none" nullable="1">
|
3261
3503
|
<doc xml:space="preserve">If @use_rle is %TRUE, a pointer to the
|
3262
3504
|
newly-allocated memory for the run-length encoded pixel data,
|
3263
3505
|
otherwise %NULL.</doc>
|
@@ -3278,11 +3520,15 @@ pointer to that memory is returned.</doc>
|
|
3278
3520
|
</parameter>
|
3279
3521
|
</parameters>
|
3280
3522
|
</method>
|
3281
|
-
<method name="serialize"
|
3523
|
+
<method name="serialize"
|
3524
|
+
c:identifier="gdk_pixdata_serialize"
|
3525
|
+
deprecated="1"
|
3526
|
+
deprecated-version="2.32">
|
3282
3527
|
<doc xml:space="preserve">Serializes a #GdkPixdata structure into a byte stream.
|
3283
3528
|
The byte stream consists of a straightforward writeout of the
|
3284
3529
|
#GdkPixdata fields in network byte order, plus the @pixel_data
|
3285
3530
|
bytes the structure points to.</doc>
|
3531
|
+
<doc-deprecated xml:space="preserve">Use #GResource instead.</doc-deprecated>
|
3286
3532
|
<return-value transfer-ownership="full">
|
3287
3533
|
<doc xml:space="preserve">A
|
3288
3534
|
newly-allocated string containing the serialized #GdkPixdata
|
@@ -3305,13 +3551,17 @@ structure.</doc>
|
|
3305
3551
|
</parameter>
|
3306
3552
|
</parameters>
|
3307
3553
|
</method>
|
3308
|
-
<method name="to_csource"
|
3554
|
+
<method name="to_csource"
|
3555
|
+
c:identifier="gdk_pixdata_to_csource"
|
3556
|
+
deprecated="1"
|
3557
|
+
deprecated-version="2.32">
|
3309
3558
|
<doc xml:space="preserve">Generates C source code suitable for compiling images directly
|
3310
3559
|
into programs.
|
3311
3560
|
|
3312
3561
|
gdk-pixbuf ships with a program called
|
3313
3562
|
[gdk-pixbuf-csource][gdk-pixbuf-csource], which offers a command
|
3314
3563
|
line interface to this function.</doc>
|
3564
|
+
<doc-deprecated xml:space="preserve">Use #GResource instead.</doc-deprecated>
|
3315
3565
|
<return-value transfer-ownership="full">
|
3316
3566
|
<doc xml:space="preserve">a newly-allocated string containing the C source form
|
3317
3567
|
of @pixdata.</doc>
|