gdk_pixbuf2 2.0.2-x86-mingw32 → 2.0.3-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README +1 -1
- data/Rakefile +9 -2
- data/lib/1.9/gdk_pixbuf2.so +0 -0
- data/lib/2.0/gdk_pixbuf2.so +0 -0
- data/lib/gdk_pixbuf2.rb +5 -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-features.h +3 -3
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h +3 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache +146 -7
- 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 +41 -0
- data/vendor/local/lib/gdk_pixbuf-2.0.def +1 -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 +4 -4
- data/vendor/local/lib/pkgconfig/gdk-pixbuf-2.0.pc +1 -1
- data/vendor/local/share/gir-1.0/GdkPixbuf-2.0.gir +513 -485
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +119 -69
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/annotation-glossary.html +34 -46
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-12.html +10 -13
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-14.html +13 -16
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-2.html +17 -20
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-26.html +13 -16
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-28.html +11 -14
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-30.html +35 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-4.html +17 -20
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-6.html +15 -18
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-8.html +10 -13
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-deprecated.html +15 -18
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-full.html +41 -40
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html +97 -100
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +118 -121
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +119 -122
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +38 -41
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +50 -53
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +74 -77
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +26 -29
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Scaling.html +29 -32
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +53 -53
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Utilities.html +29 -32
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Versioning.html +15 -18
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-X-Drawables-to-Pixbufs.html +15 -18
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Xlib-Rendering.html +12 -15
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-XlibRGB.html +20 -23
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-csource.html +13 -13
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-Xlib-initialization.html +12 -15
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-from-drawables.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-rendering.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-query-loaders.html +12 -12
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf.devhelp2 +3 -1
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.html +6 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.sgml +6 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/license.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn01.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn02.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/style.css +71 -16
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/up.png +0 -0
- data/vendor/local/share/locale/af/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ang/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/br/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/crh/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/csb/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/io/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/li/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/my/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nso/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/uz/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/uz@cyrillic/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/man/man1/gdk-pixbuf-csource.1 +1 -1
- data/vendor/local/share/man/man1/gdk-pixbuf-query-loaders.1 +1 -1
- metadata +32 -41
- data/vendor/local/bin/libpng14-14.dll +0 -0
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/include/libpng14/png.h +0 -2737
- data/vendor/local/include/libpng14/pngconf.h +0 -1552
- data/vendor/local/include/png.h +0 -2737
- data/vendor/local/include/pngconf.h +0 -1552
- data/vendor/local/include/zconf.h +0 -461
- data/vendor/local/include/zlib.h +0 -1589
- data/vendor/local/lib/libpng.def +0 -192
- data/vendor/local/lib/libpng.lib +0 -0
- data/vendor/local/lib/libpng14.dll.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/libpng.pc +0 -11
- data/vendor/local/lib/pkgconfig/libpng14.pc +0 -11
- data/vendor/local/lib/zdll.lib +0 -0
- data/vendor/local/lib/zlib.def +0 -67
- data/vendor/local/manifest/libpng-dev_1.4.12-1_win32.mft +0 -15
- data/vendor/local/manifest/libpng_1.4.12-1_win32.mft +0 -2
- data/vendor/local/manifest/zlib-dev_1.2.5-2_win32.mft +0 -8
- data/vendor/local/manifest/zlib_1.2.5-2_win32.mft +0 -2
- data/vendor/local/share/man/man3/libpng.3 +0 -4605
- data/vendor/local/share/man/man3/libpngpf.3 +0 -802
- data/vendor/local/share/man/man5/png.5 +0 -74
- data/vendor/local/src/dieterv/packaging/libpng_1.4.12-1_win32.log +0 -283
- data/vendor/local/src/dieterv/packaging/libpng_1.4.12-1_win32.sh +0 -71
- data/vendor/local/src/tml/packaging/zlib_1.2.5-2_win32.log +0 -42
- data/vendor/local/src/tml/packaging/zlib_1.2.5-2_win32.sh +0 -189
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 862016cf36081f7dbe0b0dff6f4731d56deb8c26
|
4
|
+
data.tar.gz: 7343a1a8527a0d8d8f3d0bdb4e39dcbf6e187b1e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 0f6b8531d51c88b466e1ecb0827daa59c8d5b822850affc016e52b4772b07f179876541bf62e782485473eea9364e8a6bce40505c759f8bfe81f4d058ee0c78c
|
7
|
+
data.tar.gz: 39948f9c653964ce60f889fdcc8555310a34ad9bd0503cb336549d1450dfa43c14e305bfed9027137e98f7d9c98f9f25fef6a6a1f3c9abb1e48c0db320878098
|
data/README
CHANGED
data/Rakefile
CHANGED
@@ -8,7 +8,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
|
|
8
8
|
package.description = "Ruby/GdkPixbuf2 is a Ruby binding of GdkPixbuf-2.x."
|
9
9
|
package.dependency.gem.runtime = ["glib2"]
|
10
10
|
package.windows.packages = []
|
11
|
-
package.windows.dependencies = [
|
11
|
+
package.windows.dependencies = []
|
12
12
|
package.windows.build_dependencies = [
|
13
13
|
"glib2",
|
14
14
|
"gobject-introspection",
|
@@ -18,15 +18,22 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
|
|
18
18
|
:name => "gdk-pixbuf",
|
19
19
|
:download_site => :gnome,
|
20
20
|
:label => "gdk-pixbuf",
|
21
|
-
:version => "2.
|
21
|
+
:version => "2.30.2",
|
22
22
|
:compression_method => "xz",
|
23
23
|
:windows => {
|
24
24
|
:configure_args => [
|
25
25
|
"--with-included-loaders",
|
26
26
|
"--enable-introspection",
|
27
27
|
],
|
28
|
+
:build_concurrently => false,
|
29
|
+
:built_file => "bin/libgdk_pixbuf-2.0-0.dll",
|
28
30
|
},
|
29
31
|
}
|
30
32
|
]
|
33
|
+
package.cross_compiling do |spec|
|
34
|
+
if /mingw|mswin/ =~ spec.platform.to_s
|
35
|
+
spec.add_runtime_dependency("cairo", ">= 1.12.6")
|
36
|
+
end
|
37
|
+
end
|
31
38
|
end
|
32
39
|
package_task.define
|
data/lib/1.9/gdk_pixbuf2.so
CHANGED
Binary file
|
data/lib/2.0/gdk_pixbuf2.so
CHANGED
Binary file
|
data/lib/gdk_pixbuf2.rb
CHANGED
@@ -4,6 +4,11 @@ base_dir = Pathname.new(__FILE__).dirname.dirname.expand_path
|
|
4
4
|
vendor_dir = base_dir + "vendor" + "local"
|
5
5
|
vendor_bin_dir = vendor_dir + "bin"
|
6
6
|
GLib.prepend_dll_path(vendor_bin_dir)
|
7
|
+
|
8
|
+
if vendor_dir.exist?
|
9
|
+
require "cairo"
|
10
|
+
end
|
11
|
+
|
7
12
|
begin
|
8
13
|
major, minor, _ = RUBY_VERSION.split(/\./)
|
9
14
|
require "#{major}.#{minor}/gdk_pixbuf2.so"
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -44,9 +44,9 @@ Library version numbers.
|
|
44
44
|
*/
|
45
45
|
|
46
46
|
#define GDK_PIXBUF_MAJOR (2)
|
47
|
-
#define GDK_PIXBUF_MINOR (
|
48
|
-
#define GDK_PIXBUF_MICRO (
|
49
|
-
#define GDK_PIXBUF_VERSION "2.
|
47
|
+
#define GDK_PIXBUF_MINOR (30)
|
48
|
+
#define GDK_PIXBUF_MICRO (2)
|
49
|
+
#define GDK_PIXBUF_VERSION "2.30.2"
|
50
50
|
|
51
51
|
/* We prefix variable declarations so they can
|
52
52
|
* properly get exported/imported from Windows DLLs.
|
@@ -94,6 +94,9 @@ gboolean gdk_pixbuf_loader_write (GdkPixbufLoader *loader,
|
|
94
94
|
const guchar *buf,
|
95
95
|
gsize count,
|
96
96
|
GError **error);
|
97
|
+
gboolean gdk_pixbuf_loader_write_bytes (GdkPixbufLoader *loader,
|
98
|
+
GBytes *buffer,
|
99
|
+
GError **error);
|
97
100
|
GdkPixbuf * gdk_pixbuf_loader_get_pixbuf (GdkPixbufLoader *loader);
|
98
101
|
GdkPixbufAnimation * gdk_pixbuf_loader_get_animation (GdkPixbufLoader *loader);
|
99
102
|
gboolean gdk_pixbuf_loader_close (GdkPixbufLoader *loader,
|
@@ -1,7 +1,146 @@
|
|
1
|
-
# GdkPixbuf Image Loader Modules file
|
2
|
-
# Automatically generated file, do not edit
|
3
|
-
# Created by gdk-pixbuf-query-loaders
|
4
|
-
#
|
5
|
-
# LoaderDir = /
|
6
|
-
#
|
7
|
-
|
1
|
+
# GdkPixbuf Image Loader Modules file
|
2
|
+
# Automatically generated file, do not edit
|
3
|
+
# Created by gdk-pixbuf-query-loaders from gdk-pixbuf-2.28.2
|
4
|
+
#
|
5
|
+
# LoaderDir = /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders
|
6
|
+
#
|
7
|
+
"/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ani.so"
|
8
|
+
"ani" 4 "gdk-pixbuf" "The ANI image format" "LGPL"
|
9
|
+
"application/x-navi-animation" ""
|
10
|
+
"ani" ""
|
11
|
+
"RIFF ACON" " xxxx " 100
|
12
|
+
|
13
|
+
"/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.so"
|
14
|
+
"gif" 4 "gdk-pixbuf" "The GIF image format" "LGPL"
|
15
|
+
"image/gif" ""
|
16
|
+
"gif" ""
|
17
|
+
"GIF8" "" 100
|
18
|
+
|
19
|
+
"/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.so"
|
20
|
+
"ico" 5 "gdk-pixbuf" "The ICO image format" "LGPL"
|
21
|
+
"image/x-icon" "image/x-ico" "image/x-win-bitmap" ""
|
22
|
+
"ico" "cur" ""
|
23
|
+
" \001 " "zz znz" 100
|
24
|
+
" \002 " "zz znz" 100
|
25
|
+
|
26
|
+
"/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-icns.so"
|
27
|
+
"icns" 4 "gdk-pixbuf" "The ICNS image format" "GPL"
|
28
|
+
"image/x-icns" ""
|
29
|
+
"icns" ""
|
30
|
+
"icns" "" 100
|
31
|
+
|
32
|
+
"/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tiff.so"
|
33
|
+
"tiff" 5 "gdk-pixbuf" "The TIFF image format" "LGPL"
|
34
|
+
"image/tiff" ""
|
35
|
+
"tiff" "tif" ""
|
36
|
+
"MM *" " z " 100
|
37
|
+
"II* " " z" 100
|
38
|
+
"II* \020 CR\002 " " z zzz z" 0
|
39
|
+
|
40
|
+
"/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jasper.so"
|
41
|
+
"jpeg2000" 4 "gdk-pixbuf" "The JPEG 2000 image format" "LGPL"
|
42
|
+
"image/jp2" "image/jpeg2000" "image/jpx" ""
|
43
|
+
"jp2" "jpc" "jpx" "j2k" "jpf" ""
|
44
|
+
" jP" "!!!! " 100
|
45
|
+
"\377O\377Q" "" 100
|
46
|
+
|
47
|
+
"/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-qtif.so"
|
48
|
+
"qtif" 4 "gdk-pixbuf" "The QTIF image format" "LGPL"
|
49
|
+
"image/x-quicktime" "image/qtif" ""
|
50
|
+
"qtif" "qif" ""
|
51
|
+
"abcdidsc" "xxxx " 100
|
52
|
+
"abcdidat" "xxxx " 100
|
53
|
+
|
54
|
+
"/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xbm.so"
|
55
|
+
"xbm" 4 "gdk-pixbuf" "The XBM image format" "LGPL"
|
56
|
+
"image/x-xbitmap" ""
|
57
|
+
"xbm" ""
|
58
|
+
"#define " "" 100
|
59
|
+
"/*" "" 50
|
60
|
+
|
61
|
+
"/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/io-wmf.so"
|
62
|
+
"wmf" 0 "gdk-pixbuf" "Windows Metafile" ""
|
63
|
+
"image/x-wmf" ""
|
64
|
+
"wmf" "apm" ""
|
65
|
+
"\327\315\306\232" "" 100
|
66
|
+
"\001" "" 100
|
67
|
+
|
68
|
+
"/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-wbmp.so"
|
69
|
+
"wbmp" 4 "gdk-pixbuf" "The WBMP image format" "LGPL"
|
70
|
+
"image/vnd.wap.wbmp" ""
|
71
|
+
"wbmp" ""
|
72
|
+
" " "zz" 1
|
73
|
+
" `" "z " 1
|
74
|
+
" @" "z " 1
|
75
|
+
" " "z " 1
|
76
|
+
|
77
|
+
"/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so"
|
78
|
+
"png" 5 "gdk-pixbuf" "The PNG image format" "LGPL"
|
79
|
+
"image/png" ""
|
80
|
+
"png" ""
|
81
|
+
"\211PNG\r\n\032\n" "" 100
|
82
|
+
|
83
|
+
"/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tga.so"
|
84
|
+
"tga" 4 "gdk-pixbuf" "The Targa image format" "LGPL"
|
85
|
+
"image/x-tga" ""
|
86
|
+
"tga" "targa" ""
|
87
|
+
" \001\001" "x " 100
|
88
|
+
" \001\t" "x " 100
|
89
|
+
" \002" "xz " 99
|
90
|
+
" \003" "xz " 100
|
91
|
+
" \n" "xz " 100
|
92
|
+
" \v" "xz " 100
|
93
|
+
|
94
|
+
"/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pcx.so"
|
95
|
+
"pcx" 4 "gdk-pixbuf" "The PCX image format" "LGPL"
|
96
|
+
"image/x-pcx" ""
|
97
|
+
"pcx" ""
|
98
|
+
"\n \001" "" 100
|
99
|
+
"\n\002\001" "" 100
|
100
|
+
"\n\003\001" "" 100
|
101
|
+
"\n\004\001" "" 100
|
102
|
+
"\n\005\001" "" 100
|
103
|
+
|
104
|
+
"/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pnm.so"
|
105
|
+
"pnm" 4 "gdk-pixbuf" "The PNM/PBM/PGM/PPM image format family" "LGPL"
|
106
|
+
"image/x-portable-anymap" "image/x-portable-bitmap" "image/x-portable-graymap" "image/x-portable-pixmap" ""
|
107
|
+
"pnm" "pbm" "pgm" "ppm" ""
|
108
|
+
"P1" "" 100
|
109
|
+
"P2" "" 100
|
110
|
+
"P3" "" 100
|
111
|
+
"P4" "" 100
|
112
|
+
"P5" "" 100
|
113
|
+
"P6" "" 100
|
114
|
+
|
115
|
+
"/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so"
|
116
|
+
"svg" 6 "gdk-pixbuf" "Scalable Vector Graphics" "LGPL"
|
117
|
+
"image/svg+xml" "image/svg" "image/svg-xml" "image/vnd.adobe.svg+xml" "text/xml-svg" "image/svg+xml-compressed" ""
|
118
|
+
"svg" "svgz" "svg.gz" ""
|
119
|
+
" <svg" "* " 100
|
120
|
+
" <!DOCTYPE svg" "* " 100
|
121
|
+
|
122
|
+
"/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ras.so"
|
123
|
+
"ras" 4 "gdk-pixbuf" "The Sun raster image format" "LGPL"
|
124
|
+
"image/x-cmu-raster" "image/x-sun-raster" ""
|
125
|
+
"ras" ""
|
126
|
+
"Y\246j\225" "" 100
|
127
|
+
|
128
|
+
"/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so"
|
129
|
+
"jpeg" 5 "gdk-pixbuf" "The JPEG image format" "LGPL"
|
130
|
+
"image/jpeg" ""
|
131
|
+
"jpeg" "jpe" "jpg" ""
|
132
|
+
"\377\330" "" 100
|
133
|
+
|
134
|
+
"/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-bmp.so"
|
135
|
+
"bmp" 5 "gdk-pixbuf" "The BMP image format" "LGPL"
|
136
|
+
"image/bmp" "image/x-bmp" "image/x-MS-bmp" ""
|
137
|
+
"bmp" ""
|
138
|
+
"BM" "" 100
|
139
|
+
|
140
|
+
"/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so"
|
141
|
+
"xpm" 4 "gdk-pixbuf" "The XPM image format" "LGPL"
|
142
|
+
"image/x-xpixmap" ""
|
143
|
+
"xpm" ""
|
144
|
+
"/* XPM */" "" 100
|
145
|
+
|
146
|
+
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# libpixbufloader-svg.la - a libtool library file
|
2
|
+
# Generated by libtool (GNU libtool) 2.4.2
|
3
|
+
#
|
4
|
+
# Please DO NOT delete this file!
|
5
|
+
# It is necessary for linking the library.
|
6
|
+
|
7
|
+
# The name that we can dlopen(3).
|
8
|
+
dlname='libpixbufloader-svg.dll'
|
9
|
+
|
10
|
+
# Names of this library.
|
11
|
+
library_names='libpixbufloader-svg.dll.a'
|
12
|
+
|
13
|
+
# The name of the static archive.
|
14
|
+
old_library='libpixbufloader-svg.a'
|
15
|
+
|
16
|
+
# Linker flags that can not go in dependency_libs.
|
17
|
+
inherited_linker_flags=' -pthread'
|
18
|
+
|
19
|
+
# Libraries that this one depends upon.
|
20
|
+
dependency_libs=' -L/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/kou/work/ruby/rcairo.win32/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/rsvg2/vendor/local/lib /home/kou/work/ruby/ruby-gnome2.win32/rsvg2/vendor/local/lib/librsvg-2.la -L/home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/gdk_pixbuf2/vendor/local/lib /home/kou/work/ruby/ruby-gnome2.win32/gdk_pixbuf2/vendor/local/lib/libgdk_pixbuf-2.0.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgio-2.0.la -ldnsapi -liphlpapi /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libpangocairo-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libpangoft2-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libharfbuzz.la /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libpangowin32-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/pango/vendor/local/lib/libpango-1.0.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgmodule-2.0.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgthread-2.0.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgobject-2.0.la -lffi /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libcairo.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libpixman-1.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libfontconfig.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libfreetype.la -lgdi32 -lmsimg32 /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libpng16.la /home/kou/work/ruby/ruby-gnome2.win32/rsvg2/vendor/local/lib/libcroco-0.6.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libglib-2.0.la -lole32 -lwinmm -lshlwapi -lintl /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libxml2.la -lz -lws2_32'
|
21
|
+
|
22
|
+
# Names of additional weak libraries provided by this library
|
23
|
+
weak_library_names=''
|
24
|
+
|
25
|
+
# Version information for libpixbufloader-svg.
|
26
|
+
current=0
|
27
|
+
age=0
|
28
|
+
revision=0
|
29
|
+
|
30
|
+
# Is this an already installed library?
|
31
|
+
installed=yes
|
32
|
+
|
33
|
+
# Should we warn about portability when linking against -modules?
|
34
|
+
shouldnotlink=yes
|
35
|
+
|
36
|
+
# Files to dlopen/dlpreopen
|
37
|
+
dlopen=''
|
38
|
+
dlpreopen=''
|
39
|
+
|
40
|
+
# Directory that this library needs to be installed in:
|
41
|
+
libdir='/home/kou/work/ruby/ruby-gnome2.win32/gdk_pixbuf2/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders'
|
Binary file
|
Binary file
|
@@ -17,15 +17,15 @@ old_library=''
|
|
17
17
|
inherited_linker_flags=''
|
18
18
|
|
19
19
|
# Libraries that this one depends upon.
|
20
|
-
dependency_libs=' -L/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/kou/work/ruby/rcairo.win32/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/gdk_pixbuf2/vendor/local/lib /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgio-2.0.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgmodule-2.0.la -ldnsapi /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgobject-2.0.la -lffi /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libglib-2.0.la -lws2_32 -lwinmm -lshlwapi -lintl /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libpng16.la -lz -lole32'
|
20
|
+
dependency_libs=' -L/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/kou/work/ruby/rcairo.win32/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/gdk_pixbuf2/vendor/local/lib /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgio-2.0.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgmodule-2.0.la -ldnsapi -liphlpapi /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgobject-2.0.la -lffi /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libglib-2.0.la -lws2_32 -lwinmm -lshlwapi -lintl /home/kou/work/ruby/rcairo.win32/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=3000
|
27
|
+
age=3000
|
28
|
+
revision=2
|
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.30.2
|
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
|
@@ -19,20 +19,20 @@ and/or use gtk-doc annotations. -->
|
|
19
19
|
glib:type-name="GdkColorspace"
|
20
20
|
glib:get-type="gdk_colorspace_get_type"
|
21
21
|
c:type="GdkColorspace">
|
22
|
-
<doc xml:
|
22
|
+
<doc xml:space="preserve">This enumeration defines the color spaces that are supported by
|
23
23
|
the &gdk-pixbuf; library. Currently only RGB is supported.</doc>
|
24
24
|
<member name="rgb"
|
25
25
|
value="0"
|
26
26
|
c:identifier="GDK_COLORSPACE_RGB"
|
27
27
|
glib:nick="rgb">
|
28
|
-
<doc xml:
|
28
|
+
<doc xml:space="preserve">Indicates a red/green/blue additive color space.</doc>
|
29
29
|
</member>
|
30
30
|
</enumeration>
|
31
31
|
<enumeration name="InterpType"
|
32
32
|
glib:type-name="GdkInterpType"
|
33
33
|
glib:get-type="gdk_interp_type_get_type"
|
34
34
|
c:type="GdkInterpType">
|
35
|
-
<doc xml:
|
35
|
+
<doc xml:space="preserve">This enumeration describes the different interpolation modes that
|
36
36
|
can be used with the scaling functions. @GDK_INTERP_NEAREST is
|
37
37
|
the fastest scaling method, but has horrible quality when
|
38
38
|
scaling down. @GDK_INTERP_BILINEAR is the best choice if you
|
@@ -46,25 +46,25 @@ the &gdk-pixbuf; library. Currently only RGB is supported.</doc>
|
|
46
46
|
value="0"
|
47
47
|
c:identifier="GDK_INTERP_NEAREST"
|
48
48
|
glib:nick="nearest">
|
49
|
-
<doc xml:
|
49
|
+
<doc xml:space="preserve">Nearest neighbor sampling; this is the fastest and lowest quality mode. Quality is normally unacceptable when scaling down, but may be OK when scaling up.</doc>
|
50
50
|
</member>
|
51
51
|
<member name="tiles"
|
52
52
|
value="1"
|
53
53
|
c:identifier="GDK_INTERP_TILES"
|
54
54
|
glib:nick="tiles">
|
55
|
-
<doc xml:
|
55
|
+
<doc xml:space="preserve">This is an accurate simulation of the PostScript image operator without any interpolation enabled. Each pixel is rendered as a tiny parallelogram of solid color, the edges of which are implemented with antialiasing. It resembles nearest neighbor for enlargement, and bilinear for reduction.</doc>
|
56
56
|
</member>
|
57
57
|
<member name="bilinear"
|
58
58
|
value="2"
|
59
59
|
c:identifier="GDK_INTERP_BILINEAR"
|
60
60
|
glib:nick="bilinear">
|
61
|
-
<doc xml:
|
61
|
+
<doc xml:space="preserve">Best quality/speed balance; use this mode by default. Bilinear interpolation. For enlargement, it is equivalent to point-sampling the ideal bilinear-interpolated image. For reduction, it is equivalent to laying down small tiles and integrating over the coverage area.</doc>
|
62
62
|
</member>
|
63
63
|
<member name="hyper"
|
64
64
|
value="3"
|
65
65
|
c:identifier="GDK_INTERP_HYPER"
|
66
66
|
glib:nick="hyper">
|
67
|
-
<doc xml:
|
67
|
+
<doc xml:space="preserve">This is the slowest and highest quality reconstruction function. It is derived from the hyperbolic filters in Wolberg's "Digital Image Warping", and is formally defined as the hyperbolic-filter sampling the ideal hyperbolic-filter interpolated image (the filter is designed to be idempotent for 1:1 pixel mapping).</doc>
|
68
68
|
</member>
|
69
69
|
</enumeration>
|
70
70
|
<constant name="PIXBUF_FEATURES_H"
|
@@ -75,26 +75,26 @@ the &gdk-pixbuf; library. Currently only RGB is supported.</doc>
|
|
75
75
|
<constant name="PIXBUF_MAGIC_NUMBER"
|
76
76
|
value="1197763408"
|
77
77
|
c:type="GDK_PIXBUF_MAGIC_NUMBER">
|
78
|
-
<doc xml:
|
78
|
+
<doc xml:space="preserve">Magic number for #GdkPixdata structures.</doc>
|
79
79
|
<type name="gint" c:type="gint"/>
|
80
80
|
</constant>
|
81
81
|
<constant name="PIXBUF_MAJOR" value="2" c:type="GDK_PIXBUF_MAJOR">
|
82
|
-
<doc xml:
|
82
|
+
<doc xml:space="preserve">Major version of &gdk-pixbuf; library, that is the first "0" in
|
83
83
|
"0.8.0" for example.</doc>
|
84
84
|
<type name="gint" c:type="gint"/>
|
85
85
|
</constant>
|
86
|
-
<constant name="PIXBUF_MICRO" value="
|
87
|
-
<doc xml:
|
86
|
+
<constant name="PIXBUF_MICRO" value="2" c:type="GDK_PIXBUF_MICRO">
|
87
|
+
<doc xml:space="preserve">Micro version of &gdk-pixbuf; library, that is the last "0" in
|
88
88
|
"0.8.0" for example.</doc>
|
89
89
|
<type name="gint" c:type="gint"/>
|
90
90
|
</constant>
|
91
|
-
<constant name="PIXBUF_MINOR" value="
|
92
|
-
<doc xml:
|
91
|
+
<constant name="PIXBUF_MINOR" value="30" c:type="GDK_PIXBUF_MINOR">
|
92
|
+
<doc xml:space="preserve">Minor version of &gdk-pixbuf; library, that is the "8" in
|
93
93
|
"0.8.0" for example.</doc>
|
94
94
|
<type name="gint" c:type="gint"/>
|
95
95
|
</constant>
|
96
|
-
<constant name="PIXBUF_VERSION" value="2.
|
97
|
-
<doc xml:
|
96
|
+
<constant name="PIXBUF_VERSION" value="2.30.2" c:type="GDK_PIXBUF_VERSION">
|
97
|
+
<doc xml:space="preserve">Contains the full version of the &gdk-pixbuf; header as a string.
|
98
98
|
This is the version being compiled against; contrast with
|
99
99
|
#gdk_pixbuf_version.</doc>
|
100
100
|
<type name="utf8" c:type="gchar*"/>
|
@@ -102,7 +102,7 @@ This is the version being compiled against; contrast with
|
|
102
102
|
<constant name="PIXDATA_HEADER_LENGTH"
|
103
103
|
value="24"
|
104
104
|
c:type="GDK_PIXDATA_HEADER_LENGTH">
|
105
|
-
<doc xml:
|
105
|
+
<doc xml:space="preserve">The length of a #GdkPixdata structure without the @pixel_data pointer.</doc>
|
106
106
|
<type name="gint" c:type="gint"/>
|
107
107
|
</constant>
|
108
108
|
<class name="Pixbuf"
|
@@ -111,80 +111,81 @@ This is the version being compiled against; contrast with
|
|
111
111
|
parent="GObject.Object"
|
112
112
|
glib:type-name="GdkPixbuf"
|
113
113
|
glib:get-type="gdk_pixbuf_get_type">
|
114
|
-
<doc xml:
|
114
|
+
<doc xml:space="preserve">This is the main structure in the &gdk-pixbuf; library. It is
|
115
115
|
used to represent images. It contains information about the
|
116
116
|
image's pixel data, its color space, bits per sample, width and
|
117
117
|
height, and the rowstride (the number of bytes between the start of
|
118
118
|
one row and the start of the next).</doc>
|
119
119
|
<implements name="Gio.Icon"/>
|
120
|
+
<implements name="Gio.LoadableIcon"/>
|
120
121
|
<constructor name="new" c:identifier="gdk_pixbuf_new">
|
121
|
-
<doc xml:
|
122
|
+
<doc xml:space="preserve">Creates a new #GdkPixbuf structure and allocates a buffer for it. The
|
122
123
|
buffer has an optimal rowstride. Note that the buffer is not cleared;
|
123
124
|
you will have to fill it completely yourself.</doc>
|
124
125
|
<return-value transfer-ownership="full">
|
125
|
-
<doc xml:
|
126
|
+
<doc xml:space="preserve">A newly-created #GdkPixbuf with a reference count of 1, or %NULL if not enough memory could be allocated for the image buffer.</doc>
|
126
127
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
127
128
|
</return-value>
|
128
129
|
<parameters>
|
129
130
|
<parameter name="colorspace" transfer-ownership="none">
|
130
|
-
<doc xml:
|
131
|
+
<doc xml:space="preserve">Color space for image</doc>
|
131
132
|
<type name="Colorspace" c:type="GdkColorspace"/>
|
132
133
|
</parameter>
|
133
134
|
<parameter name="has_alpha" transfer-ownership="none">
|
134
|
-
<doc xml:
|
135
|
+
<doc xml:space="preserve">Whether the image should have transparency information</doc>
|
135
136
|
<type name="gboolean" c:type="gboolean"/>
|
136
137
|
</parameter>
|
137
138
|
<parameter name="bits_per_sample" transfer-ownership="none">
|
138
|
-
<doc xml:
|
139
|
+
<doc xml:space="preserve">Number of bits per color sample</doc>
|
139
140
|
<type name="gint" c:type="int"/>
|
140
141
|
</parameter>
|
141
142
|
<parameter name="width" transfer-ownership="none">
|
142
|
-
<doc xml:
|
143
|
+
<doc xml:space="preserve">Width of image in pixels, must be > 0</doc>
|
143
144
|
<type name="gint" c:type="int"/>
|
144
145
|
</parameter>
|
145
146
|
<parameter name="height" transfer-ownership="none">
|
146
|
-
<doc xml:
|
147
|
+
<doc xml:space="preserve">Height of image in pixels, must be > 0</doc>
|
147
148
|
<type name="gint" c:type="int"/>
|
148
149
|
</parameter>
|
149
150
|
</parameters>
|
150
151
|
</constructor>
|
151
152
|
<constructor name="new_from_data"
|
152
153
|
c:identifier="gdk_pixbuf_new_from_data">
|
153
|
-
<doc xml:
|
154
|
+
<doc xml:space="preserve">Creates a new #GdkPixbuf out of in-memory image data. Currently only RGB
|
154
155
|
images with 8 bits per sample are supported.</doc>
|
155
156
|
<return-value transfer-ownership="full">
|
156
|
-
<doc xml:
|
157
|
+
<doc xml:space="preserve">A newly-created #GdkPixbuf structure with a reference count of 1.</doc>
|
157
158
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
158
159
|
</return-value>
|
159
160
|
<parameters>
|
160
161
|
<parameter name="data" transfer-ownership="none">
|
161
|
-
<doc xml:
|
162
|
+
<doc xml:space="preserve">Image data in 8-bit/sample packed format</doc>
|
162
163
|
<array zero-terminated="0" c:type="guchar*">
|
163
164
|
<type name="guint8" c:type="guchar"/>
|
164
165
|
</array>
|
165
166
|
</parameter>
|
166
167
|
<parameter name="colorspace" transfer-ownership="none">
|
167
|
-
<doc xml:
|
168
|
+
<doc xml:space="preserve">Colorspace for the image data</doc>
|
168
169
|
<type name="Colorspace" c:type="GdkColorspace"/>
|
169
170
|
</parameter>
|
170
171
|
<parameter name="has_alpha" transfer-ownership="none">
|
171
|
-
<doc xml:
|
172
|
+
<doc xml:space="preserve">Whether the data has an opacity channel</doc>
|
172
173
|
<type name="gboolean" c:type="gboolean"/>
|
173
174
|
</parameter>
|
174
175
|
<parameter name="bits_per_sample" transfer-ownership="none">
|
175
|
-
<doc xml:
|
176
|
+
<doc xml:space="preserve">Number of bits per sample</doc>
|
176
177
|
<type name="gint" c:type="int"/>
|
177
178
|
</parameter>
|
178
179
|
<parameter name="width" transfer-ownership="none">
|
179
|
-
<doc xml:
|
180
|
+
<doc xml:space="preserve">Width of the image in pixels, must be > 0</doc>
|
180
181
|
<type name="gint" c:type="int"/>
|
181
182
|
</parameter>
|
182
183
|
<parameter name="height" transfer-ownership="none">
|
183
|
-
<doc xml:
|
184
|
+
<doc xml:space="preserve">Height of the image in pixels, must be > 0</doc>
|
184
185
|
<type name="gint" c:type="int"/>
|
185
186
|
</parameter>
|
186
187
|
<parameter name="rowstride" transfer-ownership="none">
|
187
|
-
<doc xml:
|
188
|
+
<doc xml:space="preserve">Distance in bytes between row starts</doc>
|
188
189
|
<type name="gint" c:type="int"/>
|
189
190
|
</parameter>
|
190
191
|
<parameter name="destroy_fn"
|
@@ -192,11 +193,11 @@ images with 8 bits per sample are supported.</doc>
|
|
192
193
|
allow-none="1"
|
193
194
|
scope="async"
|
194
195
|
closure="8">
|
195
|
-
<doc xml:
|
196
|
+
<doc xml:space="preserve">Function used to free the data when the pixbuf's reference count drops to zero, or %NULL if the data should not be freed</doc>
|
196
197
|
<type name="PixbufDestroyNotify" c:type="GdkPixbufDestroyNotify"/>
|
197
198
|
</parameter>
|
198
199
|
<parameter name="destroy_fn_data" transfer-ownership="none">
|
199
|
-
<doc xml:
|
200
|
+
<doc xml:space="preserve">Closure data to pass to the destroy notification function</doc>
|
200
201
|
<type name="gpointer" c:type="gpointer"/>
|
201
202
|
</parameter>
|
202
203
|
</parameters>
|
@@ -255,7 +256,7 @@ images with 8 bits per sample are supported.</doc>
|
|
255
256
|
<constructor name="new_from_inline"
|
256
257
|
c:identifier="gdk_pixbuf_new_from_inline"
|
257
258
|
throws="1">
|
258
|
-
<doc xml:
|
259
|
+
<doc xml:space="preserve">Create a #GdkPixbuf from a flat representation that is suitable for
|
259
260
|
storing as inline data in a program. This is useful if you want to
|
260
261
|
ship a program with images, but don't want to depend on any
|
261
262
|
external files.
|
@@ -287,22 +288,22 @@ For non-const inline data, you could get out of memory. For untrusted
|
|
287
288
|
inline data located at runtime, you could have corrupt inline data in
|
288
289
|
addition.</doc>
|
289
290
|
<return-value transfer-ownership="full">
|
290
|
-
<doc xml:
|
291
|
+
<doc xml:space="preserve">A newly-created #GdkPixbuf structure with a reference, count of 1, or %NULL if an error occurred.</doc>
|
291
292
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
292
293
|
</return-value>
|
293
294
|
<parameters>
|
294
295
|
<parameter name="data_length" transfer-ownership="none">
|
295
|
-
<doc xml:
|
296
|
+
<doc xml:space="preserve">Length in bytes of the @data argument or -1 to disable length checks</doc>
|
296
297
|
<type name="gint" c:type="gint"/>
|
297
298
|
</parameter>
|
298
299
|
<parameter name="data" transfer-ownership="none">
|
299
|
-
<doc xml:
|
300
|
+
<doc xml:space="preserve">Byte data containing a serialized #GdkPixdata structure</doc>
|
300
301
|
<array length="0" zero-terminated="0" c:type="guint8*">
|
301
302
|
<type name="guint8" c:type="guint8"/>
|
302
303
|
</array>
|
303
304
|
</parameter>
|
304
305
|
<parameter name="copy_pixels" transfer-ownership="none">
|
305
|
-
<doc xml:
|
306
|
+
<doc xml:space="preserve">Whether to copy the pixel data, or use direct pointers @data for the resulting pixbuf</doc>
|
306
307
|
<type name="gboolean" c:type="gboolean"/>
|
307
308
|
</parameter>
|
308
309
|
</parameters>
|
@@ -311,17 +312,17 @@ addition.</doc>
|
|
311
312
|
c:identifier="gdk_pixbuf_new_from_resource"
|
312
313
|
version="2.26"
|
313
314
|
throws="1">
|
314
|
-
<doc xml:
|
315
|
+
<doc xml:space="preserve">Creates a new pixbuf by loading an image from an resource.
|
315
316
|
|
316
317
|
The file format is detected automatically. If %NULL is returned, then
|
317
318
|
@error will be set.</doc>
|
318
319
|
<return-value transfer-ownership="full">
|
319
|
-
<doc xml:
|
320
|
+
<doc xml:space="preserve">A newly-created pixbuf, or %NULL if any of several error conditions occurred: the file could not be opened, the image format is not supported, there was not enough memory to allocate the image buffer, the stream contained invalid data, or the operation was cancelled.</doc>
|
320
321
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
321
322
|
</return-value>
|
322
323
|
<parameters>
|
323
324
|
<parameter name="resource_path" transfer-ownership="none">
|
324
|
-
<doc xml:
|
325
|
+
<doc xml:space="preserve">the path of the resource file</doc>
|
325
326
|
<type name="utf8" c:type="const char*"/>
|
326
327
|
</parameter>
|
327
328
|
</parameters>
|
@@ -330,7 +331,7 @@ The file format is detected automatically. If %NULL is returned, then
|
|
330
331
|
c:identifier="gdk_pixbuf_new_from_resource_at_scale"
|
331
332
|
version="2.26"
|
332
333
|
throws="1">
|
333
|
-
<doc xml:
|
334
|
+
<doc xml:space="preserve">Creates a new pixbuf by loading an image from an resource.
|
334
335
|
|
335
336
|
The file format is detected automatically. If %NULL is returned, then
|
336
337
|
@error will be set.
|
@@ -344,24 +345,24 @@ exact given width. When not preserving aspect ratio, a @width or
|
|
344
345
|
|
345
346
|
The stream is not closed.</doc>
|
346
347
|
<return-value transfer-ownership="full">
|
347
|
-
<doc xml:
|
348
|
+
<doc xml:space="preserve">A newly-created pixbuf, or %NULL if any of several error conditions occurred: the file could not be opened, the image format is not supported, there was not enough memory to allocate the image buffer, the stream contained invalid data, or the operation was cancelled.</doc>
|
348
349
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
349
350
|
</return-value>
|
350
351
|
<parameters>
|
351
352
|
<parameter name="resource_path" transfer-ownership="none">
|
352
|
-
<doc xml:
|
353
|
+
<doc xml:space="preserve">the path of the resource file</doc>
|
353
354
|
<type name="utf8" c:type="const char*"/>
|
354
355
|
</parameter>
|
355
356
|
<parameter name="width" transfer-ownership="none">
|
356
|
-
<doc xml:
|
357
|
+
<doc xml:space="preserve">The width the image should have or -1 to not constrain the width</doc>
|
357
358
|
<type name="gint" c:type="int"/>
|
358
359
|
</parameter>
|
359
360
|
<parameter name="height" transfer-ownership="none">
|
360
|
-
<doc xml:
|
361
|
+
<doc xml:space="preserve">The height the image should have or -1 to not constrain the height</doc>
|
361
362
|
<type name="gint" c:type="int"/>
|
362
363
|
</parameter>
|
363
364
|
<parameter name="preserve_aspect_ratio" transfer-ownership="none">
|
364
|
-
<doc xml:
|
365
|
+
<doc xml:space="preserve">%TRUE to preserve the image's aspect ratio</doc>
|
365
366
|
<type name="gboolean" c:type="gboolean"/>
|
366
367
|
</parameter>
|
367
368
|
</parameters>
|
@@ -370,7 +371,7 @@ The stream is not closed.</doc>
|
|
370
371
|
c:identifier="gdk_pixbuf_new_from_stream"
|
371
372
|
version="2.14"
|
372
373
|
throws="1">
|
373
|
-
<doc xml:
|
374
|
+
<doc xml:space="preserve">Creates a new pixbuf by loading an image from an input stream.
|
374
375
|
|
375
376
|
The file format is detected automatically. If %NULL is returned, then
|
376
377
|
@error will be set. The @cancellable can be used to abort the operation
|
@@ -380,18 +381,18 @@ the #GDK_PIXBUF_ERROR and %G_IO_ERROR domains.
|
|
380
381
|
|
381
382
|
The stream is not closed.</doc>
|
382
383
|
<return-value transfer-ownership="full">
|
383
|
-
<doc xml:
|
384
|
+
<doc xml:space="preserve">A newly-created pixbuf, or %NULL if any of several error conditions occurred: the file could not be opened, the image format is not supported, there was not enough memory to allocate the image buffer, the stream contained invalid data, or the operation was cancelled.</doc>
|
384
385
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
385
386
|
</return-value>
|
386
387
|
<parameters>
|
387
388
|
<parameter name="stream" transfer-ownership="none">
|
388
|
-
<doc xml:
|
389
|
+
<doc xml:space="preserve">a #GInputStream to load the pixbuf from</doc>
|
389
390
|
<type name="Gio.InputStream" c:type="GInputStream*"/>
|
390
391
|
</parameter>
|
391
392
|
<parameter name="cancellable"
|
392
393
|
transfer-ownership="none"
|
393
394
|
allow-none="1">
|
394
|
-
<doc xml:
|
395
|
+
<doc xml:space="preserve">optional #GCancellable object, %NULL to ignore</doc>
|
395
396
|
<type name="Gio.Cancellable" c:type="GCancellable*"/>
|
396
397
|
</parameter>
|
397
398
|
</parameters>
|
@@ -400,7 +401,7 @@ The stream is not closed.</doc>
|
|
400
401
|
c:identifier="gdk_pixbuf_new_from_stream_at_scale"
|
401
402
|
version="2.14"
|
402
403
|
throws="1">
|
403
|
-
<doc xml:
|
404
|
+
<doc xml:space="preserve">Creates a new pixbuf by loading an image from an input stream.
|
404
405
|
|
405
406
|
The file format is detected automatically. If %NULL is returned, then
|
406
407
|
@error will be set. The @cancellable can be used to abort the operation
|
@@ -417,30 +418,30 @@ exact given width. When not preserving aspect ratio, a @width or
|
|
417
418
|
|
418
419
|
The stream is not closed.</doc>
|
419
420
|
<return-value transfer-ownership="full">
|
420
|
-
<doc xml:
|
421
|
+
<doc xml:space="preserve">A newly-created pixbuf, or %NULL if any of several error conditions occurred: the file could not be opened, the image format is not supported, there was not enough memory to allocate the image buffer, the stream contained invalid data, or the operation was cancelled.</doc>
|
421
422
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
422
423
|
</return-value>
|
423
424
|
<parameters>
|
424
425
|
<parameter name="stream" transfer-ownership="none">
|
425
|
-
<doc xml:
|
426
|
+
<doc xml:space="preserve">a #GInputStream to load the pixbuf from</doc>
|
426
427
|
<type name="Gio.InputStream" c:type="GInputStream*"/>
|
427
428
|
</parameter>
|
428
429
|
<parameter name="width" transfer-ownership="none">
|
429
|
-
<doc xml:
|
430
|
+
<doc xml:space="preserve">The width the image should have or -1 to not constrain the width</doc>
|
430
431
|
<type name="gint" c:type="gint"/>
|
431
432
|
</parameter>
|
432
433
|
<parameter name="height" transfer-ownership="none">
|
433
|
-
<doc xml:
|
434
|
+
<doc xml:space="preserve">The height the image should have or -1 to not constrain the height</doc>
|
434
435
|
<type name="gint" c:type="gint"/>
|
435
436
|
</parameter>
|
436
437
|
<parameter name="preserve_aspect_ratio" transfer-ownership="none">
|
437
|
-
<doc xml:
|
438
|
+
<doc xml:space="preserve">%TRUE to preserve the image's aspect ratio</doc>
|
438
439
|
<type name="gboolean" c:type="gboolean"/>
|
439
440
|
</parameter>
|
440
441
|
<parameter name="cancellable"
|
441
442
|
transfer-ownership="none"
|
442
443
|
allow-none="1">
|
443
|
-
<doc xml:
|
444
|
+
<doc xml:space="preserve">optional #GCancellable object, %NULL to ignore</doc>
|
444
445
|
<type name="Gio.Cancellable" c:type="GCancellable*"/>
|
445
446
|
</parameter>
|
446
447
|
</parameters>
|
@@ -449,30 +450,30 @@ The stream is not closed.</doc>
|
|
449
450
|
c:identifier="gdk_pixbuf_new_from_stream_finish"
|
450
451
|
version="2.24"
|
451
452
|
throws="1">
|
452
|
-
<doc xml:
|
453
|
+
<doc xml:space="preserve">Finishes an asynchronous pixbuf creation operation started with
|
453
454
|
gdk_pixbuf_new_from_stream_async().</doc>
|
454
455
|
<return-value transfer-ownership="full">
|
455
|
-
<doc xml:
|
456
|
+
<doc xml:space="preserve">a #GdkPixbuf or %NULL on error. Free the returned object with g_object_unref().</doc>
|
456
457
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
457
458
|
</return-value>
|
458
459
|
<parameters>
|
459
460
|
<parameter name="async_result" transfer-ownership="none">
|
460
|
-
<doc xml:
|
461
|
+
<doc xml:space="preserve">a #GAsyncResult</doc>
|
461
462
|
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
|
462
463
|
</parameter>
|
463
464
|
</parameters>
|
464
465
|
</constructor>
|
465
466
|
<constructor name="new_from_xpm_data"
|
466
467
|
c:identifier="gdk_pixbuf_new_from_xpm_data">
|
467
|
-
<doc xml:
|
468
|
+
<doc xml:space="preserve">Creates a new pixbuf by parsing XPM data in memory. This data is commonly
|
468
469
|
the result of including an XPM file into a program's C source.</doc>
|
469
470
|
<return-value transfer-ownership="full">
|
470
|
-
<doc xml:
|
471
|
+
<doc xml:space="preserve">A newly-created pixbuf with a reference count of 1.</doc>
|
471
472
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
472
473
|
</return-value>
|
473
474
|
<parameters>
|
474
475
|
<parameter name="data" transfer-ownership="none">
|
475
|
-
<doc xml:
|
476
|
+
<doc xml:space="preserve">Pointer to inline XPM data.</doc>
|
476
477
|
<array c:type="char**">
|
477
478
|
<type name="utf8" c:type="char*"/>
|
478
479
|
</array>
|
@@ -482,20 +483,20 @@ the result of including an XPM file into a program's C source.</doc>
|
|
482
483
|
<function name="from_pixdata"
|
483
484
|
c:identifier="gdk_pixbuf_from_pixdata"
|
484
485
|
throws="1">
|
485
|
-
<doc xml:
|
486
|
+
<doc xml:space="preserve">Converts a #GdkPixdata to a #GdkPixbuf. If @copy_pixels is %TRUE or
|
486
487
|
if the pixel data is run-length-encoded, the pixel data is copied into
|
487
488
|
newly-allocated memory; otherwise it is reused.</doc>
|
488
489
|
<return-value transfer-ownership="full">
|
489
|
-
<doc xml:
|
490
|
+
<doc xml:space="preserve">a new #GdkPixbuf.</doc>
|
490
491
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
491
492
|
</return-value>
|
492
493
|
<parameters>
|
493
494
|
<parameter name="pixdata" transfer-ownership="none">
|
494
|
-
<doc xml:
|
495
|
+
<doc xml:space="preserve">a #GdkPixdata to convert into a #GdkPixbuf.</doc>
|
495
496
|
<type name="Pixdata" c:type="const GdkPixdata*"/>
|
496
497
|
</parameter>
|
497
498
|
<parameter name="copy_pixels" transfer-ownership="none">
|
498
|
-
<doc xml:
|
499
|
+
<doc xml:space="preserve">whether to copy raw pixel data; run-length encoded pixel data is always copied.</doc>
|
499
500
|
<type name="gboolean" c:type="gboolean"/>
|
500
501
|
</parameter>
|
501
502
|
</parameters>
|
@@ -503,28 +504,28 @@ newly-allocated memory; otherwise it is reused.</doc>
|
|
503
504
|
<function name="get_file_info"
|
504
505
|
c:identifier="gdk_pixbuf_get_file_info"
|
505
506
|
version="2.4">
|
506
|
-
<doc xml:
|
507
|
+
<doc xml:space="preserve">Parses an image file far enough to determine its format and size.</doc>
|
507
508
|
<return-value transfer-ownership="none">
|
508
|
-
<doc xml:
|
509
|
+
<doc xml:space="preserve">A #GdkPixbufFormat describing the image format of the file or %NULL if the image format wasn't recognized. The return value is owned by GdkPixbuf and should not be freed.</doc>
|
509
510
|
<type name="PixbufFormat" c:type="GdkPixbufFormat*"/>
|
510
511
|
</return-value>
|
511
512
|
<parameters>
|
512
513
|
<parameter name="filename" transfer-ownership="none">
|
513
|
-
<doc xml:
|
514
|
+
<doc xml:space="preserve">The name of the file to identify.</doc>
|
514
515
|
<type name="utf8" c:type="const gchar*"/>
|
515
516
|
</parameter>
|
516
517
|
<parameter name="width"
|
517
518
|
direction="out"
|
518
519
|
caller-allocates="0"
|
519
520
|
transfer-ownership="full">
|
520
|
-
<doc xml:
|
521
|
+
<doc xml:space="preserve">Return location for the width of the image, or %NULL</doc>
|
521
522
|
<type name="gint" c:type="gint*"/>
|
522
523
|
</parameter>
|
523
524
|
<parameter name="height"
|
524
525
|
direction="out"
|
525
526
|
caller-allocates="0"
|
526
527
|
transfer-ownership="full">
|
527
|
-
<doc xml:
|
528
|
+
<doc xml:space="preserve">Return location for the height of the image, or %NULL</doc>
|
528
529
|
<type name="gint" c:type="gint*"/>
|
529
530
|
</parameter>
|
530
531
|
</parameters>
|
@@ -532,10 +533,10 @@ newly-allocated memory; otherwise it is reused.</doc>
|
|
532
533
|
<function name="get_formats"
|
533
534
|
c:identifier="gdk_pixbuf_get_formats"
|
534
535
|
version="2.2">
|
535
|
-
<doc xml:
|
536
|
+
<doc xml:space="preserve">Obtains the available information about the image formats supported
|
536
537
|
by GdkPixbuf.</doc>
|
537
538
|
<return-value transfer-ownership="container">
|
538
|
-
<doc xml:
|
539
|
+
<doc xml:space="preserve">A list of #GdkPixbufFormat<!-- -->s describing the supported image formats. The list should be freed when it is no longer needed, but the structures themselves are owned by #GdkPixbuf and should not be freed.</doc>
|
539
540
|
<type name="GLib.SList" c:type="GSList*">
|
540
541
|
<type name="PixbufFormat"/>
|
541
542
|
</type>
|
@@ -554,7 +555,7 @@ by GdkPixbuf.</doc>
|
|
554
555
|
<function name="new_from_stream_async"
|
555
556
|
c:identifier="gdk_pixbuf_new_from_stream_async"
|
556
557
|
version="2.24">
|
557
|
-
<doc xml:
|
558
|
+
<doc xml:space="preserve">Creates a new pixbuf by asynchronously loading an image from an input stream.
|
558
559
|
|
559
560
|
For more details see gdk_pixbuf_new_from_stream(), which is the synchronous
|
560
561
|
version of this function.
|
@@ -566,13 +567,13 @@ You can then call gdk_pixbuf_new_from_stream_finish() to get the result of the o
|
|
566
567
|
</return-value>
|
567
568
|
<parameters>
|
568
569
|
<parameter name="stream" transfer-ownership="none">
|
569
|
-
<doc xml:
|
570
|
+
<doc xml:space="preserve">a #GInputStream from which to load the pixbuf</doc>
|
570
571
|
<type name="Gio.InputStream" c:type="GInputStream*"/>
|
571
572
|
</parameter>
|
572
573
|
<parameter name="cancellable"
|
573
574
|
transfer-ownership="none"
|
574
575
|
allow-none="1">
|
575
|
-
<doc xml:
|
576
|
+
<doc xml:space="preserve">optional #GCancellable object, %NULL to ignore</doc>
|
576
577
|
<type name="Gio.Cancellable" c:type="GCancellable*"/>
|
577
578
|
</parameter>
|
578
579
|
<parameter name="callback"
|
@@ -580,11 +581,11 @@ You can then call gdk_pixbuf_new_from_stream_finish() to get the result of the o
|
|
580
581
|
allow-none="1"
|
581
582
|
scope="async"
|
582
583
|
closure="3">
|
583
|
-
<doc xml:
|
584
|
+
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the the pixbuf is loaded</doc>
|
584
585
|
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
|
585
586
|
</parameter>
|
586
587
|
<parameter name="user_data" transfer-ownership="none">
|
587
|
-
<doc xml:
|
588
|
+
<doc xml:space="preserve">the data to pass to the callback function</doc>
|
588
589
|
<type name="gpointer" c:type="gpointer"/>
|
589
590
|
</parameter>
|
590
591
|
</parameters>
|
@@ -592,7 +593,7 @@ You can then call gdk_pixbuf_new_from_stream_finish() to get the result of the o
|
|
592
593
|
<function name="new_from_stream_at_scale_async"
|
593
594
|
c:identifier="gdk_pixbuf_new_from_stream_at_scale_async"
|
594
595
|
version="2.24">
|
595
|
-
<doc xml:
|
596
|
+
<doc xml:space="preserve">Creates a new pixbuf by asynchronously loading an image from an input stream.
|
596
597
|
|
597
598
|
For more details see gdk_pixbuf_new_from_stream_at_scale(), which is the synchronous
|
598
599
|
version of this function.
|
@@ -604,25 +605,25 @@ You can then call gdk_pixbuf_new_from_stream_finish() to get the result of the o
|
|
604
605
|
</return-value>
|
605
606
|
<parameters>
|
606
607
|
<parameter name="stream" transfer-ownership="none">
|
607
|
-
<doc xml:
|
608
|
+
<doc xml:space="preserve">a #GInputStream from which to load the pixbuf</doc>
|
608
609
|
<type name="Gio.InputStream" c:type="GInputStream*"/>
|
609
610
|
</parameter>
|
610
611
|
<parameter name="width" transfer-ownership="none">
|
611
|
-
<doc xml:
|
612
|
+
<doc xml:space="preserve">the width the image should have or -1 to not constrain the width</doc>
|
612
613
|
<type name="gint" c:type="gint"/>
|
613
614
|
</parameter>
|
614
615
|
<parameter name="height" transfer-ownership="none">
|
615
|
-
<doc xml:
|
616
|
+
<doc xml:space="preserve">the height the image should have or -1 to not constrain the height</doc>
|
616
617
|
<type name="gint" c:type="gint"/>
|
617
618
|
</parameter>
|
618
619
|
<parameter name="preserve_aspect_ratio" transfer-ownership="none">
|
619
|
-
<doc xml:
|
620
|
+
<doc xml:space="preserve">%TRUE to preserve the image's aspect ratio</doc>
|
620
621
|
<type name="gboolean" c:type="gboolean"/>
|
621
622
|
</parameter>
|
622
623
|
<parameter name="cancellable"
|
623
624
|
transfer-ownership="none"
|
624
625
|
allow-none="1">
|
625
|
-
<doc xml:
|
626
|
+
<doc xml:space="preserve">optional #GCancellable object, %NULL to ignore</doc>
|
626
627
|
<type name="Gio.Cancellable" c:type="GCancellable*"/>
|
627
628
|
</parameter>
|
628
629
|
<parameter name="callback"
|
@@ -630,11 +631,11 @@ You can then call gdk_pixbuf_new_from_stream_finish() to get the result of the o
|
|
630
631
|
allow-none="1"
|
631
632
|
scope="async"
|
632
633
|
closure="6">
|
633
|
-
<doc xml:
|
634
|
+
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the the pixbuf is loaded</doc>
|
634
635
|
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
|
635
636
|
</parameter>
|
636
637
|
<parameter name="user_data" transfer-ownership="none">
|
637
|
-
<doc xml:
|
638
|
+
<doc xml:space="preserve">the data to pass to the callback function</doc>
|
638
639
|
<type name="gpointer" c:type="gpointer"/>
|
639
640
|
</parameter>
|
640
641
|
</parameters>
|
@@ -643,21 +644,21 @@ You can then call gdk_pixbuf_new_from_stream_finish() to get the result of the o
|
|
643
644
|
c:identifier="gdk_pixbuf_save_to_stream_finish"
|
644
645
|
version="2.24"
|
645
646
|
throws="1">
|
646
|
-
<doc xml:
|
647
|
+
<doc xml:space="preserve">Finishes an asynchronous pixbuf save operation started with
|
647
648
|
gdk_pixbuf_save_to_stream_async().</doc>
|
648
649
|
<return-value transfer-ownership="none">
|
649
|
-
<doc xml:
|
650
|
+
<doc xml:space="preserve">%TRUE if the pixbuf was saved successfully, %FALSE if an error was set.</doc>
|
650
651
|
<type name="gboolean" c:type="gboolean"/>
|
651
652
|
</return-value>
|
652
653
|
<parameters>
|
653
654
|
<parameter name="async_result" transfer-ownership="none">
|
654
|
-
<doc xml:
|
655
|
+
<doc xml:space="preserve">a #GAsyncResult</doc>
|
655
656
|
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
|
656
657
|
</parameter>
|
657
658
|
</parameters>
|
658
659
|
</function>
|
659
660
|
<method name="add_alpha" c:identifier="gdk_pixbuf_add_alpha">
|
660
|
-
<doc xml:
|
661
|
+
<doc xml:space="preserve">Takes an existing pixbuf and adds an alpha channel to it.
|
661
662
|
If the existing pixbuf already had an alpha channel, the channel
|
662
663
|
values are copied from the original; otherwise, the alpha channel
|
663
664
|
is initialized to 255 (full opacity).
|
@@ -666,28 +667,28 @@ If @substitute_color is %TRUE, then the color specified by (@r, @g, @b) will be
|
|
666
667
|
assigned zero opacity. That is, if you pass (255, 255, 255) for the
|
667
668
|
substitute color, all white pixels will become fully transparent.</doc>
|
668
669
|
<return-value transfer-ownership="full">
|
669
|
-
<doc xml:
|
670
|
+
<doc xml:space="preserve">A newly-created pixbuf with a reference count of 1.</doc>
|
670
671
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
671
672
|
</return-value>
|
672
673
|
<parameters>
|
673
674
|
<instance-parameter name="pixbuf" transfer-ownership="none">
|
674
|
-
<doc xml:
|
675
|
+
<doc xml:space="preserve">A #GdkPixbuf.</doc>
|
675
676
|
<type name="Pixbuf" c:type="const GdkPixbuf*"/>
|
676
677
|
</instance-parameter>
|
677
678
|
<parameter name="substitute_color" transfer-ownership="none">
|
678
|
-
<doc xml:
|
679
|
+
<doc xml:space="preserve">Whether to set a color to zero opacity. If this is %FALSE, then the (@r, @g, @b) arguments will be ignored.</doc>
|
679
680
|
<type name="gboolean" c:type="gboolean"/>
|
680
681
|
</parameter>
|
681
682
|
<parameter name="r" transfer-ownership="none">
|
682
|
-
<doc xml:
|
683
|
+
<doc xml:space="preserve">Red value to substitute.</doc>
|
683
684
|
<type name="guint8" c:type="guchar"/>
|
684
685
|
</parameter>
|
685
686
|
<parameter name="g" transfer-ownership="none">
|
686
|
-
<doc xml:
|
687
|
+
<doc xml:space="preserve">Green value to substitute.</doc>
|
687
688
|
<type name="guint8" c:type="guchar"/>
|
688
689
|
</parameter>
|
689
690
|
<parameter name="b" transfer-ownership="none">
|
690
|
-
<doc xml:
|
691
|
+
<doc xml:space="preserve">Blue value to substitute.</doc>
|
691
692
|
<type name="guint8" c:type="guchar"/>
|
692
693
|
</parameter>
|
693
694
|
</parameters>
|
@@ -695,7 +696,7 @@ substitute color, all white pixels will become fully transparent.</doc>
|
|
695
696
|
<method name="apply_embedded_orientation"
|
696
697
|
c:identifier="gdk_pixbuf_apply_embedded_orientation"
|
697
698
|
version="2.12">
|
698
|
-
<doc xml:
|
699
|
+
<doc xml:space="preserve">Takes an existing pixbuf and checks for the presence of an
|
699
700
|
associated "orientation" option, which may be provided by the
|
700
701
|
jpeg loader (which reads the exif orientation tag) or the
|
701
702
|
tiff loader (which reads the tiff orientation tag, and
|
@@ -704,18 +705,18 @@ libtiff). If an orientation option/tag is present, the
|
|
704
705
|
appropriate transform will be performed so that the pixbuf
|
705
706
|
is oriented correctly.</doc>
|
706
707
|
<return-value transfer-ownership="full">
|
707
|
-
<doc xml:
|
708
|
+
<doc xml:space="preserve">A newly-created pixbuf, or a reference to the input pixbuf (with an increased reference count).</doc>
|
708
709
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
709
710
|
</return-value>
|
710
711
|
<parameters>
|
711
712
|
<instance-parameter name="src" transfer-ownership="none">
|
712
|
-
<doc xml:
|
713
|
+
<doc xml:space="preserve">A #GdkPixbuf.</doc>
|
713
714
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
714
715
|
</instance-parameter>
|
715
716
|
</parameters>
|
716
717
|
</method>
|
717
718
|
<method name="composite" c:identifier="gdk_pixbuf_composite">
|
718
|
-
<doc xml:
|
719
|
+
<doc xml:space="preserve">Creates a transformation of the source image @src by scaling by
|
719
720
|
@scale_x and @scale_y then translating by @offset_x and @offset_y.
|
720
721
|
This gives an image in the coordinates of the destination pixbuf.
|
721
722
|
The rectangle (@dest_x, @dest_y, @dest_width, @dest_height)
|
@@ -735,57 +736,57 @@ to infinity.
|
|
735
736
|
</return-value>
|
736
737
|
<parameters>
|
737
738
|
<instance-parameter name="src" transfer-ownership="none">
|
738
|
-
<doc xml:
|
739
|
+
<doc xml:space="preserve">a #GdkPixbuf</doc>
|
739
740
|
<type name="Pixbuf" c:type="const GdkPixbuf*"/>
|
740
741
|
</instance-parameter>
|
741
742
|
<parameter name="dest" transfer-ownership="none">
|
742
|
-
<doc xml:
|
743
|
+
<doc xml:space="preserve">the #GdkPixbuf into which to render the results</doc>
|
743
744
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
744
745
|
</parameter>
|
745
746
|
<parameter name="dest_x" transfer-ownership="none">
|
746
|
-
<doc xml:
|
747
|
+
<doc xml:space="preserve">the left coordinate for region to render</doc>
|
747
748
|
<type name="gint" c:type="int"/>
|
748
749
|
</parameter>
|
749
750
|
<parameter name="dest_y" transfer-ownership="none">
|
750
|
-
<doc xml:
|
751
|
+
<doc xml:space="preserve">the top coordinate for region to render</doc>
|
751
752
|
<type name="gint" c:type="int"/>
|
752
753
|
</parameter>
|
753
754
|
<parameter name="dest_width" transfer-ownership="none">
|
754
|
-
<doc xml:
|
755
|
+
<doc xml:space="preserve">the width of the region to render</doc>
|
755
756
|
<type name="gint" c:type="int"/>
|
756
757
|
</parameter>
|
757
758
|
<parameter name="dest_height" transfer-ownership="none">
|
758
|
-
<doc xml:
|
759
|
+
<doc xml:space="preserve">the height of the region to render</doc>
|
759
760
|
<type name="gint" c:type="int"/>
|
760
761
|
</parameter>
|
761
762
|
<parameter name="offset_x" transfer-ownership="none">
|
762
|
-
<doc xml:
|
763
|
+
<doc xml:space="preserve">the offset in the X direction (currently rounded to an integer)</doc>
|
763
764
|
<type name="gdouble" c:type="double"/>
|
764
765
|
</parameter>
|
765
766
|
<parameter name="offset_y" transfer-ownership="none">
|
766
|
-
<doc xml:
|
767
|
+
<doc xml:space="preserve">the offset in the Y direction (currently rounded to an integer)</doc>
|
767
768
|
<type name="gdouble" c:type="double"/>
|
768
769
|
</parameter>
|
769
770
|
<parameter name="scale_x" transfer-ownership="none">
|
770
|
-
<doc xml:
|
771
|
+
<doc xml:space="preserve">the scale factor in the X direction</doc>
|
771
772
|
<type name="gdouble" c:type="double"/>
|
772
773
|
</parameter>
|
773
774
|
<parameter name="scale_y" transfer-ownership="none">
|
774
|
-
<doc xml:
|
775
|
+
<doc xml:space="preserve">the scale factor in the Y direction</doc>
|
775
776
|
<type name="gdouble" c:type="double"/>
|
776
777
|
</parameter>
|
777
778
|
<parameter name="interp_type" transfer-ownership="none">
|
778
|
-
<doc xml:
|
779
|
+
<doc xml:space="preserve">the interpolation type for the transformation.</doc>
|
779
780
|
<type name="InterpType" c:type="GdkInterpType"/>
|
780
781
|
</parameter>
|
781
782
|
<parameter name="overall_alpha" transfer-ownership="none">
|
782
|
-
<doc xml:
|
783
|
+
<doc xml:space="preserve">overall alpha for source image (0..255)</doc>
|
783
784
|
<type name="gint" c:type="int"/>
|
784
785
|
</parameter>
|
785
786
|
</parameters>
|
786
787
|
</method>
|
787
788
|
<method name="composite_color" c:identifier="gdk_pixbuf_composite_color">
|
788
|
-
<doc xml:
|
789
|
+
<doc xml:space="preserve">Creates a transformation of the source image @src by scaling by
|
789
790
|
@scale_x and @scale_y then translating by @offset_x and @offset_y,
|
790
791
|
then composites the rectangle (@dest_x ,@dest_y, @dest_width,
|
791
792
|
@dest_height) of the resulting image with a checkboard of the
|
@@ -799,135 +800,135 @@ function suitable for many tasks.</doc>
|
|
799
800
|
</return-value>
|
800
801
|
<parameters>
|
801
802
|
<instance-parameter name="src" transfer-ownership="none">
|
802
|
-
<doc xml:
|
803
|
+
<doc xml:space="preserve">a #GdkPixbuf</doc>
|
803
804
|
<type name="Pixbuf" c:type="const GdkPixbuf*"/>
|
804
805
|
</instance-parameter>
|
805
806
|
<parameter name="dest" transfer-ownership="none">
|
806
|
-
<doc xml:
|
807
|
+
<doc xml:space="preserve">the #GdkPixbuf into which to render the results</doc>
|
807
808
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
808
809
|
</parameter>
|
809
810
|
<parameter name="dest_x" transfer-ownership="none">
|
810
|
-
<doc xml:
|
811
|
+
<doc xml:space="preserve">the left coordinate for region to render</doc>
|
811
812
|
<type name="gint" c:type="int"/>
|
812
813
|
</parameter>
|
813
814
|
<parameter name="dest_y" transfer-ownership="none">
|
814
|
-
<doc xml:
|
815
|
+
<doc xml:space="preserve">the top coordinate for region to render</doc>
|
815
816
|
<type name="gint" c:type="int"/>
|
816
817
|
</parameter>
|
817
818
|
<parameter name="dest_width" transfer-ownership="none">
|
818
|
-
<doc xml:
|
819
|
+
<doc xml:space="preserve">the width of the region to render</doc>
|
819
820
|
<type name="gint" c:type="int"/>
|
820
821
|
</parameter>
|
821
822
|
<parameter name="dest_height" transfer-ownership="none">
|
822
|
-
<doc xml:
|
823
|
+
<doc xml:space="preserve">the height of the region to render</doc>
|
823
824
|
<type name="gint" c:type="int"/>
|
824
825
|
</parameter>
|
825
826
|
<parameter name="offset_x" transfer-ownership="none">
|
826
|
-
<doc xml:
|
827
|
+
<doc xml:space="preserve">the offset in the X direction (currently rounded to an integer)</doc>
|
827
828
|
<type name="gdouble" c:type="double"/>
|
828
829
|
</parameter>
|
829
830
|
<parameter name="offset_y" transfer-ownership="none">
|
830
|
-
<doc xml:
|
831
|
+
<doc xml:space="preserve">the offset in the Y direction (currently rounded to an integer)</doc>
|
831
832
|
<type name="gdouble" c:type="double"/>
|
832
833
|
</parameter>
|
833
834
|
<parameter name="scale_x" transfer-ownership="none">
|
834
|
-
<doc xml:
|
835
|
+
<doc xml:space="preserve">the scale factor in the X direction</doc>
|
835
836
|
<type name="gdouble" c:type="double"/>
|
836
837
|
</parameter>
|
837
838
|
<parameter name="scale_y" transfer-ownership="none">
|
838
|
-
<doc xml:
|
839
|
+
<doc xml:space="preserve">the scale factor in the Y direction</doc>
|
839
840
|
<type name="gdouble" c:type="double"/>
|
840
841
|
</parameter>
|
841
842
|
<parameter name="interp_type" transfer-ownership="none">
|
842
|
-
<doc xml:
|
843
|
+
<doc xml:space="preserve">the interpolation type for the transformation.</doc>
|
843
844
|
<type name="InterpType" c:type="GdkInterpType"/>
|
844
845
|
</parameter>
|
845
846
|
<parameter name="overall_alpha" transfer-ownership="none">
|
846
|
-
<doc xml:
|
847
|
+
<doc xml:space="preserve">overall alpha for source image (0..255)</doc>
|
847
848
|
<type name="gint" c:type="int"/>
|
848
849
|
</parameter>
|
849
850
|
<parameter name="check_x" transfer-ownership="none">
|
850
|
-
<doc xml:
|
851
|
+
<doc xml:space="preserve">the X offset for the checkboard (origin of checkboard is at -@check_x, -@check_y)</doc>
|
851
852
|
<type name="gint" c:type="int"/>
|
852
853
|
</parameter>
|
853
854
|
<parameter name="check_y" transfer-ownership="none">
|
854
|
-
<doc xml:
|
855
|
+
<doc xml:space="preserve">the Y offset for the checkboard</doc>
|
855
856
|
<type name="gint" c:type="int"/>
|
856
857
|
</parameter>
|
857
858
|
<parameter name="check_size" transfer-ownership="none">
|
858
|
-
<doc xml:
|
859
|
+
<doc xml:space="preserve">the size of checks in the checkboard (must be a power of two)</doc>
|
859
860
|
<type name="gint" c:type="int"/>
|
860
861
|
</parameter>
|
861
862
|
<parameter name="color1" transfer-ownership="none">
|
862
|
-
<doc xml:
|
863
|
+
<doc xml:space="preserve">the color of check at upper left</doc>
|
863
864
|
<type name="guint32" c:type="guint32"/>
|
864
865
|
</parameter>
|
865
866
|
<parameter name="color2" transfer-ownership="none">
|
866
|
-
<doc xml:
|
867
|
+
<doc xml:space="preserve">the color of the other check</doc>
|
867
868
|
<type name="guint32" c:type="guint32"/>
|
868
869
|
</parameter>
|
869
870
|
</parameters>
|
870
871
|
</method>
|
871
872
|
<method name="composite_color_simple"
|
872
873
|
c:identifier="gdk_pixbuf_composite_color_simple">
|
873
|
-
<doc xml:
|
874
|
+
<doc xml:space="preserve">Creates a new #GdkPixbuf by scaling @src to @dest_width x
|
874
875
|
@dest_height and compositing the result with a checkboard of colors
|
875
876
|
@color1 and @color2.</doc>
|
876
877
|
<return-value transfer-ownership="full">
|
877
|
-
<doc xml:
|
878
|
+
<doc xml:space="preserve">the new #GdkPixbuf, or %NULL if not enough memory could be allocated for it.</doc>
|
878
879
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
879
880
|
</return-value>
|
880
881
|
<parameters>
|
881
882
|
<instance-parameter name="src" transfer-ownership="none">
|
882
|
-
<doc xml:
|
883
|
+
<doc xml:space="preserve">a #GdkPixbuf</doc>
|
883
884
|
<type name="Pixbuf" c:type="const GdkPixbuf*"/>
|
884
885
|
</instance-parameter>
|
885
886
|
<parameter name="dest_width" transfer-ownership="none">
|
886
|
-
<doc xml:
|
887
|
+
<doc xml:space="preserve">the width of destination image</doc>
|
887
888
|
<type name="gint" c:type="int"/>
|
888
889
|
</parameter>
|
889
890
|
<parameter name="dest_height" transfer-ownership="none">
|
890
|
-
<doc xml:
|
891
|
+
<doc xml:space="preserve">the height of destination image</doc>
|
891
892
|
<type name="gint" c:type="int"/>
|
892
893
|
</parameter>
|
893
894
|
<parameter name="interp_type" transfer-ownership="none">
|
894
|
-
<doc xml:
|
895
|
+
<doc xml:space="preserve">the interpolation type for the transformation.</doc>
|
895
896
|
<type name="InterpType" c:type="GdkInterpType"/>
|
896
897
|
</parameter>
|
897
898
|
<parameter name="overall_alpha" transfer-ownership="none">
|
898
|
-
<doc xml:
|
899
|
+
<doc xml:space="preserve">overall alpha for source image (0..255)</doc>
|
899
900
|
<type name="gint" c:type="int"/>
|
900
901
|
</parameter>
|
901
902
|
<parameter name="check_size" transfer-ownership="none">
|
902
|
-
<doc xml:
|
903
|
+
<doc xml:space="preserve">the size of checks in the checkboard (must be a power of two)</doc>
|
903
904
|
<type name="gint" c:type="int"/>
|
904
905
|
</parameter>
|
905
906
|
<parameter name="color1" transfer-ownership="none">
|
906
|
-
<doc xml:
|
907
|
+
<doc xml:space="preserve">the color of check at upper left</doc>
|
907
908
|
<type name="guint32" c:type="guint32"/>
|
908
909
|
</parameter>
|
909
910
|
<parameter name="color2" transfer-ownership="none">
|
910
|
-
<doc xml:
|
911
|
+
<doc xml:space="preserve">the color of the other check</doc>
|
911
912
|
<type name="guint32" c:type="guint32"/>
|
912
913
|
</parameter>
|
913
914
|
</parameters>
|
914
915
|
</method>
|
915
916
|
<method name="copy" c:identifier="gdk_pixbuf_copy">
|
916
|
-
<doc xml:
|
917
|
+
<doc xml:space="preserve">Creates a new #GdkPixbuf with a copy of the information in the specified
|
917
918
|
@pixbuf.</doc>
|
918
919
|
<return-value transfer-ownership="full">
|
919
|
-
<doc xml:
|
920
|
+
<doc xml:space="preserve">A newly-created pixbuf with a reference count of 1, or %NULL if not enough memory could be allocated.</doc>
|
920
921
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
921
922
|
</return-value>
|
922
923
|
<parameters>
|
923
924
|
<instance-parameter name="pixbuf" transfer-ownership="none">
|
924
|
-
<doc xml:
|
925
|
+
<doc xml:space="preserve">A pixbuf.</doc>
|
925
926
|
<type name="Pixbuf" c:type="const GdkPixbuf*"/>
|
926
927
|
</instance-parameter>
|
927
928
|
</parameters>
|
928
929
|
</method>
|
929
930
|
<method name="copy_area" c:identifier="gdk_pixbuf_copy_area">
|
930
|
-
<doc xml:
|
931
|
+
<doc xml:space="preserve">Copies a rectangular area from @src_pixbuf to @dest_pixbuf. Conversion of
|
931
932
|
pixbuf formats is done automatically.
|
932
933
|
|
933
934
|
If the source rectangle overlaps the destination rectangle on the
|
@@ -938,41 +939,41 @@ Therefore, you can not use this function to scroll a pixbuf.</doc>
|
|
938
939
|
</return-value>
|
939
940
|
<parameters>
|
940
941
|
<instance-parameter name="src_pixbuf" transfer-ownership="none">
|
941
|
-
<doc xml:
|
942
|
+
<doc xml:space="preserve">Source pixbuf.</doc>
|
942
943
|
<type name="Pixbuf" c:type="const GdkPixbuf*"/>
|
943
944
|
</instance-parameter>
|
944
945
|
<parameter name="src_x" transfer-ownership="none">
|
945
|
-
<doc xml:
|
946
|
+
<doc xml:space="preserve">Source X coordinate within @src_pixbuf.</doc>
|
946
947
|
<type name="gint" c:type="int"/>
|
947
948
|
</parameter>
|
948
949
|
<parameter name="src_y" transfer-ownership="none">
|
949
|
-
<doc xml:
|
950
|
+
<doc xml:space="preserve">Source Y coordinate within @src_pixbuf.</doc>
|
950
951
|
<type name="gint" c:type="int"/>
|
951
952
|
</parameter>
|
952
953
|
<parameter name="width" transfer-ownership="none">
|
953
|
-
<doc xml:
|
954
|
+
<doc xml:space="preserve">Width of the area to copy.</doc>
|
954
955
|
<type name="gint" c:type="int"/>
|
955
956
|
</parameter>
|
956
957
|
<parameter name="height" transfer-ownership="none">
|
957
|
-
<doc xml:
|
958
|
+
<doc xml:space="preserve">Height of the area to copy.</doc>
|
958
959
|
<type name="gint" c:type="int"/>
|
959
960
|
</parameter>
|
960
961
|
<parameter name="dest_pixbuf" transfer-ownership="none">
|
961
|
-
<doc xml:
|
962
|
+
<doc xml:space="preserve">Destination pixbuf.</doc>
|
962
963
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
963
964
|
</parameter>
|
964
965
|
<parameter name="dest_x" transfer-ownership="none">
|
965
|
-
<doc xml:
|
966
|
+
<doc xml:space="preserve">X coordinate within @dest_pixbuf.</doc>
|
966
967
|
<type name="gint" c:type="int"/>
|
967
968
|
</parameter>
|
968
969
|
<parameter name="dest_y" transfer-ownership="none">
|
969
|
-
<doc xml:
|
970
|
+
<doc xml:space="preserve">Y coordinate within @dest_pixbuf.</doc>
|
970
971
|
<type name="gint" c:type="int"/>
|
971
972
|
</parameter>
|
972
973
|
</parameters>
|
973
974
|
</method>
|
974
975
|
<method name="fill" c:identifier="gdk_pixbuf_fill">
|
975
|
-
<doc xml:
|
976
|
+
<doc xml:space="preserve">Clears a pixbuf to the given RGBA value, converting the RGBA value into
|
976
977
|
the pixbuf's pixel format. The alpha will be ignored if the pixbuf
|
977
978
|
doesn't have an alpha channel.</doc>
|
978
979
|
<return-value transfer-ownership="none">
|
@@ -980,43 +981,43 @@ doesn't have an alpha channel.</doc>
|
|
980
981
|
</return-value>
|
981
982
|
<parameters>
|
982
983
|
<instance-parameter name="pixbuf" transfer-ownership="none">
|
983
|
-
<doc xml:
|
984
|
+
<doc xml:space="preserve">a #GdkPixbuf</doc>
|
984
985
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
985
986
|
</instance-parameter>
|
986
987
|
<parameter name="pixel" transfer-ownership="none">
|
987
|
-
<doc xml:
|
988
|
+
<doc xml:space="preserve">RGBA pixel to clear to (0xffffffff is opaque white, 0x00000000 transparent black)</doc>
|
988
989
|
<type name="guint32" c:type="guint32"/>
|
989
990
|
</parameter>
|
990
991
|
</parameters>
|
991
992
|
</method>
|
992
993
|
<method name="flip" c:identifier="gdk_pixbuf_flip" version="2.6">
|
993
|
-
<doc xml:
|
994
|
+
<doc xml:space="preserve">Flips a pixbuf horizontally or vertically and returns the
|
994
995
|
result in a new pixbuf.</doc>
|
995
996
|
<return-value transfer-ownership="full">
|
996
|
-
<doc xml:
|
997
|
+
<doc xml:space="preserve">the new #GdkPixbuf, or %NULL if not enough memory could be allocated for it.</doc>
|
997
998
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
998
999
|
</return-value>
|
999
1000
|
<parameters>
|
1000
1001
|
<instance-parameter name="src" transfer-ownership="none">
|
1001
|
-
<doc xml:
|
1002
|
+
<doc xml:space="preserve">a #GdkPixbuf</doc>
|
1002
1003
|
<type name="Pixbuf" c:type="const GdkPixbuf*"/>
|
1003
1004
|
</instance-parameter>
|
1004
1005
|
<parameter name="horizontal" transfer-ownership="none">
|
1005
|
-
<doc xml:
|
1006
|
+
<doc xml:space="preserve">%TRUE to flip horizontally, %FALSE to flip vertically</doc>
|
1006
1007
|
<type name="gboolean" c:type="gboolean"/>
|
1007
1008
|
</parameter>
|
1008
1009
|
</parameters>
|
1009
1010
|
</method>
|
1010
1011
|
<method name="get_bits_per_sample"
|
1011
1012
|
c:identifier="gdk_pixbuf_get_bits_per_sample">
|
1012
|
-
<doc xml:
|
1013
|
+
<doc xml:space="preserve">Queries the number of bits per color sample in a pixbuf.</doc>
|
1013
1014
|
<return-value transfer-ownership="none">
|
1014
|
-
<doc xml:
|
1015
|
+
<doc xml:space="preserve">Number of bits per color sample.</doc>
|
1015
1016
|
<type name="gint" c:type="int"/>
|
1016
1017
|
</return-value>
|
1017
1018
|
<parameters>
|
1018
1019
|
<instance-parameter name="pixbuf" transfer-ownership="none">
|
1019
|
-
<doc xml:
|
1020
|
+
<doc xml:space="preserve">A pixbuf.</doc>
|
1020
1021
|
<type name="Pixbuf" c:type="const GdkPixbuf*"/>
|
1021
1022
|
</instance-parameter>
|
1022
1023
|
</parameters>
|
@@ -1024,72 +1025,72 @@ result in a new pixbuf.</doc>
|
|
1024
1025
|
<method name="get_byte_length"
|
1025
1026
|
c:identifier="gdk_pixbuf_get_byte_length"
|
1026
1027
|
version="2.26">
|
1027
|
-
<doc xml:
|
1028
|
+
<doc xml:space="preserve">Returns the length of the pixel data, in bytes.</doc>
|
1028
1029
|
<return-value transfer-ownership="none">
|
1029
|
-
<doc xml:
|
1030
|
+
<doc xml:space="preserve">The length of the pixel data.</doc>
|
1030
1031
|
<type name="gsize" c:type="gsize"/>
|
1031
1032
|
</return-value>
|
1032
1033
|
<parameters>
|
1033
1034
|
<instance-parameter name="pixbuf" transfer-ownership="none">
|
1034
|
-
<doc xml:
|
1035
|
+
<doc xml:space="preserve">A pixbuf</doc>
|
1035
1036
|
<type name="Pixbuf" c:type="const GdkPixbuf*"/>
|
1036
1037
|
</instance-parameter>
|
1037
1038
|
</parameters>
|
1038
1039
|
</method>
|
1039
1040
|
<method name="get_colorspace" c:identifier="gdk_pixbuf_get_colorspace">
|
1040
|
-
<doc xml:
|
1041
|
+
<doc xml:space="preserve">Queries the color space of a pixbuf.</doc>
|
1041
1042
|
<return-value transfer-ownership="none">
|
1042
|
-
<doc xml:
|
1043
|
+
<doc xml:space="preserve">Color space.</doc>
|
1043
1044
|
<type name="Colorspace" c:type="GdkColorspace"/>
|
1044
1045
|
</return-value>
|
1045
1046
|
<parameters>
|
1046
1047
|
<instance-parameter name="pixbuf" transfer-ownership="none">
|
1047
|
-
<doc xml:
|
1048
|
+
<doc xml:space="preserve">A pixbuf.</doc>
|
1048
1049
|
<type name="Pixbuf" c:type="const GdkPixbuf*"/>
|
1049
1050
|
</instance-parameter>
|
1050
1051
|
</parameters>
|
1051
1052
|
</method>
|
1052
1053
|
<method name="get_has_alpha" c:identifier="gdk_pixbuf_get_has_alpha">
|
1053
|
-
<doc xml:
|
1054
|
+
<doc xml:space="preserve">Queries whether a pixbuf has an alpha channel (opacity information).</doc>
|
1054
1055
|
<return-value transfer-ownership="none">
|
1055
|
-
<doc xml:
|
1056
|
+
<doc xml:space="preserve">%TRUE if it has an alpha channel, %FALSE otherwise.</doc>
|
1056
1057
|
<type name="gboolean" c:type="gboolean"/>
|
1057
1058
|
</return-value>
|
1058
1059
|
<parameters>
|
1059
1060
|
<instance-parameter name="pixbuf" transfer-ownership="none">
|
1060
|
-
<doc xml:
|
1061
|
+
<doc xml:space="preserve">A pixbuf.</doc>
|
1061
1062
|
<type name="Pixbuf" c:type="const GdkPixbuf*"/>
|
1062
1063
|
</instance-parameter>
|
1063
1064
|
</parameters>
|
1064
1065
|
</method>
|
1065
1066
|
<method name="get_height" c:identifier="gdk_pixbuf_get_height">
|
1066
|
-
<doc xml:
|
1067
|
+
<doc xml:space="preserve">Queries the height of a pixbuf.</doc>
|
1067
1068
|
<return-value transfer-ownership="none">
|
1068
|
-
<doc xml:
|
1069
|
+
<doc xml:space="preserve">Height in pixels.</doc>
|
1069
1070
|
<type name="gint" c:type="int"/>
|
1070
1071
|
</return-value>
|
1071
1072
|
<parameters>
|
1072
1073
|
<instance-parameter name="pixbuf" transfer-ownership="none">
|
1073
|
-
<doc xml:
|
1074
|
+
<doc xml:space="preserve">A pixbuf.</doc>
|
1074
1075
|
<type name="Pixbuf" c:type="const GdkPixbuf*"/>
|
1075
1076
|
</instance-parameter>
|
1076
1077
|
</parameters>
|
1077
1078
|
</method>
|
1078
1079
|
<method name="get_n_channels" c:identifier="gdk_pixbuf_get_n_channels">
|
1079
|
-
<doc xml:
|
1080
|
+
<doc xml:space="preserve">Queries the number of channels of a pixbuf.</doc>
|
1080
1081
|
<return-value transfer-ownership="none">
|
1081
|
-
<doc xml:
|
1082
|
+
<doc xml:space="preserve">Number of channels.</doc>
|
1082
1083
|
<type name="gint" c:type="int"/>
|
1083
1084
|
</return-value>
|
1084
1085
|
<parameters>
|
1085
1086
|
<instance-parameter name="pixbuf" transfer-ownership="none">
|
1086
|
-
<doc xml:
|
1087
|
+
<doc xml:space="preserve">A pixbuf.</doc>
|
1087
1088
|
<type name="Pixbuf" c:type="const GdkPixbuf*"/>
|
1088
1089
|
</instance-parameter>
|
1089
1090
|
</parameters>
|
1090
1091
|
</method>
|
1091
1092
|
<method name="get_option" c:identifier="gdk_pixbuf_get_option">
|
1092
|
-
<doc xml:
|
1093
|
+
<doc xml:space="preserve">Looks up @key in the list of options that may have been attached to the
|
1093
1094
|
@pixbuf when it was loaded, or that may have been attached by another
|
1094
1095
|
function using gdk_pixbuf_set_option().
|
1095
1096
|
|
@@ -1100,16 +1101,16 @@ chunk key/value pairs as options. Since 2.12, the TIFF and JPEG loaders
|
|
1100
1101
|
return an "orientation" option string that corresponds to the embedded
|
1101
1102
|
TIFF/Exif orientation tag (if present).</doc>
|
1102
1103
|
<return-value transfer-ownership="none">
|
1103
|
-
<doc xml:
|
1104
|
+
<doc xml:space="preserve">the value associated with @key. This is a nul-terminated string that should not be freed or %NULL if @key was not found.</doc>
|
1104
1105
|
<type name="utf8" c:type="const gchar*"/>
|
1105
1106
|
</return-value>
|
1106
1107
|
<parameters>
|
1107
1108
|
<instance-parameter name="pixbuf" transfer-ownership="none">
|
1108
|
-
<doc xml:
|
1109
|
+
<doc xml:space="preserve">a #GdkPixbuf</doc>
|
1109
1110
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
1110
1111
|
</instance-parameter>
|
1111
1112
|
<parameter name="key" transfer-ownership="none">
|
1112
|
-
<doc xml:
|
1113
|
+
<doc xml:space="preserve">a nul-terminated string.</doc>
|
1113
1114
|
<type name="utf8" c:type="const gchar*"/>
|
1114
1115
|
</parameter>
|
1115
1116
|
</parameters>
|
@@ -1117,16 +1118,16 @@ TIFF/Exif orientation tag (if present).</doc>
|
|
1117
1118
|
<method name="get_pixels"
|
1118
1119
|
c:identifier="gdk_pixbuf_get_pixels"
|
1119
1120
|
shadowed-by="get_pixels_with_length">
|
1120
|
-
<doc xml:
|
1121
|
+
<doc xml:space="preserve">Queries a pointer to the pixel data of a pixbuf.</doc>
|
1121
1122
|
<return-value transfer-ownership="none">
|
1122
|
-
<doc xml:
|
1123
|
+
<doc xml:space="preserve">A pointer to the pixbuf's pixel data. Please see <xref linkend="image-data"/> for information about how the pixel data is stored in memory.</doc>
|
1123
1124
|
<array zero-terminated="0" c:type="guchar*">
|
1124
1125
|
<type name="guint8" c:type="guchar"/>
|
1125
1126
|
</array>
|
1126
1127
|
</return-value>
|
1127
1128
|
<parameters>
|
1128
1129
|
<instance-parameter name="pixbuf" transfer-ownership="none">
|
1129
|
-
<doc xml:
|
1130
|
+
<doc xml:space="preserve">A pixbuf.</doc>
|
1130
1131
|
<type name="Pixbuf" c:type="const GdkPixbuf*"/>
|
1131
1132
|
</instance-parameter>
|
1132
1133
|
</parameters>
|
@@ -1135,84 +1136,84 @@ TIFF/Exif orientation tag (if present).</doc>
|
|
1135
1136
|
c:identifier="gdk_pixbuf_get_pixels_with_length"
|
1136
1137
|
shadows="get_pixels"
|
1137
1138
|
version="2.26">
|
1138
|
-
<doc xml:
|
1139
|
+
<doc xml:space="preserve">Queries a pointer to the pixel data of a pixbuf.</doc>
|
1139
1140
|
<return-value transfer-ownership="none">
|
1140
|
-
<doc xml:
|
1141
|
+
<doc xml:space="preserve">A pointer to the pixbuf's pixel data. Please see <xref linkend="image-data"/> for information about how the pixel data is stored in memory.</doc>
|
1141
1142
|
<array length="0" zero-terminated="0" c:type="guchar*">
|
1142
1143
|
<type name="guint8" c:type="guchar"/>
|
1143
1144
|
</array>
|
1144
1145
|
</return-value>
|
1145
1146
|
<parameters>
|
1146
1147
|
<instance-parameter name="pixbuf" transfer-ownership="none">
|
1147
|
-
<doc xml:
|
1148
|
+
<doc xml:space="preserve">A pixbuf.</doc>
|
1148
1149
|
<type name="Pixbuf" c:type="const GdkPixbuf*"/>
|
1149
1150
|
</instance-parameter>
|
1150
1151
|
<parameter name="length"
|
1151
1152
|
direction="out"
|
1152
1153
|
caller-allocates="0"
|
1153
1154
|
transfer-ownership="full">
|
1154
|
-
<doc xml:
|
1155
|
+
<doc xml:space="preserve">The length of the binary data.</doc>
|
1155
1156
|
<type name="guint" c:type="guint*"/>
|
1156
1157
|
</parameter>
|
1157
1158
|
</parameters>
|
1158
1159
|
</method>
|
1159
1160
|
<method name="get_rowstride" c:identifier="gdk_pixbuf_get_rowstride">
|
1160
|
-
<doc xml:
|
1161
|
+
<doc xml:space="preserve">Queries the rowstride of a pixbuf, which is the number of bytes between the start of a row
|
1161
1162
|
and the start of the next row.</doc>
|
1162
1163
|
<return-value transfer-ownership="none">
|
1163
|
-
<doc xml:
|
1164
|
+
<doc xml:space="preserve">Distance between row starts.</doc>
|
1164
1165
|
<type name="gint" c:type="int"/>
|
1165
1166
|
</return-value>
|
1166
1167
|
<parameters>
|
1167
1168
|
<instance-parameter name="pixbuf" transfer-ownership="none">
|
1168
|
-
<doc xml:
|
1169
|
+
<doc xml:space="preserve">A pixbuf.</doc>
|
1169
1170
|
<type name="Pixbuf" c:type="const GdkPixbuf*"/>
|
1170
1171
|
</instance-parameter>
|
1171
1172
|
</parameters>
|
1172
1173
|
</method>
|
1173
1174
|
<method name="get_width" c:identifier="gdk_pixbuf_get_width">
|
1174
|
-
<doc xml:
|
1175
|
+
<doc xml:space="preserve">Queries the width of a pixbuf.</doc>
|
1175
1176
|
<return-value transfer-ownership="none">
|
1176
|
-
<doc xml:
|
1177
|
+
<doc xml:space="preserve">Width in pixels.</doc>
|
1177
1178
|
<type name="gint" c:type="int"/>
|
1178
1179
|
</return-value>
|
1179
1180
|
<parameters>
|
1180
1181
|
<instance-parameter name="pixbuf" transfer-ownership="none">
|
1181
|
-
<doc xml:
|
1182
|
+
<doc xml:space="preserve">A pixbuf.</doc>
|
1182
1183
|
<type name="Pixbuf" c:type="const GdkPixbuf*"/>
|
1183
1184
|
</instance-parameter>
|
1184
1185
|
</parameters>
|
1185
1186
|
</method>
|
1186
1187
|
<method name="new_subpixbuf" c:identifier="gdk_pixbuf_new_subpixbuf">
|
1187
|
-
<doc xml:
|
1188
|
+
<doc xml:space="preserve">Creates a new pixbuf which represents a sub-region of
|
1188
1189
|
@src_pixbuf. The new pixbuf shares its pixels with the
|
1189
1190
|
original pixbuf, so writing to one affects both.
|
1190
1191
|
The new pixbuf holds a reference to @src_pixbuf, so
|
1191
1192
|
@src_pixbuf will not be finalized until the new pixbuf
|
1192
1193
|
is finalized.</doc>
|
1193
1194
|
<return-value transfer-ownership="full">
|
1194
|
-
<doc xml:
|
1195
|
+
<doc xml:space="preserve">a new pixbuf</doc>
|
1195
1196
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
1196
1197
|
</return-value>
|
1197
1198
|
<parameters>
|
1198
1199
|
<instance-parameter name="src_pixbuf" transfer-ownership="none">
|
1199
|
-
<doc xml:
|
1200
|
+
<doc xml:space="preserve">a #GdkPixbuf</doc>
|
1200
1201
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
1201
1202
|
</instance-parameter>
|
1202
1203
|
<parameter name="src_x" transfer-ownership="none">
|
1203
|
-
<doc xml:
|
1204
|
+
<doc xml:space="preserve">X coord in @src_pixbuf</doc>
|
1204
1205
|
<type name="gint" c:type="int"/>
|
1205
1206
|
</parameter>
|
1206
1207
|
<parameter name="src_y" transfer-ownership="none">
|
1207
|
-
<doc xml:
|
1208
|
+
<doc xml:space="preserve">Y coord in @src_pixbuf</doc>
|
1208
1209
|
<type name="gint" c:type="int"/>
|
1209
1210
|
</parameter>
|
1210
1211
|
<parameter name="width" transfer-ownership="none">
|
1211
|
-
<doc xml:
|
1212
|
+
<doc xml:space="preserve">width of region in @src_pixbuf</doc>
|
1212
1213
|
<type name="gint" c:type="int"/>
|
1213
1214
|
</parameter>
|
1214
1215
|
<parameter name="height" transfer-ownership="none">
|
1215
|
-
<doc xml:
|
1216
|
+
<doc xml:space="preserve">height of region in @src_pixbuf</doc>
|
1216
1217
|
<type name="gint" c:type="int"/>
|
1217
1218
|
</parameter>
|
1218
1219
|
</parameters>
|
@@ -1222,14 +1223,14 @@ is finalized.</doc>
|
|
1222
1223
|
introspectable="0"
|
1223
1224
|
deprecated="Use g_object_ref()."
|
1224
1225
|
deprecated-version="2.0">
|
1225
|
-
<doc xml:
|
1226
|
+
<doc xml:space="preserve">Adds a reference to a pixbuf.</doc>
|
1226
1227
|
<return-value>
|
1227
|
-
<doc xml:
|
1228
|
+
<doc xml:space="preserve">The same as the @pixbuf argument.</doc>
|
1228
1229
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
1229
1230
|
</return-value>
|
1230
1231
|
<parameters>
|
1231
1232
|
<instance-parameter name="pixbuf" transfer-ownership="none">
|
1232
|
-
<doc xml:
|
1233
|
+
<doc xml:space="preserve">A pixbuf.</doc>
|
1233
1234
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
1234
1235
|
</instance-parameter>
|
1235
1236
|
</parameters>
|
@@ -1237,26 +1238,26 @@ is finalized.</doc>
|
|
1237
1238
|
<method name="rotate_simple"
|
1238
1239
|
c:identifier="gdk_pixbuf_rotate_simple"
|
1239
1240
|
version="2.6">
|
1240
|
-
<doc xml:
|
1241
|
+
<doc xml:space="preserve">Rotates a pixbuf by a multiple of 90 degrees, and returns the
|
1241
1242
|
result in a new pixbuf.</doc>
|
1242
1243
|
<return-value transfer-ownership="full">
|
1243
|
-
<doc xml:
|
1244
|
+
<doc xml:space="preserve">the new #GdkPixbuf, or %NULL if not enough memory could be allocated for it.</doc>
|
1244
1245
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
1245
1246
|
</return-value>
|
1246
1247
|
<parameters>
|
1247
1248
|
<instance-parameter name="src" transfer-ownership="none">
|
1248
|
-
<doc xml:
|
1249
|
+
<doc xml:space="preserve">a #GdkPixbuf</doc>
|
1249
1250
|
<type name="Pixbuf" c:type="const GdkPixbuf*"/>
|
1250
1251
|
</instance-parameter>
|
1251
1252
|
<parameter name="angle" transfer-ownership="none">
|
1252
|
-
<doc xml:
|
1253
|
+
<doc xml:space="preserve">the angle to rotate by</doc>
|
1253
1254
|
<type name="PixbufRotation" c:type="GdkPixbufRotation"/>
|
1254
1255
|
</parameter>
|
1255
1256
|
</parameters>
|
1256
1257
|
</method>
|
1257
1258
|
<method name="saturate_and_pixelate"
|
1258
1259
|
c:identifier="gdk_pixbuf_saturate_and_pixelate">
|
1259
|
-
<doc xml:
|
1260
|
+
<doc xml:space="preserve">Modifies saturation and optionally pixelates @src, placing the result in
|
1260
1261
|
@dest. @src and @dest may be the same pixbuf with no ill effects. If
|
1261
1262
|
@saturation is 1.0 then saturation is not changed. If it's less than 1.0,
|
1262
1263
|
saturation is reduced (the image turns toward grayscale); if greater than
|
@@ -1269,19 +1270,19 @@ rowstride.</doc>
|
|
1269
1270
|
</return-value>
|
1270
1271
|
<parameters>
|
1271
1272
|
<instance-parameter name="src" transfer-ownership="none">
|
1272
|
-
<doc xml:
|
1273
|
+
<doc xml:space="preserve">source image</doc>
|
1273
1274
|
<type name="Pixbuf" c:type="const GdkPixbuf*"/>
|
1274
1275
|
</instance-parameter>
|
1275
1276
|
<parameter name="dest" transfer-ownership="none">
|
1276
|
-
<doc xml:
|
1277
|
+
<doc xml:space="preserve">place to write modified version of @src</doc>
|
1277
1278
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
1278
1279
|
</parameter>
|
1279
1280
|
<parameter name="saturation" transfer-ownership="none">
|
1280
|
-
<doc xml:
|
1281
|
+
<doc xml:space="preserve">saturation factor</doc>
|
1281
1282
|
<type name="gfloat" c:type="gfloat"/>
|
1282
1283
|
</parameter>
|
1283
1284
|
<parameter name="pixelate" transfer-ownership="none">
|
1284
|
-
<doc xml:
|
1285
|
+
<doc xml:space="preserve">whether to pixelate</doc>
|
1285
1286
|
<type name="gboolean" c:type="gboolean"/>
|
1286
1287
|
</parameter>
|
1287
1288
|
</parameters>
|
@@ -1290,7 +1291,7 @@ rowstride.</doc>
|
|
1290
1291
|
c:identifier="gdk_pixbuf_save_to_buffer"
|
1291
1292
|
version="2.4"
|
1292
1293
|
introspectable="0">
|
1293
|
-
<doc xml:
|
1294
|
+
<doc xml:space="preserve">Saves pixbuf to a new buffer in format @type, which is currently "jpeg",
|
1294
1295
|
"png", "tiff", "ico" or "bmp". This is a convenience function that uses
|
1295
1296
|
gdk_pixbuf_save_to_callback() to do the real work. Note that the buffer
|
1296
1297
|
is not nul-terminated and may contain embedded nuls.
|
@@ -1300,30 +1301,30 @@ domain.
|
|
1300
1301
|
|
1301
1302
|
See gdk_pixbuf_save() for more details.</doc>
|
1302
1303
|
<return-value transfer-ownership="none">
|
1303
|
-
<doc xml:
|
1304
|
+
<doc xml:space="preserve">whether an error was set</doc>
|
1304
1305
|
<type name="gboolean" c:type="gboolean"/>
|
1305
1306
|
</return-value>
|
1306
1307
|
<parameters>
|
1307
1308
|
<instance-parameter name="pixbuf" transfer-ownership="none">
|
1308
|
-
<doc xml:
|
1309
|
+
<doc xml:space="preserve">a #GdkPixbuf.</doc>
|
1309
1310
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
1310
1311
|
</instance-parameter>
|
1311
1312
|
<parameter name="buffer" transfer-ownership="none">
|
1312
|
-
<doc xml:
|
1313
|
+
<doc xml:space="preserve">location to receive a pointer to the new buffer.</doc>
|
1313
1314
|
<array length="1" zero-terminated="0" c:type="gchar**">
|
1314
1315
|
<type name="utf8" c:type="gchar*"/>
|
1315
1316
|
</array>
|
1316
1317
|
</parameter>
|
1317
1318
|
<parameter name="buffer_size" transfer-ownership="none">
|
1318
|
-
<doc xml:
|
1319
|
+
<doc xml:space="preserve">location to receive the size of the new buffer.</doc>
|
1319
1320
|
<type name="gsize" c:type="gsize*"/>
|
1320
1321
|
</parameter>
|
1321
1322
|
<parameter name="type" transfer-ownership="none">
|
1322
|
-
<doc xml:
|
1323
|
+
<doc xml:space="preserve">name of file format.</doc>
|
1323
1324
|
<type name="utf8" c:type="const char*"/>
|
1324
1325
|
</parameter>
|
1325
1326
|
<parameter name="error" transfer-ownership="none" allow-none="1">
|
1326
|
-
<doc xml:
|
1327
|
+
<doc xml:space="preserve">return location for error, or %NULL</doc>
|
1327
1328
|
<type name="GLib.Error" c:type="GError**"/>
|
1328
1329
|
</parameter>
|
1329
1330
|
<parameter name="arg5" transfer-ownership="none">
|
@@ -1336,23 +1337,23 @@ See gdk_pixbuf_save() for more details.</doc>
|
|
1336
1337
|
c:identifier="gdk_pixbuf_save_to_bufferv"
|
1337
1338
|
version="2.4"
|
1338
1339
|
throws="1">
|
1339
|
-
<doc xml:
|
1340
|
+
<doc xml:space="preserve">Saves pixbuf to a new buffer in format @type, which is currently "jpeg",
|
1340
1341
|
"tiff", "png", "ico" or "bmp". See gdk_pixbuf_save_to_buffer()
|
1341
1342
|
for more details.</doc>
|
1342
1343
|
<return-value transfer-ownership="none">
|
1343
|
-
<doc xml:
|
1344
|
+
<doc xml:space="preserve">whether an error was set</doc>
|
1344
1345
|
<type name="gboolean" c:type="gboolean"/>
|
1345
1346
|
</return-value>
|
1346
1347
|
<parameters>
|
1347
1348
|
<instance-parameter name="pixbuf" transfer-ownership="none">
|
1348
|
-
<doc xml:
|
1349
|
+
<doc xml:space="preserve">a #GdkPixbuf.</doc>
|
1349
1350
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
1350
1351
|
</instance-parameter>
|
1351
1352
|
<parameter name="buffer"
|
1352
1353
|
direction="out"
|
1353
1354
|
caller-allocates="0"
|
1354
1355
|
transfer-ownership="full">
|
1355
|
-
<doc xml:
|
1356
|
+
<doc xml:space="preserve">location to receive a pointer to the new buffer.</doc>
|
1356
1357
|
<array length="1" zero-terminated="0" c:type="gchar**">
|
1357
1358
|
<type name="guint8"/>
|
1358
1359
|
</array>
|
@@ -1361,21 +1362,21 @@ for more details.</doc>
|
|
1361
1362
|
direction="out"
|
1362
1363
|
caller-allocates="0"
|
1363
1364
|
transfer-ownership="full">
|
1364
|
-
<doc xml:
|
1365
|
+
<doc xml:space="preserve">location to receive the size of the new buffer.</doc>
|
1365
1366
|
<type name="gsize" c:type="gsize*"/>
|
1366
1367
|
</parameter>
|
1367
1368
|
<parameter name="type" transfer-ownership="none">
|
1368
|
-
<doc xml:
|
1369
|
+
<doc xml:space="preserve">name of file format.</doc>
|
1369
1370
|
<type name="utf8" c:type="const char*"/>
|
1370
1371
|
</parameter>
|
1371
1372
|
<parameter name="option_keys" transfer-ownership="none">
|
1372
|
-
<doc xml:
|
1373
|
+
<doc xml:space="preserve">name of options to set, %NULL-terminated</doc>
|
1373
1374
|
<array c:type="char**">
|
1374
1375
|
<type name="utf8" c:type="char*"/>
|
1375
1376
|
</array>
|
1376
1377
|
</parameter>
|
1377
1378
|
<parameter name="option_values" transfer-ownership="none">
|
1378
|
-
<doc xml:
|
1379
|
+
<doc xml:space="preserve">values for named options</doc>
|
1379
1380
|
<array c:type="char**">
|
1380
1381
|
<type name="utf8" c:type="char*"/>
|
1381
1382
|
</array>
|
@@ -1386,7 +1387,7 @@ for more details.</doc>
|
|
1386
1387
|
c:identifier="gdk_pixbuf_save_to_callback"
|
1387
1388
|
version="2.4"
|
1388
1389
|
introspectable="0">
|
1389
|
-
<doc xml:
|
1390
|
+
<doc xml:space="preserve">Saves pixbuf in format @type by feeding the produced data to a
|
1390
1391
|
callback. Can be used when you want to store the image to something
|
1391
1392
|
other than a file, such as an in-memory buffer or a socket.
|
1392
1393
|
If @error is set, %FALSE will be returned. Possible errors
|
@@ -1395,31 +1396,31 @@ function generates.
|
|
1395
1396
|
|
1396
1397
|
See gdk_pixbuf_save() for more details.</doc>
|
1397
1398
|
<return-value transfer-ownership="none">
|
1398
|
-
<doc xml:
|
1399
|
+
<doc xml:space="preserve">whether an error was set</doc>
|
1399
1400
|
<type name="gboolean" c:type="gboolean"/>
|
1400
1401
|
</return-value>
|
1401
1402
|
<parameters>
|
1402
1403
|
<instance-parameter name="pixbuf" transfer-ownership="none">
|
1403
|
-
<doc xml:
|
1404
|
+
<doc xml:space="preserve">a #GdkPixbuf.</doc>
|
1404
1405
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
1405
1406
|
</instance-parameter>
|
1406
1407
|
<parameter name="save_func"
|
1407
1408
|
transfer-ownership="none"
|
1408
1409
|
scope="call"
|
1409
1410
|
closure="1">
|
1410
|
-
<doc xml:
|
1411
|
+
<doc xml:space="preserve">a function that is called to save each block of data that the save routine generates.</doc>
|
1411
1412
|
<type name="PixbufSaveFunc" c:type="GdkPixbufSaveFunc"/>
|
1412
1413
|
</parameter>
|
1413
1414
|
<parameter name="user_data" transfer-ownership="none">
|
1414
|
-
<doc xml:
|
1415
|
+
<doc xml:space="preserve">user data to pass to the save function.</doc>
|
1415
1416
|
<type name="gpointer" c:type="gpointer"/>
|
1416
1417
|
</parameter>
|
1417
1418
|
<parameter name="type" transfer-ownership="none">
|
1418
|
-
<doc xml:
|
1419
|
+
<doc xml:space="preserve">name of file format.</doc>
|
1419
1420
|
<type name="utf8" c:type="const char*"/>
|
1420
1421
|
</parameter>
|
1421
1422
|
<parameter name="error" transfer-ownership="none" allow-none="1">
|
1422
|
-
<doc xml:
|
1423
|
+
<doc xml:space="preserve">return location for error, or %NULL</doc>
|
1423
1424
|
<type name="GLib.Error" c:type="GError**"/>
|
1424
1425
|
</parameter>
|
1425
1426
|
<parameter name="arg5" transfer-ownership="none">
|
@@ -1432,41 +1433,41 @@ See gdk_pixbuf_save() for more details.</doc>
|
|
1432
1433
|
c:identifier="gdk_pixbuf_save_to_callbackv"
|
1433
1434
|
version="2.4"
|
1434
1435
|
throws="1">
|
1435
|
-
<doc xml:
|
1436
|
+
<doc xml:space="preserve">Saves pixbuf to a callback in format @type, which is currently "jpeg",
|
1436
1437
|
"png", "tiff", "ico" or "bmp". If @error is set, %FALSE will be returned. See
|
1437
1438
|
gdk_pixbuf_save_to_callback () for more details.</doc>
|
1438
1439
|
<return-value transfer-ownership="none">
|
1439
|
-
<doc xml:
|
1440
|
+
<doc xml:space="preserve">whether an error was set</doc>
|
1440
1441
|
<type name="gboolean" c:type="gboolean"/>
|
1441
1442
|
</return-value>
|
1442
1443
|
<parameters>
|
1443
1444
|
<instance-parameter name="pixbuf" transfer-ownership="none">
|
1444
|
-
<doc xml:
|
1445
|
+
<doc xml:space="preserve">a #GdkPixbuf.</doc>
|
1445
1446
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
1446
1447
|
</instance-parameter>
|
1447
1448
|
<parameter name="save_func"
|
1448
1449
|
transfer-ownership="none"
|
1449
1450
|
scope="call"
|
1450
1451
|
closure="1">
|
1451
|
-
<doc xml:
|
1452
|
+
<doc xml:space="preserve">a function that is called to save each block of data that the save routine generates.</doc>
|
1452
1453
|
<type name="PixbufSaveFunc" c:type="GdkPixbufSaveFunc"/>
|
1453
1454
|
</parameter>
|
1454
1455
|
<parameter name="user_data" transfer-ownership="none">
|
1455
|
-
<doc xml:
|
1456
|
+
<doc xml:space="preserve">user data to pass to the save function.</doc>
|
1456
1457
|
<type name="gpointer" c:type="gpointer"/>
|
1457
1458
|
</parameter>
|
1458
1459
|
<parameter name="type" transfer-ownership="none">
|
1459
|
-
<doc xml:
|
1460
|
+
<doc xml:space="preserve">name of file format.</doc>
|
1460
1461
|
<type name="utf8" c:type="const char*"/>
|
1461
1462
|
</parameter>
|
1462
1463
|
<parameter name="option_keys" transfer-ownership="none">
|
1463
|
-
<doc xml:
|
1464
|
+
<doc xml:space="preserve">name of options to set, %NULL-terminated</doc>
|
1464
1465
|
<array c:type="char**">
|
1465
1466
|
<type name="utf8"/>
|
1466
1467
|
</array>
|
1467
1468
|
</parameter>
|
1468
1469
|
<parameter name="option_values" transfer-ownership="none">
|
1469
|
-
<doc xml:
|
1470
|
+
<doc xml:space="preserve">values for named options</doc>
|
1470
1471
|
<array c:type="char**">
|
1471
1472
|
<type name="utf8"/>
|
1472
1473
|
</array>
|
@@ -1477,7 +1478,7 @@ gdk_pixbuf_save_to_callback () for more details.</doc>
|
|
1477
1478
|
c:identifier="gdk_pixbuf_save_to_stream"
|
1478
1479
|
version="2.14"
|
1479
1480
|
introspectable="0">
|
1480
|
-
<doc xml:
|
1481
|
+
<doc xml:space="preserve">Saves @pixbuf to an output stream.
|
1481
1482
|
|
1482
1483
|
Supported file formats are currently "jpeg", "tiff", "png", "ico" or
|
1483
1484
|
"bmp". See gdk_pixbuf_save_to_buffer() for more details.
|
@@ -1489,30 +1490,30 @@ and %G_IO_ERROR domains.
|
|
1489
1490
|
|
1490
1491
|
The stream is not closed.</doc>
|
1491
1492
|
<return-value transfer-ownership="none">
|
1492
|
-
<doc xml:
|
1493
|
+
<doc xml:space="preserve">%TRUE if the pixbuf was saved successfully, %FALSE if an error was set.</doc>
|
1493
1494
|
<type name="gboolean" c:type="gboolean"/>
|
1494
1495
|
</return-value>
|
1495
1496
|
<parameters>
|
1496
1497
|
<instance-parameter name="pixbuf" transfer-ownership="none">
|
1497
|
-
<doc xml:
|
1498
|
+
<doc xml:space="preserve">a #GdkPixbuf</doc>
|
1498
1499
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
1499
1500
|
</instance-parameter>
|
1500
1501
|
<parameter name="stream" transfer-ownership="none">
|
1501
|
-
<doc xml:
|
1502
|
+
<doc xml:space="preserve">a #GOutputStream to save the pixbuf to</doc>
|
1502
1503
|
<type name="Gio.OutputStream" c:type="GOutputStream*"/>
|
1503
1504
|
</parameter>
|
1504
1505
|
<parameter name="type" transfer-ownership="none">
|
1505
|
-
<doc xml:
|
1506
|
+
<doc xml:space="preserve">name of file format</doc>
|
1506
1507
|
<type name="utf8" c:type="const char*"/>
|
1507
1508
|
</parameter>
|
1508
1509
|
<parameter name="cancellable"
|
1509
1510
|
transfer-ownership="none"
|
1510
1511
|
allow-none="1">
|
1511
|
-
<doc xml:
|
1512
|
+
<doc xml:space="preserve">optional #GCancellable object, %NULL to ignore</doc>
|
1512
1513
|
<type name="Gio.Cancellable" c:type="GCancellable*"/>
|
1513
1514
|
</parameter>
|
1514
1515
|
<parameter name="error" transfer-ownership="none" allow-none="1">
|
1515
|
-
<doc xml:
|
1516
|
+
<doc xml:space="preserve">return location for error, or %NULL</doc>
|
1516
1517
|
<type name="GLib.Error" c:type="GError**"/>
|
1517
1518
|
</parameter>
|
1518
1519
|
<parameter name="arg5" transfer-ownership="none">
|
@@ -1525,7 +1526,7 @@ The stream is not closed.</doc>
|
|
1525
1526
|
c:identifier="gdk_pixbuf_save_to_stream_async"
|
1526
1527
|
version="2.24"
|
1527
1528
|
introspectable="0">
|
1528
|
-
<doc xml:
|
1529
|
+
<doc xml:space="preserve">Saves @pixbuf to an output stream asynchronously.
|
1529
1530
|
|
1530
1531
|
For more details see gdk_pixbuf_save_to_stream(), which is the synchronous
|
1531
1532
|
version of this function.
|
@@ -1537,21 +1538,21 @@ You can then call gdk_pixbuf_save_to_stream_finish() to get the result of the op
|
|
1537
1538
|
</return-value>
|
1538
1539
|
<parameters>
|
1539
1540
|
<instance-parameter name="pixbuf" transfer-ownership="none">
|
1540
|
-
<doc xml:
|
1541
|
+
<doc xml:space="preserve">a #GdkPixbuf</doc>
|
1541
1542
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
1542
1543
|
</instance-parameter>
|
1543
1544
|
<parameter name="stream" transfer-ownership="none">
|
1544
|
-
<doc xml:
|
1545
|
+
<doc xml:space="preserve">a #GOutputStream to which to save the pixbuf</doc>
|
1545
1546
|
<type name="Gio.OutputStream" c:type="GOutputStream*"/>
|
1546
1547
|
</parameter>
|
1547
1548
|
<parameter name="type" transfer-ownership="none">
|
1548
|
-
<doc xml:
|
1549
|
+
<doc xml:space="preserve">name of file format</doc>
|
1549
1550
|
<type name="utf8" c:type="const gchar*"/>
|
1550
1551
|
</parameter>
|
1551
1552
|
<parameter name="cancellable"
|
1552
1553
|
transfer-ownership="none"
|
1553
1554
|
allow-none="1">
|
1554
|
-
<doc xml:
|
1555
|
+
<doc xml:space="preserve">optional #GCancellable object, %NULL to ignore</doc>
|
1555
1556
|
<type name="Gio.Cancellable" c:type="GCancellable*"/>
|
1556
1557
|
</parameter>
|
1557
1558
|
<parameter name="callback"
|
@@ -1559,11 +1560,11 @@ You can then call gdk_pixbuf_save_to_stream_finish() to get the result of the op
|
|
1559
1560
|
allow-none="1"
|
1560
1561
|
scope="async"
|
1561
1562
|
closure="4">
|
1562
|
-
<doc xml:
|
1563
|
+
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the the pixbuf is loaded</doc>
|
1563
1564
|
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
|
1564
1565
|
</parameter>
|
1565
1566
|
<parameter name="user_data" transfer-ownership="none">
|
1566
|
-
<doc xml:
|
1567
|
+
<doc xml:space="preserve">the data to pass to the callback function</doc>
|
1567
1568
|
<type name="gpointer" c:type="gpointer"/>
|
1568
1569
|
</parameter>
|
1569
1570
|
<parameter name="arg6" transfer-ownership="none">
|
@@ -1622,7 +1623,7 @@ You can then call gdk_pixbuf_save_to_stream_finish() to get the result of the op
|
|
1622
1623
|
</parameters>
|
1623
1624
|
</method>
|
1624
1625
|
<method name="scale" c:identifier="gdk_pixbuf_scale">
|
1625
|
-
<doc xml:
|
1626
|
+
<doc xml:space="preserve">Creates a transformation of the source image @src by scaling by
|
1626
1627
|
@scale_x and @scale_y then translating by @offset_x and @offset_y,
|
1627
1628
|
then renders the rectangle (@dest_x, @dest_y, @dest_width,
|
1628
1629
|
@dest_height) of the resulting image onto the destination image
|
@@ -1640,53 +1641,53 @@ results in rendering artifacts.</doc>
|
|
1640
1641
|
</return-value>
|
1641
1642
|
<parameters>
|
1642
1643
|
<instance-parameter name="src" transfer-ownership="none">
|
1643
|
-
<doc xml:
|
1644
|
+
<doc xml:space="preserve">a #GdkPixbuf</doc>
|
1644
1645
|
<type name="Pixbuf" c:type="const GdkPixbuf*"/>
|
1645
1646
|
</instance-parameter>
|
1646
1647
|
<parameter name="dest" transfer-ownership="none">
|
1647
|
-
<doc xml:
|
1648
|
+
<doc xml:space="preserve">the #GdkPixbuf into which to render the results</doc>
|
1648
1649
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
1649
1650
|
</parameter>
|
1650
1651
|
<parameter name="dest_x" transfer-ownership="none">
|
1651
|
-
<doc xml:
|
1652
|
+
<doc xml:space="preserve">the left coordinate for region to render</doc>
|
1652
1653
|
<type name="gint" c:type="int"/>
|
1653
1654
|
</parameter>
|
1654
1655
|
<parameter name="dest_y" transfer-ownership="none">
|
1655
|
-
<doc xml:
|
1656
|
+
<doc xml:space="preserve">the top coordinate for region to render</doc>
|
1656
1657
|
<type name="gint" c:type="int"/>
|
1657
1658
|
</parameter>
|
1658
1659
|
<parameter name="dest_width" transfer-ownership="none">
|
1659
|
-
<doc xml:
|
1660
|
+
<doc xml:space="preserve">the width of the region to render</doc>
|
1660
1661
|
<type name="gint" c:type="int"/>
|
1661
1662
|
</parameter>
|
1662
1663
|
<parameter name="dest_height" transfer-ownership="none">
|
1663
|
-
<doc xml:
|
1664
|
+
<doc xml:space="preserve">the height of the region to render</doc>
|
1664
1665
|
<type name="gint" c:type="int"/>
|
1665
1666
|
</parameter>
|
1666
1667
|
<parameter name="offset_x" transfer-ownership="none">
|
1667
|
-
<doc xml:
|
1668
|
+
<doc xml:space="preserve">the offset in the X direction (currently rounded to an integer)</doc>
|
1668
1669
|
<type name="gdouble" c:type="double"/>
|
1669
1670
|
</parameter>
|
1670
1671
|
<parameter name="offset_y" transfer-ownership="none">
|
1671
|
-
<doc xml:
|
1672
|
+
<doc xml:space="preserve">the offset in the Y direction (currently rounded to an integer)</doc>
|
1672
1673
|
<type name="gdouble" c:type="double"/>
|
1673
1674
|
</parameter>
|
1674
1675
|
<parameter name="scale_x" transfer-ownership="none">
|
1675
|
-
<doc xml:
|
1676
|
+
<doc xml:space="preserve">the scale factor in the X direction</doc>
|
1676
1677
|
<type name="gdouble" c:type="double"/>
|
1677
1678
|
</parameter>
|
1678
1679
|
<parameter name="scale_y" transfer-ownership="none">
|
1679
|
-
<doc xml:
|
1680
|
+
<doc xml:space="preserve">the scale factor in the Y direction</doc>
|
1680
1681
|
<type name="gdouble" c:type="double"/>
|
1681
1682
|
</parameter>
|
1682
1683
|
<parameter name="interp_type" transfer-ownership="none">
|
1683
|
-
<doc xml:
|
1684
|
+
<doc xml:space="preserve">the interpolation type for the transformation.</doc>
|
1684
1685
|
<type name="InterpType" c:type="GdkInterpType"/>
|
1685
1686
|
</parameter>
|
1686
1687
|
</parameters>
|
1687
1688
|
</method>
|
1688
1689
|
<method name="scale_simple" c:identifier="gdk_pixbuf_scale_simple">
|
1689
|
-
<doc xml:
|
1690
|
+
<doc xml:space="preserve">Create a new #GdkPixbuf containing a copy of @src scaled to
|
1690
1691
|
@dest_width x @dest_height. Leaves @src unaffected. @interp_type
|
1691
1692
|
should be #GDK_INTERP_NEAREST if you want maximum speed (but when
|
1692
1693
|
scaling down #GDK_INTERP_NEAREST is usually unusably ugly). The
|
@@ -1699,24 +1700,24 @@ pointing into @src; see gdk_pixbuf_new_subpixbuf().
|
|
1699
1700
|
For more complicated scaling/compositing see gdk_pixbuf_scale()
|
1700
1701
|
and gdk_pixbuf_composite().</doc>
|
1701
1702
|
<return-value transfer-ownership="full">
|
1702
|
-
<doc xml:
|
1703
|
+
<doc xml:space="preserve">the new #GdkPixbuf, or %NULL if not enough memory could be allocated for it.</doc>
|
1703
1704
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
1704
1705
|
</return-value>
|
1705
1706
|
<parameters>
|
1706
1707
|
<instance-parameter name="src" transfer-ownership="none">
|
1707
|
-
<doc xml:
|
1708
|
+
<doc xml:space="preserve">a #GdkPixbuf</doc>
|
1708
1709
|
<type name="Pixbuf" c:type="const GdkPixbuf*"/>
|
1709
1710
|
</instance-parameter>
|
1710
1711
|
<parameter name="dest_width" transfer-ownership="none">
|
1711
|
-
<doc xml:
|
1712
|
+
<doc xml:space="preserve">the width of destination image</doc>
|
1712
1713
|
<type name="gint" c:type="int"/>
|
1713
1714
|
</parameter>
|
1714
1715
|
<parameter name="dest_height" transfer-ownership="none">
|
1715
|
-
<doc xml:
|
1716
|
+
<doc xml:space="preserve">the height of destination image</doc>
|
1716
1717
|
<type name="gint" c:type="int"/>
|
1717
1718
|
</parameter>
|
1718
1719
|
<parameter name="interp_type" transfer-ownership="none">
|
1719
|
-
<doc xml:
|
1720
|
+
<doc xml:space="preserve">the interpolation type for the transformation.</doc>
|
1720
1721
|
<type name="InterpType" c:type="GdkInterpType"/>
|
1721
1722
|
</parameter>
|
1722
1723
|
</parameters>
|
@@ -1726,13 +1727,13 @@ and gdk_pixbuf_composite().</doc>
|
|
1726
1727
|
introspectable="0"
|
1727
1728
|
deprecated="Use g_object_unref()."
|
1728
1729
|
deprecated-version="2.0">
|
1729
|
-
<doc xml:
|
1730
|
+
<doc xml:space="preserve">Removes a reference from a pixbuf.</doc>
|
1730
1731
|
<return-value transfer-ownership="none">
|
1731
1732
|
<type name="none" c:type="void"/>
|
1732
1733
|
</return-value>
|
1733
1734
|
<parameters>
|
1734
1735
|
<instance-parameter name="pixbuf" transfer-ownership="none">
|
1735
|
-
<doc xml:
|
1736
|
+
<doc xml:space="preserve">A pixbuf.</doc>
|
1736
1737
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
1737
1738
|
</instance-parameter>
|
1738
1739
|
</parameters>
|
@@ -1741,7 +1742,7 @@ and gdk_pixbuf_composite().</doc>
|
|
1741
1742
|
writable="1"
|
1742
1743
|
construct-only="1"
|
1743
1744
|
transfer-ownership="none">
|
1744
|
-
<doc xml:
|
1745
|
+
<doc xml:space="preserve">The number of bits per sample.
|
1745
1746
|
Currently only 8 bit per sample are supported.</doc>
|
1746
1747
|
<type name="gint" c:type="gint"/>
|
1747
1748
|
</property>
|
@@ -1767,7 +1768,7 @@ Currently only 8 bit per sample are supported.</doc>
|
|
1767
1768
|
writable="1"
|
1768
1769
|
construct-only="1"
|
1769
1770
|
transfer-ownership="none">
|
1770
|
-
<doc xml:
|
1771
|
+
<doc xml:space="preserve">The number of samples per pixel.
|
1771
1772
|
Currently, only 3 or 4 samples per pixel are supported.</doc>
|
1772
1773
|
<type name="gint" c:type="gint"/>
|
1773
1774
|
</property>
|
@@ -1781,7 +1782,7 @@ Currently, only 3 or 4 samples per pixel are supported.</doc>
|
|
1781
1782
|
writable="1"
|
1782
1783
|
construct-only="1"
|
1783
1784
|
transfer-ownership="none">
|
1784
|
-
<doc xml:
|
1785
|
+
<doc xml:space="preserve">The number of bytes between the start of a row and
|
1785
1786
|
the start of the next row. This number must (obviously)
|
1786
1787
|
be at least as large as the width of the pixbuf.</doc>
|
1787
1788
|
<type name="gint" c:type="gint"/>
|
@@ -1797,7 +1798,7 @@ be at least as large as the width of the pixbuf.</doc>
|
|
1797
1798
|
glib:type-name="GdkPixbufAlphaMode"
|
1798
1799
|
glib:get-type="gdk_pixbuf_alpha_mode_get_type"
|
1799
1800
|
c:type="GdkPixbufAlphaMode">
|
1800
|
-
<doc xml:
|
1801
|
+
<doc xml:space="preserve">These values can be passed to
|
1801
1802
|
gdk_pixbuf_render_to_drawable_alpha() to control how the alpha
|
1802
1803
|
channel of an image should be handled. This function can create a
|
1803
1804
|
bilevel clipping mask (black and white) and use it while painting
|
@@ -1809,13 +1810,13 @@ back to a bilevel clipping mask.</doc>
|
|
1809
1810
|
value="0"
|
1810
1811
|
c:identifier="GDK_PIXBUF_ALPHA_BILEVEL"
|
1811
1812
|
glib:nick="bilevel">
|
1812
|
-
<doc xml:
|
1813
|
+
<doc xml:space="preserve">A bilevel clipping mask (black and white) will be created and used to draw the image. Pixels below 0.5 opacity will be considered fully transparent, and all others will be considered fully opaque.</doc>
|
1813
1814
|
</member>
|
1814
1815
|
<member name="full"
|
1815
1816
|
value="1"
|
1816
1817
|
c:identifier="GDK_PIXBUF_ALPHA_FULL"
|
1817
1818
|
glib:nick="full">
|
1818
|
-
<doc xml:
|
1819
|
+
<doc xml:space="preserve">For now falls back to #GDK_PIXBUF_ALPHA_BILEVEL. In the future it will do full alpha compositing.</doc>
|
1819
1820
|
</member>
|
1820
1821
|
</enumeration>
|
1821
1822
|
<class name="PixbufAnimation"
|
@@ -1824,7 +1825,7 @@ back to a bilevel clipping mask.</doc>
|
|
1824
1825
|
parent="GObject.Object"
|
1825
1826
|
glib:type-name="GdkPixbufAnimation"
|
1826
1827
|
glib:get-type="gdk_pixbuf_animation_get_type">
|
1827
|
-
<doc xml:
|
1828
|
+
<doc xml:space="preserve">An opaque struct representing an animation.</doc>
|
1828
1829
|
<constructor name="new_from_file_utf8"
|
1829
1830
|
c:identifier="gdk_pixbuf_animation_new_from_file_utf8"
|
1830
1831
|
throws="1">
|
@@ -1841,17 +1842,17 @@ back to a bilevel clipping mask.</doc>
|
|
1841
1842
|
c:identifier="gdk_pixbuf_animation_new_from_resource"
|
1842
1843
|
version="2.28"
|
1843
1844
|
throws="1">
|
1844
|
-
<doc xml:
|
1845
|
+
<doc xml:space="preserve">Creates a new pixbuf animation by loading an image from an resource.
|
1845
1846
|
|
1846
1847
|
The file format is detected automatically. If %NULL is returned, then
|
1847
1848
|
@error will be set.</doc>
|
1848
1849
|
<return-value transfer-ownership="full">
|
1849
|
-
<doc xml:
|
1850
|
+
<doc xml:space="preserve">A newly-created animation, or %NULL if any of several error conditions occurred: the file could not be opened, the image format is not supported, there was not enough memory to allocate the image buffer, the stream contained invalid data, or the operation was cancelled.</doc>
|
1850
1851
|
<type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/>
|
1851
1852
|
</return-value>
|
1852
1853
|
<parameters>
|
1853
1854
|
<parameter name="resource_path" transfer-ownership="none">
|
1854
|
-
<doc xml:
|
1855
|
+
<doc xml:space="preserve">the path of the resource file</doc>
|
1855
1856
|
<type name="utf8" c:type="const char*"/>
|
1856
1857
|
</parameter>
|
1857
1858
|
</parameters>
|
@@ -1860,7 +1861,7 @@ The file format is detected automatically. If %NULL is returned, then
|
|
1860
1861
|
c:identifier="gdk_pixbuf_animation_new_from_stream"
|
1861
1862
|
version="2.28"
|
1862
1863
|
throws="1">
|
1863
|
-
<doc xml:
|
1864
|
+
<doc xml:space="preserve">Creates a new animation by loading it from an input stream.
|
1864
1865
|
|
1865
1866
|
The file format is detected automatically. If %NULL is returned, then
|
1866
1867
|
@error will be set. The @cancellable can be used to abort the operation
|
@@ -1870,18 +1871,18 @@ the #GDK_PIXBUF_ERROR and %G_IO_ERROR domains.
|
|
1870
1871
|
|
1871
1872
|
The stream is not closed.</doc>
|
1872
1873
|
<return-value transfer-ownership="full">
|
1873
|
-
<doc xml:
|
1874
|
+
<doc xml:space="preserve">A newly-created pixbuf, or %NULL if any of several error conditions occurred: the file could not be opened, the image format is not supported, there was not enough memory to allocate the image buffer, the stream contained invalid data, or the operation was cancelled.</doc>
|
1874
1875
|
<type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/>
|
1875
1876
|
</return-value>
|
1876
1877
|
<parameters>
|
1877
1878
|
<parameter name="stream" transfer-ownership="none">
|
1878
|
-
<doc xml:
|
1879
|
+
<doc xml:space="preserve">a #GInputStream to load the pixbuf from</doc>
|
1879
1880
|
<type name="Gio.InputStream" c:type="GInputStream*"/>
|
1880
1881
|
</parameter>
|
1881
1882
|
<parameter name="cancellable"
|
1882
1883
|
transfer-ownership="none"
|
1883
1884
|
allow-none="1">
|
1884
|
-
<doc xml:
|
1885
|
+
<doc xml:space="preserve">optional #GCancellable object, %NULL to ignore</doc>
|
1885
1886
|
<type name="Gio.Cancellable" c:type="GCancellable*"/>
|
1886
1887
|
</parameter>
|
1887
1888
|
</parameters>
|
@@ -1890,15 +1891,15 @@ The stream is not closed.</doc>
|
|
1890
1891
|
c:identifier="gdk_pixbuf_animation_new_from_stream_finish"
|
1891
1892
|
version="2.28"
|
1892
1893
|
throws="1">
|
1893
|
-
<doc xml:
|
1894
|
+
<doc xml:space="preserve">Finishes an asynchronous pixbuf animation creation operation started with
|
1894
1895
|
gdk_pixbuf_animation_new_from_stream_async().</doc>
|
1895
1896
|
<return-value transfer-ownership="full">
|
1896
|
-
<doc xml:
|
1897
|
+
<doc xml:space="preserve">a #GdkPixbufAnimation or %NULL on error. Free the returned object with g_object_unref().</doc>
|
1897
1898
|
<type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/>
|
1898
1899
|
</return-value>
|
1899
1900
|
<parameters>
|
1900
1901
|
<parameter name="async_result" transfer-ownership="none">
|
1901
|
-
<doc xml:
|
1902
|
+
<doc xml:space="preserve">a #GAsyncResult</doc>
|
1902
1903
|
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
|
1903
1904
|
</parameter>
|
1904
1905
|
</parameters>
|
@@ -1906,7 +1907,7 @@ gdk_pixbuf_animation_new_from_stream_async().</doc>
|
|
1906
1907
|
<function name="new_from_stream_async"
|
1907
1908
|
c:identifier="gdk_pixbuf_animation_new_from_stream_async"
|
1908
1909
|
version="2.28">
|
1909
|
-
<doc xml:
|
1910
|
+
<doc xml:space="preserve">Creates a new animation by asynchronously loading an image from an input stream.
|
1910
1911
|
|
1911
1912
|
For more details see gdk_pixbuf_new_from_stream(), which is the synchronous
|
1912
1913
|
version of this function.
|
@@ -1919,13 +1920,13 @@ result of the operation.</doc>
|
|
1919
1920
|
</return-value>
|
1920
1921
|
<parameters>
|
1921
1922
|
<parameter name="stream" transfer-ownership="none">
|
1922
|
-
<doc xml:
|
1923
|
+
<doc xml:space="preserve">a #GInputStream from which to load the animation</doc>
|
1923
1924
|
<type name="Gio.InputStream" c:type="GInputStream*"/>
|
1924
1925
|
</parameter>
|
1925
1926
|
<parameter name="cancellable"
|
1926
1927
|
transfer-ownership="none"
|
1927
1928
|
allow-none="1">
|
1928
|
-
<doc xml:
|
1929
|
+
<doc xml:space="preserve">optional #GCancellable object, %NULL to ignore</doc>
|
1929
1930
|
<type name="Gio.Cancellable" c:type="GCancellable*"/>
|
1930
1931
|
</parameter>
|
1931
1932
|
<parameter name="callback"
|
@@ -1933,30 +1934,30 @@ result of the operation.</doc>
|
|
1933
1934
|
allow-none="1"
|
1934
1935
|
scope="async"
|
1935
1936
|
closure="3">
|
1936
|
-
<doc xml:
|
1937
|
+
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the the pixbuf is loaded</doc>
|
1937
1938
|
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
|
1938
1939
|
</parameter>
|
1939
1940
|
<parameter name="user_data" transfer-ownership="none">
|
1940
|
-
<doc xml:
|
1941
|
+
<doc xml:space="preserve">the data to pass to the callback function</doc>
|
1941
1942
|
<type name="gpointer" c:type="gpointer"/>
|
1942
1943
|
</parameter>
|
1943
1944
|
</parameters>
|
1944
1945
|
</function>
|
1945
1946
|
<method name="get_height" c:identifier="gdk_pixbuf_animation_get_height">
|
1946
|
-
<doc xml:
|
1947
|
+
<doc xml:space="preserve">Queries the height of the bounding box of a pixbuf animation.</doc>
|
1947
1948
|
<return-value transfer-ownership="none">
|
1948
|
-
<doc xml:
|
1949
|
+
<doc xml:space="preserve">Height of the bounding box of the animation.</doc>
|
1949
1950
|
<type name="gint" c:type="int"/>
|
1950
1951
|
</return-value>
|
1951
1952
|
<parameters>
|
1952
1953
|
<instance-parameter name="animation" transfer-ownership="none">
|
1953
|
-
<doc xml:
|
1954
|
+
<doc xml:space="preserve">An animation.</doc>
|
1954
1955
|
<type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/>
|
1955
1956
|
</instance-parameter>
|
1956
1957
|
</parameters>
|
1957
1958
|
</method>
|
1958
1959
|
<method name="get_iter" c:identifier="gdk_pixbuf_animation_get_iter">
|
1959
|
-
<doc xml:
|
1960
|
+
<doc xml:space="preserve">Get an iterator for displaying an animation. The iterator provides
|
1960
1961
|
the frames that should be displayed at a given time.
|
1961
1962
|
It should be freed after use with g_object_unref().
|
1962
1963
|
|
@@ -1990,67 +1991,67 @@ area_updated signal.
|
|
1990
1991
|
|
1991
1992
|
A delay time of -1 is possible, indicating "infinite."</doc>
|
1992
1993
|
<return-value transfer-ownership="full">
|
1993
|
-
<doc xml:
|
1994
|
+
<doc xml:space="preserve">an iterator to move over the animation</doc>
|
1994
1995
|
<type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/>
|
1995
1996
|
</return-value>
|
1996
1997
|
<parameters>
|
1997
1998
|
<instance-parameter name="animation" transfer-ownership="none">
|
1998
|
-
<doc xml:
|
1999
|
+
<doc xml:space="preserve">a #GdkPixbufAnimation</doc>
|
1999
2000
|
<type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/>
|
2000
2001
|
</instance-parameter>
|
2001
2002
|
<parameter name="start_time"
|
2002
2003
|
transfer-ownership="none"
|
2003
2004
|
allow-none="1">
|
2004
|
-
<doc xml:
|
2005
|
+
<doc xml:space="preserve">time when the animation starts playing</doc>
|
2005
2006
|
<type name="GLib.TimeVal" c:type="const GTimeVal*"/>
|
2006
2007
|
</parameter>
|
2007
2008
|
</parameters>
|
2008
2009
|
</method>
|
2009
2010
|
<method name="get_static_image"
|
2010
2011
|
c:identifier="gdk_pixbuf_animation_get_static_image">
|
2011
|
-
<doc xml:
|
2012
|
+
<doc xml:space="preserve">If an animation is really just a plain image (has only one frame),
|
2012
2013
|
this function returns that image. If the animation is an animation,
|
2013
2014
|
this function returns a reasonable thing to display as a static
|
2014
2015
|
unanimated image, which might be the first frame, or something more
|
2015
2016
|
sophisticated. If an animation hasn't loaded any frames yet, this
|
2016
2017
|
function will return %NULL.</doc>
|
2017
2018
|
<return-value transfer-ownership="none">
|
2018
|
-
<doc xml:
|
2019
|
+
<doc xml:space="preserve">unanimated image representing the animation</doc>
|
2019
2020
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
2020
2021
|
</return-value>
|
2021
2022
|
<parameters>
|
2022
2023
|
<instance-parameter name="animation" transfer-ownership="none">
|
2023
|
-
<doc xml:
|
2024
|
+
<doc xml:space="preserve">a #GdkPixbufAnimation</doc>
|
2024
2025
|
<type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/>
|
2025
2026
|
</instance-parameter>
|
2026
2027
|
</parameters>
|
2027
2028
|
</method>
|
2028
2029
|
<method name="get_width" c:identifier="gdk_pixbuf_animation_get_width">
|
2029
|
-
<doc xml:
|
2030
|
+
<doc xml:space="preserve">Queries the width of the bounding box of a pixbuf animation.</doc>
|
2030
2031
|
<return-value transfer-ownership="none">
|
2031
|
-
<doc xml:
|
2032
|
+
<doc xml:space="preserve">Width of the bounding box of the animation.</doc>
|
2032
2033
|
<type name="gint" c:type="int"/>
|
2033
2034
|
</return-value>
|
2034
2035
|
<parameters>
|
2035
2036
|
<instance-parameter name="animation" transfer-ownership="none">
|
2036
|
-
<doc xml:
|
2037
|
+
<doc xml:space="preserve">An animation.</doc>
|
2037
2038
|
<type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/>
|
2038
2039
|
</instance-parameter>
|
2039
2040
|
</parameters>
|
2040
2041
|
</method>
|
2041
2042
|
<method name="is_static_image"
|
2042
2043
|
c:identifier="gdk_pixbuf_animation_is_static_image">
|
2043
|
-
<doc xml:
|
2044
|
+
<doc xml:space="preserve">If you load a file with gdk_pixbuf_animation_new_from_file() and it turns
|
2044
2045
|
out to be a plain, unanimated image, then this function will return
|
2045
2046
|
%TRUE. Use gdk_pixbuf_animation_get_static_image() to retrieve
|
2046
2047
|
the image.</doc>
|
2047
2048
|
<return-value transfer-ownership="none">
|
2048
|
-
<doc xml:
|
2049
|
+
<doc xml:space="preserve">%TRUE if the "animation" was really just an image</doc>
|
2049
2050
|
<type name="gboolean" c:type="gboolean"/>
|
2050
2051
|
</return-value>
|
2051
2052
|
<parameters>
|
2052
2053
|
<instance-parameter name="animation" transfer-ownership="none">
|
2053
|
-
<doc xml:
|
2054
|
+
<doc xml:space="preserve">a #GdkPixbufAnimation</doc>
|
2054
2055
|
<type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/>
|
2055
2056
|
</instance-parameter>
|
2056
2057
|
</parameters>
|
@@ -2060,14 +2061,14 @@ the image.</doc>
|
|
2060
2061
|
introspectable="0"
|
2061
2062
|
deprecated="Use g_object_ref()."
|
2062
2063
|
deprecated-version="2.0">
|
2063
|
-
<doc xml:
|
2064
|
+
<doc xml:space="preserve">Adds a reference to an animation.</doc>
|
2064
2065
|
<return-value>
|
2065
|
-
<doc xml:
|
2066
|
+
<doc xml:space="preserve">The same as the @animation argument.</doc>
|
2066
2067
|
<type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/>
|
2067
2068
|
</return-value>
|
2068
2069
|
<parameters>
|
2069
2070
|
<instance-parameter name="animation" transfer-ownership="none">
|
2070
|
-
<doc xml:
|
2071
|
+
<doc xml:space="preserve">An animation.</doc>
|
2071
2072
|
<type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/>
|
2072
2073
|
</instance-parameter>
|
2073
2074
|
</parameters>
|
@@ -2077,13 +2078,13 @@ the image.</doc>
|
|
2077
2078
|
introspectable="0"
|
2078
2079
|
deprecated="Use g_object_unref()."
|
2079
2080
|
deprecated-version="2.0">
|
2080
|
-
<doc xml:
|
2081
|
+
<doc xml:space="preserve">Removes a reference from an animation.</doc>
|
2081
2082
|
<return-value transfer-ownership="none">
|
2082
2083
|
<type name="none" c:type="void"/>
|
2083
2084
|
</return-value>
|
2084
2085
|
<parameters>
|
2085
2086
|
<instance-parameter name="animation" transfer-ownership="none">
|
2086
|
-
<doc xml:
|
2087
|
+
<doc xml:space="preserve">An animation.</doc>
|
2087
2088
|
<type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/>
|
2088
2089
|
</instance-parameter>
|
2089
2090
|
</parameters>
|
@@ -2095,10 +2096,10 @@ the image.</doc>
|
|
2095
2096
|
parent="GObject.Object"
|
2096
2097
|
glib:type-name="GdkPixbufAnimationIter"
|
2097
2098
|
glib:get-type="gdk_pixbuf_animation_iter_get_type">
|
2098
|
-
<doc xml:
|
2099
|
+
<doc xml:space="preserve">An opaque struct representing an iterator which points to a
|
2099
2100
|
certain position in an animation.</doc>
|
2100
2101
|
<method name="advance" c:identifier="gdk_pixbuf_animation_iter_advance">
|
2101
|
-
<doc xml:
|
2102
|
+
<doc xml:space="preserve">Possibly advances an animation to a new frame. Chooses the frame based
|
2102
2103
|
on the start time passed to gdk_pixbuf_animation_get_iter().
|
2103
2104
|
|
2104
2105
|
@current_time would normally come from g_get_current_time(), and
|
@@ -2118,42 +2119,42 @@ display, assuming the display had been rendered prior to advancing;
|
|
2118
2119
|
if %TRUE, you need to call gdk_pixbuf_animation_iter_get_pixbuf()
|
2119
2120
|
and update the display with the new pixbuf.</doc>
|
2120
2121
|
<return-value transfer-ownership="none">
|
2121
|
-
<doc xml:
|
2122
|
+
<doc xml:space="preserve">%TRUE if the image may need updating</doc>
|
2122
2123
|
<type name="gboolean" c:type="gboolean"/>
|
2123
2124
|
</return-value>
|
2124
2125
|
<parameters>
|
2125
2126
|
<instance-parameter name="iter" transfer-ownership="none">
|
2126
|
-
<doc xml:
|
2127
|
+
<doc xml:space="preserve">a #GdkPixbufAnimationIter</doc>
|
2127
2128
|
<type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/>
|
2128
2129
|
</instance-parameter>
|
2129
2130
|
<parameter name="current_time"
|
2130
2131
|
transfer-ownership="none"
|
2131
2132
|
allow-none="1">
|
2132
|
-
<doc xml:
|
2133
|
+
<doc xml:space="preserve">current time</doc>
|
2133
2134
|
<type name="GLib.TimeVal" c:type="const GTimeVal*"/>
|
2134
2135
|
</parameter>
|
2135
2136
|
</parameters>
|
2136
2137
|
</method>
|
2137
2138
|
<method name="get_delay_time"
|
2138
2139
|
c:identifier="gdk_pixbuf_animation_iter_get_delay_time">
|
2139
|
-
<doc xml:
|
2140
|
+
<doc xml:space="preserve">Gets the number of milliseconds the current pixbuf should be displayed,
|
2140
2141
|
or -1 if the current pixbuf should be displayed forever. g_timeout_add()
|
2141
2142
|
conveniently takes a timeout in milliseconds, so you can use a timeout
|
2142
2143
|
to schedule the next update.</doc>
|
2143
2144
|
<return-value transfer-ownership="none">
|
2144
|
-
<doc xml:
|
2145
|
+
<doc xml:space="preserve">delay time in milliseconds (thousandths of a second)</doc>
|
2145
2146
|
<type name="gint" c:type="int"/>
|
2146
2147
|
</return-value>
|
2147
2148
|
<parameters>
|
2148
2149
|
<instance-parameter name="iter" transfer-ownership="none">
|
2149
|
-
<doc xml:
|
2150
|
+
<doc xml:space="preserve">an animation iterator</doc>
|
2150
2151
|
<type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/>
|
2151
2152
|
</instance-parameter>
|
2152
2153
|
</parameters>
|
2153
2154
|
</method>
|
2154
2155
|
<method name="get_pixbuf"
|
2155
2156
|
c:identifier="gdk_pixbuf_animation_iter_get_pixbuf">
|
2156
|
-
<doc xml:
|
2157
|
+
<doc xml:space="preserve">Gets the current pixbuf which should be displayed; the pixbuf might not
|
2157
2158
|
be the same size as the animation itself
|
2158
2159
|
(gdk_pixbuf_animation_get_width(), gdk_pixbuf_animation_get_height()).
|
2159
2160
|
This pixbuf should be displayed for
|
@@ -2165,37 +2166,37 @@ gdk_pixbuf_animation_iter_advance(). Copy the pixbuf to keep it
|
|
2165
2166
|
(don't just add a reference), as it may get recycled as you advance
|
2166
2167
|
the iterator.</doc>
|
2167
2168
|
<return-value transfer-ownership="none">
|
2168
|
-
<doc xml:
|
2169
|
+
<doc xml:space="preserve">the pixbuf to be displayed</doc>
|
2169
2170
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
2170
2171
|
</return-value>
|
2171
2172
|
<parameters>
|
2172
2173
|
<instance-parameter name="iter" transfer-ownership="none">
|
2173
|
-
<doc xml:
|
2174
|
+
<doc xml:space="preserve">an animation iterator</doc>
|
2174
2175
|
<type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/>
|
2175
2176
|
</instance-parameter>
|
2176
2177
|
</parameters>
|
2177
2178
|
</method>
|
2178
2179
|
<method name="on_currently_loading_frame"
|
2179
2180
|
c:identifier="gdk_pixbuf_animation_iter_on_currently_loading_frame">
|
2180
|
-
<doc xml:
|
2181
|
+
<doc xml:space="preserve">Used to determine how to respond to the area_updated signal on
|
2181
2182
|
#GdkPixbufLoader when loading an animation. area_updated is emitted
|
2182
2183
|
for an area of the frame currently streaming in to the loader. So if
|
2183
2184
|
you're on the currently loading frame, you need to redraw the screen for
|
2184
2185
|
the updated area.</doc>
|
2185
2186
|
<return-value transfer-ownership="none">
|
2186
|
-
<doc xml:
|
2187
|
+
<doc xml:space="preserve">%TRUE if the frame we're on is partially loaded, or the last frame</doc>
|
2187
2188
|
<type name="gboolean" c:type="gboolean"/>
|
2188
2189
|
</return-value>
|
2189
2190
|
<parameters>
|
2190
2191
|
<instance-parameter name="iter" transfer-ownership="none">
|
2191
|
-
<doc xml:
|
2192
|
+
<doc xml:space="preserve">a #GdkPixbufAnimationIter</doc>
|
2192
2193
|
<type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/>
|
2193
2194
|
</instance-parameter>
|
2194
2195
|
</parameters>
|
2195
2196
|
</method>
|
2196
2197
|
</class>
|
2197
2198
|
<callback name="PixbufDestroyNotify" c:type="GdkPixbufDestroyNotify">
|
2198
|
-
<doc xml:
|
2199
|
+
<doc xml:space="preserve">A function of this type is responsible for freeing the pixel array
|
2199
2200
|
of a pixbuf. The gdk_pixbuf_new_from_data() function lets you
|
2200
2201
|
pass in a pre-allocated pixel array so that a pixbuf can be
|
2201
2202
|
created from it; in this case you will need to pass in a function
|
@@ -2206,13 +2207,13 @@ when the pixbuf is finalized.</doc>
|
|
2206
2207
|
</return-value>
|
2207
2208
|
<parameters>
|
2208
2209
|
<parameter name="pixels" transfer-ownership="none">
|
2209
|
-
<doc xml:
|
2210
|
+
<doc xml:space="preserve">The pixel array of the pixbuf that is being finalized.</doc>
|
2210
2211
|
<array zero-terminated="0" c:type="guchar*">
|
2211
2212
|
<type name="guint8"/>
|
2212
2213
|
</array>
|
2213
2214
|
</parameter>
|
2214
2215
|
<parameter name="data" transfer-ownership="none" closure="1">
|
2215
|
-
<doc xml:
|
2216
|
+
<doc xml:space="preserve">User closure data.</doc>
|
2216
2217
|
<type name="gpointer" c:type="gpointer"/>
|
2217
2218
|
</parameter>
|
2218
2219
|
</parameters>
|
@@ -2222,44 +2223,44 @@ when the pixbuf is finalized.</doc>
|
|
2222
2223
|
glib:get-type="gdk_pixbuf_error_get_type"
|
2223
2224
|
c:type="GdkPixbufError"
|
2224
2225
|
glib:error-domain="gdk-pixbuf-error-quark">
|
2225
|
-
<doc xml:
|
2226
|
+
<doc xml:space="preserve">An error code in the #GDK_PIXBUF_ERROR domain. Many &gdk-pixbuf;
|
2226
2227
|
operations can cause errors in this domain, or in the #G_FILE_ERROR
|
2227
2228
|
domain.</doc>
|
2228
2229
|
<member name="corrupt_image"
|
2229
2230
|
value="0"
|
2230
2231
|
c:identifier="GDK_PIXBUF_ERROR_CORRUPT_IMAGE"
|
2231
2232
|
glib:nick="corrupt-image">
|
2232
|
-
<doc xml:
|
2233
|
+
<doc xml:space="preserve">An image file was broken somehow.</doc>
|
2233
2234
|
</member>
|
2234
2235
|
<member name="insufficient_memory"
|
2235
2236
|
value="1"
|
2236
2237
|
c:identifier="GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY"
|
2237
2238
|
glib:nick="insufficient-memory">
|
2238
|
-
<doc xml:
|
2239
|
+
<doc xml:space="preserve">Not enough memory.</doc>
|
2239
2240
|
</member>
|
2240
2241
|
<member name="bad_option"
|
2241
2242
|
value="2"
|
2242
2243
|
c:identifier="GDK_PIXBUF_ERROR_BAD_OPTION"
|
2243
2244
|
glib:nick="bad-option">
|
2244
|
-
<doc xml:
|
2245
|
+
<doc xml:space="preserve">A bad option was passed to a pixbuf save module.</doc>
|
2245
2246
|
</member>
|
2246
2247
|
<member name="unknown_type"
|
2247
2248
|
value="3"
|
2248
2249
|
c:identifier="GDK_PIXBUF_ERROR_UNKNOWN_TYPE"
|
2249
2250
|
glib:nick="unknown-type">
|
2250
|
-
<doc xml:
|
2251
|
+
<doc xml:space="preserve">Unknown image type.</doc>
|
2251
2252
|
</member>
|
2252
2253
|
<member name="unsupported_operation"
|
2253
2254
|
value="4"
|
2254
2255
|
c:identifier="GDK_PIXBUF_ERROR_UNSUPPORTED_OPERATION"
|
2255
2256
|
glib:nick="unsupported-operation">
|
2256
|
-
<doc xml:
|
2257
|
+
<doc xml:space="preserve">Don't know how to perform the given operation on the type of image at hand.</doc>
|
2257
2258
|
</member>
|
2258
2259
|
<member name="failed"
|
2259
2260
|
value="5"
|
2260
2261
|
c:identifier="GDK_PIXBUF_ERROR_FAILED"
|
2261
2262
|
glib:nick="failed">
|
2262
|
-
<doc xml:
|
2263
|
+
<doc xml:space="preserve">Generic failure code, something went wrong.</doc>
|
2263
2264
|
</member>
|
2264
2265
|
<function name="quark" c:identifier="gdk_pixbuf_error_quark">
|
2265
2266
|
<return-value transfer-ownership="none">
|
@@ -2273,27 +2274,27 @@ domain.</doc>
|
|
2273
2274
|
glib:get-type="gdk_pixbuf_format_get_type"
|
2274
2275
|
c:symbol-prefix="pixbuf_format">
|
2275
2276
|
<method name="copy" c:identifier="gdk_pixbuf_format_copy" version="2.22">
|
2276
|
-
<doc xml:
|
2277
|
+
<doc xml:space="preserve">Creates a copy of @format</doc>
|
2277
2278
|
<return-value transfer-ownership="full">
|
2278
|
-
<doc xml:
|
2279
|
+
<doc xml:space="preserve">the newly allocated copy of a #GdkPixbufFormat. Use gdk_pixbuf_format_free() to free the resources when done</doc>
|
2279
2280
|
<type name="PixbufFormat" c:type="GdkPixbufFormat*"/>
|
2280
2281
|
</return-value>
|
2281
2282
|
<parameters>
|
2282
2283
|
<instance-parameter name="format" transfer-ownership="none">
|
2283
|
-
<doc xml:
|
2284
|
+
<doc xml:space="preserve">a #GdkPixbufFormat</doc>
|
2284
2285
|
<type name="PixbufFormat" c:type="const GdkPixbufFormat*"/>
|
2285
2286
|
</instance-parameter>
|
2286
2287
|
</parameters>
|
2287
2288
|
</method>
|
2288
2289
|
<method name="free" c:identifier="gdk_pixbuf_format_free" version="2.22">
|
2289
|
-
<doc xml:
|
2290
|
+
<doc xml:space="preserve">Frees the resources allocated when copying a #GdkPixbufFormat
|
2290
2291
|
using gdk_pixbuf_format_copy()</doc>
|
2291
2292
|
<return-value transfer-ownership="none">
|
2292
2293
|
<type name="none" c:type="void"/>
|
2293
2294
|
</return-value>
|
2294
2295
|
<parameters>
|
2295
2296
|
<instance-parameter name="format" transfer-ownership="none">
|
2296
|
-
<doc xml:
|
2297
|
+
<doc xml:space="preserve">a #GdkPixbufFormat</doc>
|
2297
2298
|
<type name="PixbufFormat" c:type="GdkPixbufFormat*"/>
|
2298
2299
|
</instance-parameter>
|
2299
2300
|
</parameters>
|
@@ -2301,14 +2302,14 @@ using gdk_pixbuf_format_copy()</doc>
|
|
2301
2302
|
<method name="get_description"
|
2302
2303
|
c:identifier="gdk_pixbuf_format_get_description"
|
2303
2304
|
version="2.2">
|
2304
|
-
<doc xml:
|
2305
|
+
<doc xml:space="preserve">Returns a description of the format.</doc>
|
2305
2306
|
<return-value transfer-ownership="full">
|
2306
|
-
<doc xml:
|
2307
|
+
<doc xml:space="preserve">a description of the format.</doc>
|
2307
2308
|
<type name="utf8" c:type="gchar*"/>
|
2308
2309
|
</return-value>
|
2309
2310
|
<parameters>
|
2310
2311
|
<instance-parameter name="format" transfer-ownership="none">
|
2311
|
-
<doc xml:
|
2312
|
+
<doc xml:space="preserve">a #GdkPixbufFormat</doc>
|
2312
2313
|
<type name="PixbufFormat" c:type="GdkPixbufFormat*"/>
|
2313
2314
|
</instance-parameter>
|
2314
2315
|
</parameters>
|
@@ -2316,17 +2317,17 @@ using gdk_pixbuf_format_copy()</doc>
|
|
2316
2317
|
<method name="get_extensions"
|
2317
2318
|
c:identifier="gdk_pixbuf_format_get_extensions"
|
2318
2319
|
version="2.2">
|
2319
|
-
<doc xml:
|
2320
|
+
<doc xml:space="preserve">Returns the filename extensions typically used for files in the
|
2320
2321
|
given format.</doc>
|
2321
2322
|
<return-value transfer-ownership="full">
|
2322
|
-
<doc xml:
|
2323
|
+
<doc xml:space="preserve">a %NULL-terminated array of filename extensions which must be freed with g_strfreev() when it is no longer needed.</doc>
|
2323
2324
|
<array c:type="gchar**">
|
2324
2325
|
<type name="utf8"/>
|
2325
2326
|
</array>
|
2326
2327
|
</return-value>
|
2327
2328
|
<parameters>
|
2328
2329
|
<instance-parameter name="format" transfer-ownership="none">
|
2329
|
-
<doc xml:
|
2330
|
+
<doc xml:space="preserve">a #GdkPixbufFormat</doc>
|
2330
2331
|
<type name="PixbufFormat" c:type="GdkPixbufFormat*"/>
|
2331
2332
|
</instance-parameter>
|
2332
2333
|
</parameters>
|
@@ -2334,17 +2335,17 @@ given format.</doc>
|
|
2334
2335
|
<method name="get_license"
|
2335
2336
|
c:identifier="gdk_pixbuf_format_get_license"
|
2336
2337
|
version="2.6">
|
2337
|
-
<doc xml:
|
2338
|
+
<doc xml:space="preserve">Returns information about the license of the image loader for the format. The
|
2338
2339
|
returned string should be a shorthand for a wellknown license, e.g. "LGPL",
|
2339
2340
|
"GPL", "QPL", "GPL/QPL", or "other" to indicate some other license. This
|
2340
2341
|
string should be freed with g_free() when it's no longer needed.</doc>
|
2341
2342
|
<return-value transfer-ownership="full">
|
2342
|
-
<doc xml:
|
2343
|
+
<doc xml:space="preserve">a string describing the license of @format.</doc>
|
2343
2344
|
<type name="utf8" c:type="gchar*"/>
|
2344
2345
|
</return-value>
|
2345
2346
|
<parameters>
|
2346
2347
|
<instance-parameter name="format" transfer-ownership="none">
|
2347
|
-
<doc xml:
|
2348
|
+
<doc xml:space="preserve">a #GdkPixbufFormat</doc>
|
2348
2349
|
<type name="PixbufFormat" c:type="GdkPixbufFormat*"/>
|
2349
2350
|
</instance-parameter>
|
2350
2351
|
</parameters>
|
@@ -2352,16 +2353,16 @@ string should be freed with g_free() when it's no longer needed.</doc>
|
|
2352
2353
|
<method name="get_mime_types"
|
2353
2354
|
c:identifier="gdk_pixbuf_format_get_mime_types"
|
2354
2355
|
version="2.2">
|
2355
|
-
<doc xml:
|
2356
|
+
<doc xml:space="preserve">Returns the mime types supported by the format.</doc>
|
2356
2357
|
<return-value transfer-ownership="full">
|
2357
|
-
<doc xml:
|
2358
|
+
<doc xml:space="preserve">a %NULL-terminated array of mime types which must be freed with g_strfreev() when it is no longer needed.</doc>
|
2358
2359
|
<array c:type="gchar**">
|
2359
2360
|
<type name="utf8"/>
|
2360
2361
|
</array>
|
2361
2362
|
</return-value>
|
2362
2363
|
<parameters>
|
2363
2364
|
<instance-parameter name="format" transfer-ownership="none">
|
2364
|
-
<doc xml:
|
2365
|
+
<doc xml:space="preserve">a #GdkPixbufFormat</doc>
|
2365
2366
|
<type name="PixbufFormat" c:type="GdkPixbufFormat*"/>
|
2366
2367
|
</instance-parameter>
|
2367
2368
|
</parameters>
|
@@ -2369,14 +2370,14 @@ string should be freed with g_free() when it's no longer needed.</doc>
|
|
2369
2370
|
<method name="get_name"
|
2370
2371
|
c:identifier="gdk_pixbuf_format_get_name"
|
2371
2372
|
version="2.2">
|
2372
|
-
<doc xml:
|
2373
|
+
<doc xml:space="preserve">Returns the name of the format.</doc>
|
2373
2374
|
<return-value transfer-ownership="full">
|
2374
|
-
<doc xml:
|
2375
|
+
<doc xml:space="preserve">the name of the format.</doc>
|
2375
2376
|
<type name="utf8" c:type="gchar*"/>
|
2376
2377
|
</return-value>
|
2377
2378
|
<parameters>
|
2378
2379
|
<instance-parameter name="format" transfer-ownership="none">
|
2379
|
-
<doc xml:
|
2380
|
+
<doc xml:space="preserve">a #GdkPixbufFormat</doc>
|
2380
2381
|
<type name="PixbufFormat" c:type="GdkPixbufFormat*"/>
|
2381
2382
|
</instance-parameter>
|
2382
2383
|
</parameters>
|
@@ -2384,15 +2385,15 @@ string should be freed with g_free() when it's no longer needed.</doc>
|
|
2384
2385
|
<method name="is_disabled"
|
2385
2386
|
c:identifier="gdk_pixbuf_format_is_disabled"
|
2386
2387
|
version="2.6">
|
2387
|
-
<doc xml:
|
2388
|
+
<doc xml:space="preserve">Returns whether this image format is disabled. See
|
2388
2389
|
gdk_pixbuf_format_set_disabled().</doc>
|
2389
2390
|
<return-value transfer-ownership="none">
|
2390
|
-
<doc xml:
|
2391
|
+
<doc xml:space="preserve">whether this image format is disabled.</doc>
|
2391
2392
|
<type name="gboolean" c:type="gboolean"/>
|
2392
2393
|
</return-value>
|
2393
2394
|
<parameters>
|
2394
2395
|
<instance-parameter name="format" transfer-ownership="none">
|
2395
|
-
<doc xml:
|
2396
|
+
<doc xml:space="preserve">a #GdkPixbufFormat</doc>
|
2396
2397
|
<type name="PixbufFormat" c:type="GdkPixbufFormat*"/>
|
2397
2398
|
</instance-parameter>
|
2398
2399
|
</parameters>
|
@@ -2400,17 +2401,17 @@ gdk_pixbuf_format_set_disabled().</doc>
|
|
2400
2401
|
<method name="is_scalable"
|
2401
2402
|
c:identifier="gdk_pixbuf_format_is_scalable"
|
2402
2403
|
version="2.6">
|
2403
|
-
<doc xml:
|
2404
|
+
<doc xml:space="preserve">Returns whether this image format is scalable. If a file is in a
|
2404
2405
|
scalable format, it is preferable to load it at the desired size,
|
2405
2406
|
rather than loading it at the default size and scaling the
|
2406
2407
|
resulting pixbuf to the desired size.</doc>
|
2407
2408
|
<return-value transfer-ownership="none">
|
2408
|
-
<doc xml:
|
2409
|
+
<doc xml:space="preserve">whether this image format is scalable.</doc>
|
2409
2410
|
<type name="gboolean" c:type="gboolean"/>
|
2410
2411
|
</return-value>
|
2411
2412
|
<parameters>
|
2412
2413
|
<instance-parameter name="format" transfer-ownership="none">
|
2413
|
-
<doc xml:
|
2414
|
+
<doc xml:space="preserve">a #GdkPixbufFormat</doc>
|
2414
2415
|
<type name="PixbufFormat" c:type="GdkPixbufFormat*"/>
|
2415
2416
|
</instance-parameter>
|
2416
2417
|
</parameters>
|
@@ -2418,14 +2419,14 @@ resulting pixbuf to the desired size.</doc>
|
|
2418
2419
|
<method name="is_writable"
|
2419
2420
|
c:identifier="gdk_pixbuf_format_is_writable"
|
2420
2421
|
version="2.2">
|
2421
|
-
<doc xml:
|
2422
|
+
<doc xml:space="preserve">Returns whether pixbufs can be saved in the given format.</doc>
|
2422
2423
|
<return-value transfer-ownership="none">
|
2423
|
-
<doc xml:
|
2424
|
+
<doc xml:space="preserve">whether pixbufs can be saved in the given format.</doc>
|
2424
2425
|
<type name="gboolean" c:type="gboolean"/>
|
2425
2426
|
</return-value>
|
2426
2427
|
<parameters>
|
2427
2428
|
<instance-parameter name="format" transfer-ownership="none">
|
2428
|
-
<doc xml:
|
2429
|
+
<doc xml:space="preserve">a #GdkPixbufFormat</doc>
|
2429
2430
|
<type name="PixbufFormat" c:type="GdkPixbufFormat*"/>
|
2430
2431
|
</instance-parameter>
|
2431
2432
|
</parameters>
|
@@ -2433,7 +2434,7 @@ resulting pixbuf to the desired size.</doc>
|
|
2433
2434
|
<method name="set_disabled"
|
2434
2435
|
c:identifier="gdk_pixbuf_format_set_disabled"
|
2435
2436
|
version="2.6">
|
2436
|
-
<doc xml:
|
2437
|
+
<doc xml:space="preserve">Disables or enables an image format. If a format is disabled,
|
2437
2438
|
gdk-pixbuf won't use the image loader for this format to load
|
2438
2439
|
images. Applications can use this to avoid using image loaders
|
2439
2440
|
with an inappropriate license, see gdk_pixbuf_format_get_license().</doc>
|
@@ -2442,11 +2443,11 @@ with an inappropriate license, see gdk_pixbuf_format_get_license().</doc>
|
|
2442
2443
|
</return-value>
|
2443
2444
|
<parameters>
|
2444
2445
|
<instance-parameter name="format" transfer-ownership="none">
|
2445
|
-
<doc xml:
|
2446
|
+
<doc xml:space="preserve">a #GdkPixbufFormat</doc>
|
2446
2447
|
<type name="PixbufFormat" c:type="GdkPixbufFormat*"/>
|
2447
2448
|
</instance-parameter>
|
2448
2449
|
<parameter name="disabled" transfer-ownership="none">
|
2449
|
-
<doc xml:
|
2450
|
+
<doc xml:space="preserve">%TRUE to disable the format @format</doc>
|
2450
2451
|
<type name="gboolean" c:type="gboolean"/>
|
2451
2452
|
</parameter>
|
2452
2453
|
</parameters>
|
@@ -2459,12 +2460,12 @@ with an inappropriate license, see gdk_pixbuf_format_get_license().</doc>
|
|
2459
2460
|
glib:type-name="GdkPixbufLoader"
|
2460
2461
|
glib:get-type="gdk_pixbuf_loader_get_type"
|
2461
2462
|
glib:type-struct="PixbufLoaderClass">
|
2462
|
-
<doc xml:
|
2463
|
+
<doc xml:space="preserve">The <structname>GdkPixbufLoader</structname> struct contains only private
|
2463
2464
|
fields.</doc>
|
2464
2465
|
<constructor name="new" c:identifier="gdk_pixbuf_loader_new">
|
2465
|
-
<doc xml:
|
2466
|
+
<doc xml:space="preserve">Creates a new pixbuf loader object.</doc>
|
2466
2467
|
<return-value transfer-ownership="full">
|
2467
|
-
<doc xml:
|
2468
|
+
<doc xml:space="preserve">A newly-created pixbuf loader.</doc>
|
2468
2469
|
<type name="PixbufLoader" c:type="GdkPixbufLoader*"/>
|
2469
2470
|
</return-value>
|
2470
2471
|
</constructor>
|
@@ -2472,7 +2473,7 @@ fields.</doc>
|
|
2472
2473
|
c:identifier="gdk_pixbuf_loader_new_with_mime_type"
|
2473
2474
|
version="2.4"
|
2474
2475
|
throws="1">
|
2475
|
-
<doc xml:
|
2476
|
+
<doc xml:space="preserve">Creates a new pixbuf loader object that always attempts to parse
|
2476
2477
|
image data as if it were an image of mime type @mime_type, instead of
|
2477
2478
|
identifying the type automatically. Useful if you want an error if
|
2478
2479
|
the image isn't the expected mime type, for loading image formats
|
@@ -2486,12 +2487,12 @@ To obtain the full list of supported mime types, call
|
|
2486
2487
|
gdk_pixbuf_format_get_mime_types() on each of the #GdkPixbufFormat
|
2487
2488
|
structs returned by gdk_pixbuf_get_formats().</doc>
|
2488
2489
|
<return-value transfer-ownership="full">
|
2489
|
-
<doc xml:
|
2490
|
+
<doc xml:space="preserve">A newly-created pixbuf loader.</doc>
|
2490
2491
|
<type name="PixbufLoader" c:type="GdkPixbufLoader*"/>
|
2491
2492
|
</return-value>
|
2492
2493
|
<parameters>
|
2493
2494
|
<parameter name="mime_type" transfer-ownership="none">
|
2494
|
-
<doc xml:
|
2495
|
+
<doc xml:space="preserve">the mime type to be loaded</doc>
|
2495
2496
|
<type name="utf8" c:type="const char*"/>
|
2496
2497
|
</parameter>
|
2497
2498
|
</parameters>
|
@@ -2499,7 +2500,7 @@ structs returned by gdk_pixbuf_get_formats().</doc>
|
|
2499
2500
|
<constructor name="new_with_type"
|
2500
2501
|
c:identifier="gdk_pixbuf_loader_new_with_type"
|
2501
2502
|
throws="1">
|
2502
|
-
<doc xml:
|
2503
|
+
<doc xml:space="preserve">Creates a new pixbuf loader object that always attempts to parse
|
2503
2504
|
image data as if it were an image of type @image_type, instead of
|
2504
2505
|
identifying the type automatically. Useful if you want an error if
|
2505
2506
|
the image isn't the expected type, for loading image formats
|
@@ -2512,12 +2513,12 @@ are installed, but typically "png", "jpeg", "gif", "tiff" and
|
|
2512
2513
|
supported image formats, call gdk_pixbuf_format_get_name() on each
|
2513
2514
|
of the #GdkPixbufFormat structs returned by gdk_pixbuf_get_formats().</doc>
|
2514
2515
|
<return-value transfer-ownership="full">
|
2515
|
-
<doc xml:
|
2516
|
+
<doc xml:space="preserve">A newly-created pixbuf loader.</doc>
|
2516
2517
|
<type name="PixbufLoader" c:type="GdkPixbufLoader*"/>
|
2517
2518
|
</return-value>
|
2518
2519
|
<parameters>
|
2519
2520
|
<parameter name="image_type" transfer-ownership="none">
|
2520
|
-
<doc xml:
|
2521
|
+
<doc xml:space="preserve">name of the image format to be loaded with the image</doc>
|
2521
2522
|
<type name="utf8" c:type="const char*"/>
|
2522
2523
|
</parameter>
|
2523
2524
|
</parameters>
|
@@ -2581,7 +2582,7 @@ of the #GdkPixbufFormat structs returned by gdk_pixbuf_get_formats().</doc>
|
|
2581
2582
|
</parameters>
|
2582
2583
|
</virtual-method>
|
2583
2584
|
<method name="close" c:identifier="gdk_pixbuf_loader_close" throws="1">
|
2584
|
-
<doc xml:
|
2585
|
+
<doc xml:space="preserve">Informs a pixbuf loader that no further writes with
|
2585
2586
|
gdk_pixbuf_loader_write() will occur, so that it can free its
|
2586
2587
|
internal loading structures. Also, tries to parse any data that
|
2587
2588
|
hasn't yet been parsed; if the remaining data is partial or
|
@@ -2594,30 +2595,30 @@ reasonable.
|
|
2594
2595
|
Remember that this does not unref the loader, so if you plan not to
|
2595
2596
|
use it anymore, please g_object_unref() it.</doc>
|
2596
2597
|
<return-value transfer-ownership="none">
|
2597
|
-
<doc xml:
|
2598
|
+
<doc xml:space="preserve">%TRUE if all image data written so far was successfully passed out via the update_area signal</doc>
|
2598
2599
|
<type name="gboolean" c:type="gboolean"/>
|
2599
2600
|
</return-value>
|
2600
2601
|
<parameters>
|
2601
2602
|
<instance-parameter name="loader" transfer-ownership="none">
|
2602
|
-
<doc xml:
|
2603
|
+
<doc xml:space="preserve">A pixbuf loader.</doc>
|
2603
2604
|
<type name="PixbufLoader" c:type="GdkPixbufLoader*"/>
|
2604
2605
|
</instance-parameter>
|
2605
2606
|
</parameters>
|
2606
2607
|
</method>
|
2607
2608
|
<method name="get_animation"
|
2608
2609
|
c:identifier="gdk_pixbuf_loader_get_animation">
|
2609
|
-
<doc xml:
|
2610
|
+
<doc xml:space="preserve">Queries the #GdkPixbufAnimation that a pixbuf loader is currently creating.
|
2610
2611
|
In general it only makes sense to call this function after the "area-prepared"
|
2611
2612
|
signal has been emitted by the loader. If the loader doesn't have enough
|
2612
2613
|
bytes yet (hasn't emitted the "area-prepared" signal) this function will
|
2613
2614
|
return %NULL.</doc>
|
2614
2615
|
<return-value transfer-ownership="none">
|
2615
|
-
<doc xml:
|
2616
|
+
<doc xml:space="preserve">The #GdkPixbufAnimation that the loader is loading, or %NULL if not enough data has been read to determine the information.</doc>
|
2616
2617
|
<type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/>
|
2617
2618
|
</return-value>
|
2618
2619
|
<parameters>
|
2619
2620
|
<instance-parameter name="loader" transfer-ownership="none">
|
2620
|
-
<doc xml:
|
2621
|
+
<doc xml:space="preserve">A pixbuf loader</doc>
|
2621
2622
|
<type name="PixbufLoader" c:type="GdkPixbufLoader*"/>
|
2622
2623
|
</instance-parameter>
|
2623
2624
|
</parameters>
|
@@ -2625,21 +2626,21 @@ return %NULL.</doc>
|
|
2625
2626
|
<method name="get_format"
|
2626
2627
|
c:identifier="gdk_pixbuf_loader_get_format"
|
2627
2628
|
version="2.2">
|
2628
|
-
<doc xml:
|
2629
|
+
<doc xml:space="preserve">Obtains the available information about the format of the
|
2629
2630
|
currently loading image file.</doc>
|
2630
2631
|
<return-value transfer-ownership="none">
|
2631
|
-
<doc xml:
|
2632
|
+
<doc xml:space="preserve">A #GdkPixbufFormat or %NULL. The return value is owned by GdkPixbuf and should not be freed.</doc>
|
2632
2633
|
<type name="PixbufFormat" c:type="GdkPixbufFormat*"/>
|
2633
2634
|
</return-value>
|
2634
2635
|
<parameters>
|
2635
2636
|
<instance-parameter name="loader" transfer-ownership="none">
|
2636
|
-
<doc xml:
|
2637
|
+
<doc xml:space="preserve">A pixbuf loader.</doc>
|
2637
2638
|
<type name="PixbufLoader" c:type="GdkPixbufLoader*"/>
|
2638
2639
|
</instance-parameter>
|
2639
2640
|
</parameters>
|
2640
2641
|
</method>
|
2641
2642
|
<method name="get_pixbuf" c:identifier="gdk_pixbuf_loader_get_pixbuf">
|
2642
|
-
<doc xml:
|
2643
|
+
<doc xml:space="preserve">Queries the #GdkPixbuf that a pixbuf loader is currently creating.
|
2643
2644
|
In general it only makes sense to call this function after the
|
2644
2645
|
"area-prepared" signal has been emitted by the loader; this means
|
2645
2646
|
that enough data has been read to know the size of the image that
|
@@ -2651,12 +2652,12 @@ using it. Additionally, if the loader is an animation, it will
|
|
2651
2652
|
return the "static image" of the animation
|
2652
2653
|
(see gdk_pixbuf_animation_get_static_image()).</doc>
|
2653
2654
|
<return-value transfer-ownership="none">
|
2654
|
-
<doc xml:
|
2655
|
+
<doc xml:space="preserve">The #GdkPixbuf that the loader is creating, or %NULL if not enough data has been read to determine how to create the image buffer.</doc>
|
2655
2656
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
2656
2657
|
</return-value>
|
2657
2658
|
<parameters>
|
2658
2659
|
<instance-parameter name="loader" transfer-ownership="none">
|
2659
|
-
<doc xml:
|
2660
|
+
<doc xml:space="preserve">A pixbuf loader.</doc>
|
2660
2661
|
<type name="PixbufLoader" c:type="GdkPixbufLoader*"/>
|
2661
2662
|
</instance-parameter>
|
2662
2663
|
</parameters>
|
@@ -2664,7 +2665,7 @@ return the "static image" of the animation
|
|
2664
2665
|
<method name="set_size"
|
2665
2666
|
c:identifier="gdk_pixbuf_loader_set_size"
|
2666
2667
|
version="2.2">
|
2667
|
-
<doc xml:
|
2668
|
+
<doc xml:space="preserve">Causes the image to be scaled while it is loaded. The desired
|
2668
2669
|
image size can be determined relative to the original size of
|
2669
2670
|
the image by calling gdk_pixbuf_loader_set_size() from a
|
2670
2671
|
signal handler for the ::size-prepared signal.
|
@@ -2676,47 +2677,74 @@ emission of the ::size-prepared signal.</doc>
|
|
2676
2677
|
</return-value>
|
2677
2678
|
<parameters>
|
2678
2679
|
<instance-parameter name="loader" transfer-ownership="none">
|
2679
|
-
<doc xml:
|
2680
|
+
<doc xml:space="preserve">A pixbuf loader.</doc>
|
2680
2681
|
<type name="PixbufLoader" c:type="GdkPixbufLoader*"/>
|
2681
2682
|
</instance-parameter>
|
2682
2683
|
<parameter name="width" transfer-ownership="none">
|
2683
|
-
<doc xml:
|
2684
|
+
<doc xml:space="preserve">The desired width of the image being loaded.</doc>
|
2684
2685
|
<type name="gint" c:type="int"/>
|
2685
2686
|
</parameter>
|
2686
2687
|
<parameter name="height" transfer-ownership="none">
|
2687
|
-
<doc xml:
|
2688
|
+
<doc xml:space="preserve">The desired height of the image being loaded.</doc>
|
2688
2689
|
<type name="gint" c:type="int"/>
|
2689
2690
|
</parameter>
|
2690
2691
|
</parameters>
|
2691
2692
|
</method>
|
2692
2693
|
<method name="write" c:identifier="gdk_pixbuf_loader_write" throws="1">
|
2693
|
-
<doc xml:
|
2694
|
+
<doc xml:space="preserve">This will cause a pixbuf loader to parse the next @count bytes of
|
2694
2695
|
an image. It will return %TRUE if the data was loaded successfully,
|
2695
2696
|
and %FALSE if an error occurred. In the latter case, the loader
|
2696
2697
|
will be closed, and will not accept further writes. If %FALSE is
|
2697
2698
|
returned, @error will be set to an error from the #GDK_PIXBUF_ERROR
|
2698
2699
|
or #G_FILE_ERROR domains.</doc>
|
2699
2700
|
<return-value transfer-ownership="none">
|
2700
|
-
<doc xml:
|
2701
|
+
<doc xml:space="preserve">%TRUE if the write was successful, or %FALSE if the loader cannot parse the buffer.</doc>
|
2701
2702
|
<type name="gboolean" c:type="gboolean"/>
|
2702
2703
|
</return-value>
|
2703
2704
|
<parameters>
|
2704
2705
|
<instance-parameter name="loader" transfer-ownership="none">
|
2705
|
-
<doc xml:
|
2706
|
+
<doc xml:space="preserve">A pixbuf loader.</doc>
|
2706
2707
|
<type name="PixbufLoader" c:type="GdkPixbufLoader*"/>
|
2707
2708
|
</instance-parameter>
|
2708
2709
|
<parameter name="buf" transfer-ownership="none">
|
2709
|
-
<doc xml:
|
2710
|
+
<doc xml:space="preserve">Pointer to image data.</doc>
|
2710
2711
|
<array length="1" zero-terminated="0" c:type="guchar*">
|
2711
2712
|
<type name="guint8" c:type="guchar"/>
|
2712
2713
|
</array>
|
2713
2714
|
</parameter>
|
2714
2715
|
<parameter name="count" transfer-ownership="none">
|
2715
|
-
<doc xml:
|
2716
|
+
<doc xml:space="preserve">Length of the @buf buffer in bytes.</doc>
|
2716
2717
|
<type name="gsize" c:type="gsize"/>
|
2717
2718
|
</parameter>
|
2718
2719
|
</parameters>
|
2719
2720
|
</method>
|
2721
|
+
<method name="write_bytes"
|
2722
|
+
c:identifier="gdk_pixbuf_loader_write_bytes"
|
2723
|
+
version="2.30"
|
2724
|
+
throws="1">
|
2725
|
+
<doc xml:space="preserve">This will cause a pixbuf loader to parse a buffer inside a #GBytes
|
2726
|
+
for an image. It will return %TRUE if the data was loaded successfully,
|
2727
|
+
and %FALSE if an error occurred. In the latter case, the loader
|
2728
|
+
will be closed, and will not accept further writes. If %FALSE is
|
2729
|
+
returned, @error will be set to an error from the #GDK_PIXBUF_ERROR
|
2730
|
+
or #G_FILE_ERROR domains.
|
2731
|
+
|
2732
|
+
See also: gdk_pixbuf_loader_write()</doc>
|
2733
|
+
<return-value transfer-ownership="none">
|
2734
|
+
<doc xml:space="preserve">%TRUE if the write was successful, or %FALSE if the loader cannot parse the buffer.</doc>
|
2735
|
+
<type name="gboolean" c:type="gboolean"/>
|
2736
|
+
</return-value>
|
2737
|
+
<parameters>
|
2738
|
+
<instance-parameter name="loader" transfer-ownership="none">
|
2739
|
+
<doc xml:space="preserve">A pixbuf loader.</doc>
|
2740
|
+
<type name="PixbufLoader" c:type="GdkPixbufLoader*"/>
|
2741
|
+
</instance-parameter>
|
2742
|
+
<parameter name="buffer" transfer-ownership="none">
|
2743
|
+
<doc xml:space="preserve">The image data as a #GBytes</doc>
|
2744
|
+
<type name="GLib.Bytes" c:type="GBytes*"/>
|
2745
|
+
</parameter>
|
2746
|
+
</parameters>
|
2747
|
+
</method>
|
2720
2748
|
<field name="parent_instance">
|
2721
2749
|
<type name="GObject.Object" c:type="GObject"/>
|
2722
2750
|
</field>
|
@@ -2724,7 +2752,7 @@ or #G_FILE_ERROR domains.</doc>
|
|
2724
2752
|
<type name="gpointer" c:type="gpointer"/>
|
2725
2753
|
</field>
|
2726
2754
|
<glib:signal name="area-prepared" when="last">
|
2727
|
-
<doc xml:
|
2755
|
+
<doc xml:space="preserve">This signal is emitted when the pixbuf loader has allocated the
|
2728
2756
|
pixbuf in the desired size. After this signal is emitted,
|
2729
2757
|
applications can call gdk_pixbuf_loader_get_pixbuf() to fetch
|
2730
2758
|
the partially-loaded pixbuf.</doc>
|
@@ -2733,7 +2761,7 @@ the partially-loaded pixbuf.</doc>
|
|
2733
2761
|
</return-value>
|
2734
2762
|
</glib:signal>
|
2735
2763
|
<glib:signal name="area-updated" when="last">
|
2736
|
-
<doc xml:
|
2764
|
+
<doc xml:space="preserve">This signal is emitted when a significant area of the image being
|
2737
2765
|
loaded has been updated. Normally it means that a complete
|
2738
2766
|
scanline has been read in, but it could be a different area as
|
2739
2767
|
well. Applications can use this signal to know when to repaint
|
@@ -2743,25 +2771,25 @@ areas of an image that is being loaded.</doc>
|
|
2743
2771
|
</return-value>
|
2744
2772
|
<parameters>
|
2745
2773
|
<parameter name="x" transfer-ownership="none">
|
2746
|
-
<doc xml:
|
2774
|
+
<doc xml:space="preserve">X offset of upper-left corner of the updated area.</doc>
|
2747
2775
|
<type name="gint" c:type="gint"/>
|
2748
2776
|
</parameter>
|
2749
2777
|
<parameter name="y" transfer-ownership="none">
|
2750
|
-
<doc xml:
|
2778
|
+
<doc xml:space="preserve">Y offset of upper-left corner of the updated area.</doc>
|
2751
2779
|
<type name="gint" c:type="gint"/>
|
2752
2780
|
</parameter>
|
2753
2781
|
<parameter name="width" transfer-ownership="none">
|
2754
|
-
<doc xml:
|
2782
|
+
<doc xml:space="preserve">Width of updated area.</doc>
|
2755
2783
|
<type name="gint" c:type="gint"/>
|
2756
2784
|
</parameter>
|
2757
2785
|
<parameter name="height" transfer-ownership="none">
|
2758
|
-
<doc xml:
|
2786
|
+
<doc xml:space="preserve">Height of updated area.</doc>
|
2759
2787
|
<type name="gint" c:type="gint"/>
|
2760
2788
|
</parameter>
|
2761
2789
|
</parameters>
|
2762
2790
|
</glib:signal>
|
2763
2791
|
<glib:signal name="closed" when="last">
|
2764
|
-
<doc xml:
|
2792
|
+
<doc xml:space="preserve">This signal is emitted when gdk_pixbuf_loader_close() is called.
|
2765
2793
|
It can be used by different parts of an application to receive
|
2766
2794
|
notification when an image loader is closed by the code that
|
2767
2795
|
drives it.</doc>
|
@@ -2770,7 +2798,7 @@ drives it.</doc>
|
|
2770
2798
|
</return-value>
|
2771
2799
|
</glib:signal>
|
2772
2800
|
<glib:signal name="size-prepared" when="last">
|
2773
|
-
<doc xml:
|
2801
|
+
<doc xml:space="preserve">This signal is emitted when the pixbuf loader has been fed the
|
2774
2802
|
initial amount of data that is required to figure out the size
|
2775
2803
|
of the image that it will create. Applications can call
|
2776
2804
|
gdk_pixbuf_loader_set_size() in response to this signal to set
|
@@ -2780,11 +2808,11 @@ the desired size to which the image should be scaled.</doc>
|
|
2780
2808
|
</return-value>
|
2781
2809
|
<parameters>
|
2782
2810
|
<parameter name="width" transfer-ownership="none">
|
2783
|
-
<doc xml:
|
2811
|
+
<doc xml:space="preserve">the original width of the image</doc>
|
2784
2812
|
<type name="gint" c:type="gint"/>
|
2785
2813
|
</parameter>
|
2786
2814
|
<parameter name="height" transfer-ownership="none">
|
2787
|
-
<doc xml:
|
2815
|
+
<doc xml:space="preserve">the original height of the image</doc>
|
2788
2816
|
<type name="gint" c:type="gint"/>
|
2789
2817
|
</parameter>
|
2790
2818
|
</parameters>
|
@@ -2867,64 +2895,64 @@ the desired size to which the image should be scaled.</doc>
|
|
2867
2895
|
glib:type-name="GdkPixbufRotation"
|
2868
2896
|
glib:get-type="gdk_pixbuf_rotation_get_type"
|
2869
2897
|
c:type="GdkPixbufRotation">
|
2870
|
-
<doc xml:
|
2898
|
+
<doc xml:space="preserve">The possible rotations which can be passed to gdk_pixbuf_rotate_simple().
|
2871
2899
|
To make them easier to use, their numerical values are the actual degrees.</doc>
|
2872
2900
|
<member name="none"
|
2873
2901
|
value="0"
|
2874
2902
|
c:identifier="GDK_PIXBUF_ROTATE_NONE"
|
2875
2903
|
glib:nick="none">
|
2876
|
-
<doc xml:
|
2904
|
+
<doc xml:space="preserve">No rotation.</doc>
|
2877
2905
|
</member>
|
2878
2906
|
<member name="counterclockwise"
|
2879
2907
|
value="90"
|
2880
2908
|
c:identifier="GDK_PIXBUF_ROTATE_COUNTERCLOCKWISE"
|
2881
2909
|
glib:nick="counterclockwise">
|
2882
|
-
<doc xml:
|
2910
|
+
<doc xml:space="preserve">Rotate by 90 degrees.</doc>
|
2883
2911
|
</member>
|
2884
2912
|
<member name="upsidedown"
|
2885
2913
|
value="180"
|
2886
2914
|
c:identifier="GDK_PIXBUF_ROTATE_UPSIDEDOWN"
|
2887
2915
|
glib:nick="upsidedown">
|
2888
|
-
<doc xml:
|
2916
|
+
<doc xml:space="preserve">Rotate by 180 degrees.</doc>
|
2889
2917
|
</member>
|
2890
2918
|
<member name="clockwise"
|
2891
2919
|
value="270"
|
2892
2920
|
c:identifier="GDK_PIXBUF_ROTATE_CLOCKWISE"
|
2893
2921
|
glib:nick="clockwise">
|
2894
|
-
<doc xml:
|
2922
|
+
<doc xml:space="preserve">Rotate by 270 degrees.</doc>
|
2895
2923
|
</member>
|
2896
2924
|
</enumeration>
|
2897
2925
|
<callback name="PixbufSaveFunc" c:type="GdkPixbufSaveFunc" version="2.4">
|
2898
|
-
<doc xml:
|
2926
|
+
<doc xml:space="preserve">Specifies the type of the function passed to
|
2899
2927
|
gdk_pixbuf_save_to_callback(). It is called once for each block of
|
2900
2928
|
bytes that is "written" by gdk_pixbuf_save_to_callback(). If
|
2901
2929
|
successful it should return %TRUE. If an error occurs it should set
|
2902
2930
|
@error and return %FALSE, in which case gdk_pixbuf_save_to_callback()
|
2903
2931
|
will fail with the same error.</doc>
|
2904
2932
|
<return-value transfer-ownership="none">
|
2905
|
-
<doc xml:
|
2933
|
+
<doc xml:space="preserve">%TRUE if successful, %FALSE (with @error set) if failed.</doc>
|
2906
2934
|
<type name="gboolean" c:type="gboolean"/>
|
2907
2935
|
</return-value>
|
2908
2936
|
<parameters>
|
2909
2937
|
<parameter name="buf" transfer-ownership="none">
|
2910
|
-
<doc xml:
|
2938
|
+
<doc xml:space="preserve">bytes to be written.</doc>
|
2911
2939
|
<array length="1" zero-terminated="0" c:type="gchar*">
|
2912
2940
|
<type name="guint8"/>
|
2913
2941
|
</array>
|
2914
2942
|
</parameter>
|
2915
2943
|
<parameter name="count" transfer-ownership="none">
|
2916
|
-
<doc xml:
|
2944
|
+
<doc xml:space="preserve">number of bytes in @buf.</doc>
|
2917
2945
|
<type name="gsize" c:type="gsize"/>
|
2918
2946
|
</parameter>
|
2919
2947
|
<parameter name="error"
|
2920
2948
|
direction="out"
|
2921
2949
|
caller-allocates="0"
|
2922
2950
|
transfer-ownership="full">
|
2923
|
-
<doc xml:
|
2951
|
+
<doc xml:space="preserve">A location to return an error.</doc>
|
2924
2952
|
<type name="GLib.Error" c:type="GError**"/>
|
2925
2953
|
</parameter>
|
2926
2954
|
<parameter name="data" transfer-ownership="none" closure="3">
|
2927
|
-
<doc xml:
|
2955
|
+
<doc xml:space="preserve">user data passed to gdk_pixbuf_save_to_callback().</doc>
|
2928
2956
|
<type name="gpointer" c:type="gpointer"/>
|
2929
2957
|
</parameter>
|
2930
2958
|
</parameters>
|
@@ -2936,26 +2964,26 @@ will fail with the same error.</doc>
|
|
2936
2964
|
glib:type-name="GdkPixbufSimpleAnim"
|
2937
2965
|
glib:get-type="gdk_pixbuf_simple_anim_get_type"
|
2938
2966
|
glib:type-struct="PixbufSimpleAnimClass">
|
2939
|
-
<doc xml:
|
2967
|
+
<doc xml:space="preserve">An opaque struct representing a simple animation.</doc>
|
2940
2968
|
<constructor name="new"
|
2941
2969
|
c:identifier="gdk_pixbuf_simple_anim_new"
|
2942
2970
|
version="2.8">
|
2943
|
-
<doc xml:
|
2971
|
+
<doc xml:space="preserve">Creates a new, empty animation.</doc>
|
2944
2972
|
<return-value transfer-ownership="full">
|
2945
|
-
<doc xml:
|
2973
|
+
<doc xml:space="preserve">a newly allocated #GdkPixbufSimpleAnim</doc>
|
2946
2974
|
<type name="PixbufSimpleAnim" c:type="GdkPixbufSimpleAnim*"/>
|
2947
2975
|
</return-value>
|
2948
2976
|
<parameters>
|
2949
2977
|
<parameter name="width" transfer-ownership="none">
|
2950
|
-
<doc xml:
|
2978
|
+
<doc xml:space="preserve">the width of the animation</doc>
|
2951
2979
|
<type name="gint" c:type="gint"/>
|
2952
2980
|
</parameter>
|
2953
2981
|
<parameter name="height" transfer-ownership="none">
|
2954
|
-
<doc xml:
|
2982
|
+
<doc xml:space="preserve">the height of the animation</doc>
|
2955
2983
|
<type name="gint" c:type="gint"/>
|
2956
2984
|
</parameter>
|
2957
2985
|
<parameter name="rate" transfer-ownership="none">
|
2958
|
-
<doc xml:
|
2986
|
+
<doc xml:space="preserve">the speed of the animation, in frames per second</doc>
|
2959
2987
|
<type name="gfloat" c:type="gfloat"/>
|
2960
2988
|
</parameter>
|
2961
2989
|
</parameters>
|
@@ -2963,7 +2991,7 @@ will fail with the same error.</doc>
|
|
2963
2991
|
<method name="add_frame"
|
2964
2992
|
c:identifier="gdk_pixbuf_simple_anim_add_frame"
|
2965
2993
|
version="2.8">
|
2966
|
-
<doc xml:
|
2994
|
+
<doc xml:space="preserve">Adds a new frame to @animation. The @pixbuf must
|
2967
2995
|
have the dimensions specified when the animation
|
2968
2996
|
was constructed.</doc>
|
2969
2997
|
<return-value transfer-ownership="none">
|
@@ -2971,11 +2999,11 @@ was constructed.</doc>
|
|
2971
2999
|
</return-value>
|
2972
3000
|
<parameters>
|
2973
3001
|
<instance-parameter name="animation" transfer-ownership="none">
|
2974
|
-
<doc xml:
|
3002
|
+
<doc xml:space="preserve">a #GdkPixbufSimpleAnim</doc>
|
2975
3003
|
<type name="PixbufSimpleAnim" c:type="GdkPixbufSimpleAnim*"/>
|
2976
3004
|
</instance-parameter>
|
2977
3005
|
<parameter name="pixbuf" transfer-ownership="none">
|
2978
|
-
<doc xml:
|
3006
|
+
<doc xml:space="preserve">the pixbuf to add</doc>
|
2979
3007
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
2980
3008
|
</parameter>
|
2981
3009
|
</parameters>
|
@@ -2983,14 +3011,14 @@ was constructed.</doc>
|
|
2983
3011
|
<method name="get_loop"
|
2984
3012
|
c:identifier="gdk_pixbuf_simple_anim_get_loop"
|
2985
3013
|
version="2.18">
|
2986
|
-
<doc xml:
|
3014
|
+
<doc xml:space="preserve">Gets whether @animation should loop indefinitely when it reaches the end.</doc>
|
2987
3015
|
<return-value transfer-ownership="none">
|
2988
|
-
<doc xml:
|
3016
|
+
<doc xml:space="preserve">%TRUE if the animation loops forever, %FALSE otherwise</doc>
|
2989
3017
|
<type name="gboolean" c:type="gboolean"/>
|
2990
3018
|
</return-value>
|
2991
3019
|
<parameters>
|
2992
3020
|
<instance-parameter name="animation" transfer-ownership="none">
|
2993
|
-
<doc xml:
|
3021
|
+
<doc xml:space="preserve">a #GdkPixbufSimpleAnim</doc>
|
2994
3022
|
<type name="PixbufSimpleAnim" c:type="GdkPixbufSimpleAnim*"/>
|
2995
3023
|
</instance-parameter>
|
2996
3024
|
</parameters>
|
@@ -2998,17 +3026,17 @@ was constructed.</doc>
|
|
2998
3026
|
<method name="set_loop"
|
2999
3027
|
c:identifier="gdk_pixbuf_simple_anim_set_loop"
|
3000
3028
|
version="2.18">
|
3001
|
-
<doc xml:
|
3029
|
+
<doc xml:space="preserve">Sets whether @animation should loop indefinitely when it reaches the end.</doc>
|
3002
3030
|
<return-value transfer-ownership="none">
|
3003
3031
|
<type name="none" c:type="void"/>
|
3004
3032
|
</return-value>
|
3005
3033
|
<parameters>
|
3006
3034
|
<instance-parameter name="animation" transfer-ownership="none">
|
3007
|
-
<doc xml:
|
3035
|
+
<doc xml:space="preserve">a #GdkPixbufSimpleAnim</doc>
|
3008
3036
|
<type name="PixbufSimpleAnim" c:type="GdkPixbufSimpleAnim*"/>
|
3009
3037
|
</instance-parameter>
|
3010
3038
|
<parameter name="loop" transfer-ownership="none">
|
3011
|
-
<doc xml:
|
3039
|
+
<doc xml:space="preserve">whether to loop the animation</doc>
|
3012
3040
|
<type name="gboolean" c:type="gboolean"/>
|
3013
3041
|
</parameter>
|
3014
3042
|
</parameters>
|
@@ -3017,7 +3045,7 @@ was constructed.</doc>
|
|
3017
3045
|
version="2.18"
|
3018
3046
|
writable="1"
|
3019
3047
|
transfer-ownership="none">
|
3020
|
-
<doc xml:
|
3048
|
+
<doc xml:space="preserve">Whether the animation should loop when it reaches the end.</doc>
|
3021
3049
|
<type name="gboolean" c:type="gboolean"/>
|
3022
3050
|
</property>
|
3023
3051
|
</class>
|
@@ -3033,7 +3061,7 @@ was constructed.</doc>
|
|
3033
3061
|
glib:get-type="gdk_pixbuf_simple_anim_iter_get_type">
|
3034
3062
|
</class>
|
3035
3063
|
<record name="Pixdata" c:type="GdkPixdata">
|
3036
|
-
<doc xml:
|
3064
|
+
<doc xml:space="preserve">A #GdkPixdata contains pixbuf information in a form suitable for
|
3037
3065
|
serialization and streaming.</doc>
|
3038
3066
|
<field name="magic" writable="1">
|
3039
3067
|
<type name="guint32" c:type="guint32"/>
|
@@ -3061,7 +3089,7 @@ serialization and streaming.</doc>
|
|
3061
3089
|
<method name="deserialize"
|
3062
3090
|
c:identifier="gdk_pixdata_deserialize"
|
3063
3091
|
throws="1">
|
3064
|
-
<doc xml:
|
3092
|
+
<doc xml:space="preserve">Deserializes (reconstruct) a #GdkPixdata structure from a byte stream.
|
3065
3093
|
The byte stream consists of a straightforward writeout of the
|
3066
3094
|
#GdkPixdata fields in network byte order, plus the @pixel_data
|
3067
3095
|
bytes the structure points to.
|
@@ -3069,20 +3097,20 @@ The @pixdata contents are reconstructed byte by byte and are checked
|
|
3069
3097
|
for validity. This function may fail with %GDK_PIXBUF_ERROR_CORRUPT_IMAGE
|
3070
3098
|
or %GDK_PIXBUF_ERROR_UNKNOWN_TYPE.</doc>
|
3071
3099
|
<return-value transfer-ownership="none">
|
3072
|
-
<doc xml:
|
3100
|
+
<doc xml:space="preserve">Upon successful deserialization %TRUE is returned, %FALSE otherwise.</doc>
|
3073
3101
|
<type name="gboolean" c:type="gboolean"/>
|
3074
3102
|
</return-value>
|
3075
3103
|
<parameters>
|
3076
3104
|
<instance-parameter name="pixdata" transfer-ownership="none">
|
3077
|
-
<doc xml:
|
3105
|
+
<doc xml:space="preserve">a #GdkPixdata structure to be filled in.</doc>
|
3078
3106
|
<type name="Pixdata" c:type="GdkPixdata*"/>
|
3079
3107
|
</instance-parameter>
|
3080
3108
|
<parameter name="stream_length" transfer-ownership="none">
|
3081
|
-
<doc xml:
|
3109
|
+
<doc xml:space="preserve">length of the stream used for deserialization.</doc>
|
3082
3110
|
<type name="guint" c:type="guint"/>
|
3083
3111
|
</parameter>
|
3084
3112
|
<parameter name="stream" transfer-ownership="none">
|
3085
|
-
<doc xml:
|
3113
|
+
<doc xml:space="preserve">stream of bytes containing a serialized #GdkPixdata structure.</doc>
|
3086
3114
|
<array length="0" zero-terminated="0" c:type="guint8*">
|
3087
3115
|
<type name="guint8" c:type="guint8"/>
|
3088
3116
|
</array>
|
@@ -3092,81 +3120,81 @@ or %GDK_PIXBUF_ERROR_UNKNOWN_TYPE.</doc>
|
|
3092
3120
|
<method name="from_pixbuf"
|
3093
3121
|
c:identifier="gdk_pixdata_from_pixbuf"
|
3094
3122
|
introspectable="0">
|
3095
|
-
<doc xml:
|
3123
|
+
<doc xml:space="preserve">Converts a #GdkPixbuf to a #GdkPixdata. If @use_rle is %TRUE, the
|
3096
3124
|
pixel data is run-length encoded into newly-allocated memory and a
|
3097
3125
|
pointer to that memory is returned.</doc>
|
3098
3126
|
<return-value>
|
3099
|
-
<doc xml:
|
3127
|
+
<doc xml:space="preserve">If @ure_rle is %TRUE, a pointer to the newly-allocated memory for the run-length encoded pixel data, otherwise %NULL.</doc>
|
3100
3128
|
<type name="gpointer" c:type="gpointer"/>
|
3101
3129
|
</return-value>
|
3102
3130
|
<parameters>
|
3103
3131
|
<instance-parameter name="pixdata" transfer-ownership="none">
|
3104
|
-
<doc xml:
|
3132
|
+
<doc xml:space="preserve">a #GdkPixdata to fill.</doc>
|
3105
3133
|
<type name="Pixdata" c:type="GdkPixdata*"/>
|
3106
3134
|
</instance-parameter>
|
3107
3135
|
<parameter name="pixbuf" transfer-ownership="none">
|
3108
|
-
<doc xml:
|
3136
|
+
<doc xml:space="preserve">the data to fill @pixdata with.</doc>
|
3109
3137
|
<type name="Pixbuf" c:type="const GdkPixbuf*"/>
|
3110
3138
|
</parameter>
|
3111
3139
|
<parameter name="use_rle" transfer-ownership="none">
|
3112
|
-
<doc xml:
|
3140
|
+
<doc xml:space="preserve">whether to use run-length encoding for the pixel data.</doc>
|
3113
3141
|
<type name="gboolean" c:type="gboolean"/>
|
3114
3142
|
</parameter>
|
3115
3143
|
</parameters>
|
3116
3144
|
</method>
|
3117
3145
|
<method name="serialize" c:identifier="gdk_pixdata_serialize">
|
3118
|
-
<doc xml:
|
3146
|
+
<doc xml:space="preserve">Serializes a #GdkPixdata structure into a byte stream.
|
3119
3147
|
The byte stream consists of a straightforward writeout of the
|
3120
3148
|
#GdkPixdata fields in network byte order, plus the @pixel_data
|
3121
3149
|
bytes the structure points to.</doc>
|
3122
3150
|
<return-value transfer-ownership="full">
|
3123
|
-
<doc xml:
|
3151
|
+
<doc xml:space="preserve">A newly-allocated string containing the serialized #GdkPixdata structure.</doc>
|
3124
3152
|
<array length="0" zero-terminated="0" c:type="guint8*">
|
3125
3153
|
<type name="guint8" c:type="guint8"/>
|
3126
3154
|
</array>
|
3127
3155
|
</return-value>
|
3128
3156
|
<parameters>
|
3129
3157
|
<instance-parameter name="pixdata" transfer-ownership="none">
|
3130
|
-
<doc xml:
|
3158
|
+
<doc xml:space="preserve">a valid #GdkPixdata structure to serialize.</doc>
|
3131
3159
|
<type name="Pixdata" c:type="const GdkPixdata*"/>
|
3132
3160
|
</instance-parameter>
|
3133
3161
|
<parameter name="stream_length_p"
|
3134
3162
|
direction="out"
|
3135
3163
|
caller-allocates="0"
|
3136
3164
|
transfer-ownership="full">
|
3137
|
-
<doc xml:
|
3165
|
+
<doc xml:space="preserve">location to store the resulting stream length in.</doc>
|
3138
3166
|
<type name="guint" c:type="guint*"/>
|
3139
3167
|
</parameter>
|
3140
3168
|
</parameters>
|
3141
3169
|
</method>
|
3142
3170
|
<method name="to_csource" c:identifier="gdk_pixdata_to_csource">
|
3143
|
-
<doc xml:
|
3171
|
+
<doc xml:space="preserve">Generates C source code suitable for compiling images directly
|
3144
3172
|
into programs.
|
3145
3173
|
|
3146
3174
|
gdk-pixbuf ships with a program called <command>gdk-pixbuf-csource</command>
|
3147
3175
|
which offers a command line interface to this function.</doc>
|
3148
3176
|
<return-value transfer-ownership="full">
|
3149
|
-
<doc xml:
|
3177
|
+
<doc xml:space="preserve">a newly-allocated string containing the C source form of @pixdata.</doc>
|
3150
3178
|
<type name="GLib.String" c:type="GString*"/>
|
3151
3179
|
</return-value>
|
3152
3180
|
<parameters>
|
3153
3181
|
<instance-parameter name="pixdata" transfer-ownership="none">
|
3154
|
-
<doc xml:
|
3182
|
+
<doc xml:space="preserve">a #GdkPixdata to convert to C source.</doc>
|
3155
3183
|
<type name="Pixdata" c:type="GdkPixdata*"/>
|
3156
3184
|
</instance-parameter>
|
3157
3185
|
<parameter name="name" transfer-ownership="none">
|
3158
|
-
<doc xml:
|
3186
|
+
<doc xml:space="preserve">used for naming generated data structures or macros.</doc>
|
3159
3187
|
<type name="utf8" c:type="const gchar*"/>
|
3160
3188
|
</parameter>
|
3161
3189
|
<parameter name="dump_type" transfer-ownership="none">
|
3162
|
-
<doc xml:
|
3190
|
+
<doc xml:space="preserve">a #GdkPixdataDumpType determining the kind of C source to be generated.</doc>
|
3163
3191
|
<type name="PixdataDumpType" c:type="GdkPixdataDumpType"/>
|
3164
3192
|
</parameter>
|
3165
3193
|
</parameters>
|
3166
3194
|
</method>
|
3167
3195
|
</record>
|
3168
3196
|
<bitfield name="PixdataDumpType" c:type="GdkPixdataDumpType">
|
3169
|
-
<doc xml:
|
3197
|
+
<doc xml:space="preserve">An enumeration which is used by gdk_pixdata_to_csource() to
|
3170
3198
|
determine the form of C source to be generated. The three values
|
3171
3199
|
@GDK_PIXDATA_DUMP_PIXDATA_STREAM, @GDK_PIXDATA_DUMP_PIXDATA_STRUCT
|
3172
3200
|
and @GDK_PIXDATA_DUMP_MACROS are mutually exclusive, as are
|
@@ -3175,77 +3203,77 @@ elements are optional flags that can be freely added.</doc>
|
|
3175
3203
|
<member name="pixdata_stream"
|
3176
3204
|
value="0"
|
3177
3205
|
c:identifier="GDK_PIXDATA_DUMP_PIXDATA_STREAM">
|
3178
|
-
<doc xml:
|
3206
|
+
<doc xml:space="preserve">Generate pixbuf data stream (a single string containing a serialized #GdkPixdata structure in network byte order).</doc>
|
3179
3207
|
</member>
|
3180
3208
|
<member name="pixdata_struct"
|
3181
3209
|
value="1"
|
3182
3210
|
c:identifier="GDK_PIXDATA_DUMP_PIXDATA_STRUCT">
|
3183
|
-
<doc xml:
|
3211
|
+
<doc xml:space="preserve">Generate #GdkPixdata structure (needs the #GdkPixdata structure definition from gdk-pixdata.h).</doc>
|
3184
3212
|
</member>
|
3185
3213
|
<member name="macros" value="2" c:identifier="GDK_PIXDATA_DUMP_MACROS">
|
3186
|
-
<doc xml:
|
3214
|
+
<doc xml:space="preserve">Generate <function>*_ROWSTRIDE</function>, <function>*_WIDTH</function>, <function>*_HEIGHT</function>, <function>*_BYTES_PER_PIXEL</function> and <function>*_RLE_PIXEL_DATA</function> or <function>*_PIXEL_DATA</function> macro definitions for the image.</doc>
|
3187
3215
|
</member>
|
3188
3216
|
<member name="gtypes" value="0" c:identifier="GDK_PIXDATA_DUMP_GTYPES">
|
3189
|
-
<doc xml:
|
3217
|
+
<doc xml:space="preserve">Generate GLib data types instead of standard C data types.</doc>
|
3190
3218
|
</member>
|
3191
3219
|
<member name="ctypes" value="256" c:identifier="GDK_PIXDATA_DUMP_CTYPES">
|
3192
|
-
<doc xml:
|
3220
|
+
<doc xml:space="preserve">Generate standard C data types instead of GLib data types.</doc>
|
3193
3221
|
</member>
|
3194
3222
|
<member name="static" value="512" c:identifier="GDK_PIXDATA_DUMP_STATIC">
|
3195
|
-
<doc xml:
|
3223
|
+
<doc xml:space="preserve">Generate static symbols.</doc>
|
3196
3224
|
</member>
|
3197
3225
|
<member name="const" value="1024" c:identifier="GDK_PIXDATA_DUMP_CONST">
|
3198
|
-
<doc xml:
|
3226
|
+
<doc xml:space="preserve">Generate const symbols.</doc>
|
3199
3227
|
</member>
|
3200
3228
|
<member name="rle_decoder"
|
3201
3229
|
value="65536"
|
3202
3230
|
c:identifier="GDK_PIXDATA_DUMP_RLE_DECODER">
|
3203
|
-
<doc xml:
|
3231
|
+
<doc xml:space="preserve">Provide a <function>*_RUN_LENGTH_DECODE(image_buf, rle_data, size, bpp)</function> macro definition to decode run-length encoded image data.</doc>
|
3204
3232
|
</member>
|
3205
3233
|
</bitfield>
|
3206
3234
|
<bitfield name="PixdataType" c:type="GdkPixdataType">
|
3207
|
-
<doc xml:
|
3235
|
+
<doc xml:space="preserve">An enumeration containing three sets of flags for a #GdkPixdata struct:
|
3208
3236
|
one for the used colorspace, one for the width of the samples and one
|
3209
3237
|
for the encoding of the pixel data.</doc>
|
3210
3238
|
<member name="color_type_rgb"
|
3211
3239
|
value="1"
|
3212
3240
|
c:identifier="GDK_PIXDATA_COLOR_TYPE_RGB">
|
3213
|
-
<doc xml:
|
3241
|
+
<doc xml:space="preserve">each pixel has red, green and blue samples.</doc>
|
3214
3242
|
</member>
|
3215
3243
|
<member name="color_type_rgba"
|
3216
3244
|
value="2"
|
3217
3245
|
c:identifier="GDK_PIXDATA_COLOR_TYPE_RGBA">
|
3218
|
-
<doc xml:
|
3246
|
+
<doc xml:space="preserve">each pixel has red, green and blue samples and an alpha value.</doc>
|
3219
3247
|
</member>
|
3220
3248
|
<member name="color_type_mask"
|
3221
3249
|
value="255"
|
3222
3250
|
c:identifier="GDK_PIXDATA_COLOR_TYPE_MASK">
|
3223
|
-
<doc xml:
|
3251
|
+
<doc xml:space="preserve">mask for the colortype flags of the enum.</doc>
|
3224
3252
|
</member>
|
3225
3253
|
<member name="sample_width_8"
|
3226
3254
|
value="65536"
|
3227
3255
|
c:identifier="GDK_PIXDATA_SAMPLE_WIDTH_8">
|
3228
|
-
<doc xml:
|
3256
|
+
<doc xml:space="preserve">each sample has 8 bits.</doc>
|
3229
3257
|
</member>
|
3230
3258
|
<member name="sample_width_mask"
|
3231
3259
|
value="983040"
|
3232
3260
|
c:identifier="GDK_PIXDATA_SAMPLE_WIDTH_MASK">
|
3233
|
-
<doc xml:
|
3261
|
+
<doc xml:space="preserve">mask for the sample width flags of the enum.</doc>
|
3234
3262
|
</member>
|
3235
3263
|
<member name="encoding_raw"
|
3236
3264
|
value="16777216"
|
3237
3265
|
c:identifier="GDK_PIXDATA_ENCODING_RAW">
|
3238
|
-
<doc xml:
|
3266
|
+
<doc xml:space="preserve">the pixel data is in raw form.</doc>
|
3239
3267
|
</member>
|
3240
3268
|
<member name="encoding_rle"
|
3241
3269
|
value="33554432"
|
3242
3270
|
c:identifier="GDK_PIXDATA_ENCODING_RLE">
|
3243
|
-
<doc xml:
|
3271
|
+
<doc xml:space="preserve">the pixel data is run-length encoded. Runs may be up to 127 bytes long; their length is stored in a single byte preceding the pixel data for the run. If a run is constant, its length byte has the high bit set and the pixel data consists of a single pixel which must be repeated.</doc>
|
3244
3272
|
</member>
|
3245
3273
|
<member name="encoding_mask"
|
3246
3274
|
value="251658240"
|
3247
3275
|
c:identifier="GDK_PIXDATA_ENCODING_MASK">
|
3248
|
-
<doc xml:
|
3276
|
+
<doc xml:space="preserve">mask for the encoding flags of the enum.</doc>
|
3249
3277
|
</member>
|
3250
3278
|
</bitfield>
|
3251
3279
|
<function name="pixbuf_error_quark"
|