gdk_pixbuf2 1.1.9-x86-mingw32 → 1.2.0-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +16 -1
- data/lib/1.8/gdk_pixbuf2.so +0 -0
- data/lib/1.9/gdk_pixbuf2.so +0 -0
- data/vendor/local/bin/gdk-pixbuf-csource.exe +0 -0
- data/vendor/local/bin/gdk-pixbuf-pixdata.exe +0 -0
- data/vendor/local/bin/gdk-pixbuf-query-loaders.exe +0 -0
- data/vendor/local/bin/libgdk_pixbuf-2.0-0.dll +0 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-animation.h +4 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +22 -3
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +5 -3
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-marshal.h +34 -34
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h +1 -1
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache +132 -8
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ani.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ani.dll.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ani.la +41 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gdip-bmp.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gdip-bmp.dll.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gdip-bmp.la +41 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gdip-emf.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gdip-emf.dll.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gdip-emf.la +41 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gdip-gif.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gdip-gif.dll.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gdip-gif.la +41 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gdip-ico.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gdip-ico.dll.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gdip-ico.la +41 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gdip-jpeg.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gdip-jpeg.dll.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gdip-jpeg.la +41 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gdip-tiff.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gdip-tiff.dll.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gdip-tiff.la +41 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gdip-wmf.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gdip-wmf.dll.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gdip-wmf.la +41 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-icns.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-icns.dll.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-icns.la +41 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pcx.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pcx.dll.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pcx.la +41 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.dll.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.la +41 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pnm.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pnm.dll.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pnm.la +41 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-qtif.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-qtif.dll.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-qtif.la +41 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ras.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ras.dll.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ras.la +41 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tga.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tga.dll.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tga.la +41 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-wbmp.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-wbmp.dll.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-wbmp.la +41 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xbm.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xbm.dll.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xbm.la +41 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.dll.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.la +41 -0
- data/vendor/local/lib/gdk_pixbuf-2.0.def +123 -0
- data/vendor/local/lib/libgdk_pixbuf-2.0.dll.a +0 -0
- data/vendor/local/lib/libgdk_pixbuf-2.0.la +41 -0
- data/vendor/local/lib/pkgconfig/gdk-pixbuf-2.0.pc +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +69 -29
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/annotation-glossary.html +8 -11
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-12.html +7 -7
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-14.html +7 -7
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-2.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-26.html +55 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-4.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-6.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-8.html +7 -7
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-deprecated.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-full.html +663 -249
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html +92 -40
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +342 -42
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +201 -51
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +40 -19
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +52 -24
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +117 -46
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +20 -8
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Scaling.html +45 -18
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +120 -20
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Utilities.html +23 -8
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Versioning.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-X-Drawables-to-Pixbufs.html +179 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Xlib-Rendering.html +396 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-XlibRGB.html +915 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-csource.html +17 -27
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-Xlib-initialization.html +131 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-from-drawables.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-rendering.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-query-loaders.html +12 -15
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf.devhelp2 +55 -9
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.html +19 -7
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.sgml +62 -1
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/license.html +7 -7
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn01.html +17 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn02.html +6 -6
- data/vendor/local/share/license/gdk-pixbuf/AUTHORS +65 -0
- data/vendor/local/share/license/gdk-pixbuf/COPYING +482 -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/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 +9 -19
- data/vendor/local/share/man/man1/gdk-pixbuf-query-loaders.1 +8 -11
- metadata +75 -19
- data/vendor/local/lib/gdk_pixbuf-2.0.lib +0 -0
- data/vendor/local/manifest/gdk-pixbuf-dev_2.24.0-1_win32.mft +0 -58
- data/vendor/local/manifest/gdk-pixbuf_2.24.0-1_win32.mft +0 -105
- data/vendor/local/manifest/libpng-dev_1.4.3-1_win32.mft +0 -15
- data/vendor/local/manifest/libpng_1.4.3-1_win32.mft +0 -2
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-10.html +0 -31
- data/vendor/local/src/dieterv/packaging/gdk-pixbuf_2.24.0-1_win32.log +0 -956
- data/vendor/local/src/dieterv/packaging/gdk-pixbuf_2.24.0-1_win32.sh +0 -97
- data/vendor/local/src/tml/packaging/libpng_1.4.3-1_win32.log +0 -272
- data/vendor/local/src/tml/packaging/libpng_1.4.3-1_win32.sh +0 -71
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Animations</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
|
7
7
|
<link rel="home" href="index.html" title="GDK-PixBuf Reference Manual">
|
8
8
|
<link rel="up" href="rn01.html" title="API Reference">
|
9
9
|
<link rel="prev" href="gdk-pixbuf-Utilities.html" title="Utilities">
|
10
10
|
<link rel="next" href="GdkPixbufLoader.html" title="GdkPixbufLoader">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -46,7 +46,8 @@
|
|
46
46
|
|
47
47
|
struct <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation-struct" title="struct GdkPixbufAnimation">GdkPixbufAnimation</a>;
|
48
48
|
struct <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimationIter-struct" title="struct GdkPixbufAnimationIter">GdkPixbufAnimationIter</a>;
|
49
|
-
#
|
49
|
+
<a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="returnvalue">GdkPixbufAnimation</span></a> * <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-new-from-file" title="gdk_pixbuf_animation_new_from_file ()">gdk_pixbuf_animation_new_from_file</a> (<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
|
50
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
50
51
|
<a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="returnvalue">GdkPixbufAnimation</span></a> * <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-ref" title="gdk_pixbuf_animation_ref ()">gdk_pixbuf_animation_ref</a> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>);
|
51
52
|
<span class="returnvalue">void</span> <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-unref" title="gdk_pixbuf_animation_unref ()">gdk_pixbuf_animation_unref</a> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>);
|
52
53
|
<span class="returnvalue">int</span> <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-get-width" title="gdk_pixbuf_animation_get_width ()">gdk_pixbuf_animation_get_width</a> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>);
|
@@ -103,13 +104,14 @@ struct <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAn
|
|
103
104
|
<div class="refsect1">
|
104
105
|
<a name="gdk-pixbuf-Animations.description"></a><h2>Description</h2>
|
105
106
|
<p>
|
106
|
-
The
|
107
|
-
animations. An animation is conceptually a series of
|
108
|
-
|
109
|
-
as a series of frames internally; for example, it may
|
110
|
-
sprite and instructions for moving the sprite around
|
111
|
-
an animation you don't need to understand
|
112
|
-
|
107
|
+
The GdkPixBuf library provides a simple mechanism to load and
|
108
|
+
represent animations. An animation is conceptually a series of
|
109
|
+
frames to be displayed over time. The animation may not be
|
110
|
+
represented as a series of frames internally; for example, it may
|
111
|
+
be stored as a sprite and instructions for moving the sprite around
|
112
|
+
a background. To display an animation you don't need to understand
|
113
|
+
its representation, however; you just ask GdkPixBuf what should
|
114
|
+
be displayed at a given point in time.
|
113
115
|
</p>
|
114
116
|
</div>
|
115
117
|
<div class="refsect1">
|
@@ -132,17 +134,20 @@ certain position in an animation.
|
|
132
134
|
</div>
|
133
135
|
<hr>
|
134
136
|
<div class="refsect2">
|
135
|
-
<a name="gdk-pixbuf-animation-new-from-file"></a><h3>gdk_pixbuf_animation_new_from_file</h3>
|
136
|
-
<pre class="programlisting"
|
137
|
-
</pre>
|
137
|
+
<a name="gdk-pixbuf-animation-new-from-file"></a><h3>gdk_pixbuf_animation_new_from_file ()</h3>
|
138
|
+
<pre class="programlisting"><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="returnvalue">GdkPixbufAnimation</span></a> * gdk_pixbuf_animation_new_from_file (<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
|
139
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
138
140
|
<p>
|
139
141
|
Creates a new animation by loading it from a file. The file format is
|
140
142
|
detected automatically. If the file's format does not support multi-frame
|
141
143
|
images, then an animation with a single frame will be created. Possible errors
|
142
144
|
are in the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERROR:CAPS" title="GDK_PIXBUF_ERROR"><span class="type">GDK_PIXBUF_ERROR</span></a> and <span class="type">G_FILE_ERROR</span> domains.
|
143
145
|
</p>
|
144
|
-
<div class="variablelist"><table border="0">
|
146
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
147
|
+
<colgroup>
|
145
148
|
<col align="left" valign="top">
|
149
|
+
<col>
|
150
|
+
</colgroup>
|
146
151
|
<tbody>
|
147
152
|
<tr>
|
148
153
|
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
@@ -154,7 +159,7 @@ are in the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIX
|
|
154
159
|
</tr>
|
155
160
|
<tr>
|
156
161
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
157
|
-
<td>A newly-created animation with a reference count of 1, or <a href="/
|
162
|
+
<td>A newly-created animation with a reference count of 1, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
158
163
|
if any of several error conditions ocurred: the file could not be opened,
|
159
164
|
there was no loader for the file's format, there was not enough memory to
|
160
165
|
allocate the image buffer, or the image file contained invalid data.</td>
|
@@ -173,8 +178,11 @@ allocate the image buffer, or the image file contained invalid data.</td>
|
|
173
178
|
<p>
|
174
179
|
Adds a reference to an animation.
|
175
180
|
</p>
|
176
|
-
<div class="variablelist"><table border="0">
|
181
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
182
|
+
<colgroup>
|
177
183
|
<col align="left" valign="top">
|
184
|
+
<col>
|
185
|
+
</colgroup>
|
178
186
|
<tbody>
|
179
187
|
<tr>
|
180
188
|
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
@@ -198,8 +206,11 @@ Adds a reference to an animation.
|
|
198
206
|
<p>
|
199
207
|
Removes a reference from an animation.
|
200
208
|
</p>
|
201
|
-
<div class="variablelist"><table border="0">
|
209
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
210
|
+
<colgroup>
|
202
211
|
<col align="left" valign="top">
|
212
|
+
<col>
|
213
|
+
</colgroup>
|
203
214
|
<tbody><tr>
|
204
215
|
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
205
216
|
<td>An animation.</td>
|
@@ -213,8 +224,11 @@ Removes a reference from an animation.
|
|
213
224
|
<p>
|
214
225
|
Queries the width of the bounding box of a pixbuf animation.
|
215
226
|
</p>
|
216
|
-
<div class="variablelist"><table border="0">
|
227
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
228
|
+
<colgroup>
|
217
229
|
<col align="left" valign="top">
|
230
|
+
<col>
|
231
|
+
</colgroup>
|
218
232
|
<tbody>
|
219
233
|
<tr>
|
220
234
|
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
@@ -234,8 +248,11 @@ Queries the width of the bounding box of a pixbuf animation.
|
|
234
248
|
<p>
|
235
249
|
Queries the height of the bounding box of a pixbuf animation.
|
236
250
|
</p>
|
237
|
-
<div class="variablelist"><table border="0">
|
251
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
252
|
+
<colgroup>
|
238
253
|
<col align="left" valign="top">
|
254
|
+
<col>
|
255
|
+
</colgroup>
|
239
256
|
<tbody>
|
240
257
|
<tr>
|
241
258
|
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
@@ -270,7 +287,7 @@ the image is updated, you should reinstall the timeout with the new,
|
|
270
287
|
possibly-changed delay time.
|
271
288
|
</p>
|
272
289
|
<p>
|
273
|
-
As a shortcut, if <em class="parameter"><code>start_time</code></em> is <a href="/
|
290
|
+
As a shortcut, if <em class="parameter"><code>start_time</code></em> is <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, the result of
|
274
291
|
<code class="function">g_get_current_time()</code> will be used automatically.
|
275
292
|
</p>
|
276
293
|
<p>
|
@@ -293,8 +310,11 @@ area_updated signal.
|
|
293
310
|
<p>
|
294
311
|
A delay time of -1 is possible, indicating "infinite."
|
295
312
|
</p>
|
296
|
-
<div class="variablelist"><table border="0">
|
313
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
314
|
+
<colgroup>
|
297
315
|
<col align="left" valign="top">
|
316
|
+
<col>
|
317
|
+
</colgroup>
|
298
318
|
<tbody>
|
299
319
|
<tr>
|
300
320
|
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
@@ -303,7 +323,8 @@ A delay time of -1 is possible, indicating "infinite."
|
|
303
323
|
</tr>
|
304
324
|
<tr>
|
305
325
|
<td><p><span class="term"><em class="parameter"><code>start_time</code></em> :</span></p></td>
|
306
|
-
<td>time when the animation starts playing</
|
326
|
+
<td>time when the animation starts playing. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
327
|
+
</td>
|
307
328
|
</tr>
|
308
329
|
<tr>
|
309
330
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -319,13 +340,16 @@ A delay time of -1 is possible, indicating "infinite."
|
|
319
340
|
<pre class="programlisting"><span class="returnvalue">gboolean</span> gdk_pixbuf_animation_is_static_image
|
320
341
|
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>);</pre>
|
321
342
|
<p>
|
322
|
-
If you load a file with <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-new-from-file" title="gdk_pixbuf_animation_new_from_file"><code class="function">gdk_pixbuf_animation_new_from_file()</code></a> and it turns
|
343
|
+
If you load a file with <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-new-from-file" title="gdk_pixbuf_animation_new_from_file ()"><code class="function">gdk_pixbuf_animation_new_from_file()</code></a> and it turns
|
323
344
|
out to be a plain, unanimated image, then this function will return
|
324
345
|
<code class="literal">TRUE</code>. Use <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-get-static-image" title="gdk_pixbuf_animation_get_static_image ()"><code class="function">gdk_pixbuf_animation_get_static_image()</code></a> to retrieve
|
325
346
|
the image.
|
326
347
|
</p>
|
327
|
-
<div class="variablelist"><table border="0">
|
348
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
349
|
+
<colgroup>
|
328
350
|
<col align="left" valign="top">
|
351
|
+
<col>
|
352
|
+
</colgroup>
|
329
353
|
<tbody>
|
330
354
|
<tr>
|
331
355
|
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
@@ -351,10 +375,13 @@ this function returns that image. If the animation is an animation,
|
|
351
375
|
this function returns a reasonable thing to display as a static
|
352
376
|
unanimated image, which might be the first frame, or something more
|
353
377
|
sophisticated. If an animation hasn't loaded any frames yet, this
|
354
|
-
function will return <a href="/
|
378
|
+
function will return <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
355
379
|
</p>
|
356
|
-
<div class="variablelist"><table border="0">
|
380
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
381
|
+
<colgroup>
|
357
382
|
<col align="left" valign="top">
|
383
|
+
<col>
|
384
|
+
</colgroup>
|
358
385
|
<tbody>
|
359
386
|
<tr>
|
360
387
|
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
@@ -387,7 +414,7 @@ called. That is, you can't go backward in time; animations only
|
|
387
414
|
play forward.
|
388
415
|
</p>
|
389
416
|
<p>
|
390
|
-
As a shortcut, pass <a href="/
|
417
|
+
As a shortcut, pass <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> for the current time and <code class="function">g_get_current_time()</code>
|
391
418
|
will be invoked on your behalf. So you only need to explicitly pass
|
392
419
|
<em class="parameter"><code>current_time</code></em> if you're doing something odd like playing the animation
|
393
420
|
at double speed.
|
@@ -395,11 +422,14 @@ at double speed.
|
|
395
422
|
<p>
|
396
423
|
If this function returns <code class="literal">FALSE</code>, there's no need to update the animation
|
397
424
|
display, assuming the display had been rendered prior to advancing;
|
398
|
-
if <code class="literal">TRUE</code>, you need to call <code class="function">
|
399
|
-
display with the new pixbuf.
|
425
|
+
if <code class="literal">TRUE</code>, you need to call <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-iter-get-pixbuf" title="gdk_pixbuf_animation_iter_get_pixbuf ()"><code class="function">gdk_pixbuf_animation_iter_get_pixbuf()</code></a>
|
426
|
+
and update the display with the new pixbuf.
|
400
427
|
</p>
|
401
|
-
<div class="variablelist"><table border="0">
|
428
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
429
|
+
<colgroup>
|
402
430
|
<col align="left" valign="top">
|
431
|
+
<col>
|
432
|
+
</colgroup>
|
403
433
|
<tbody>
|
404
434
|
<tr>
|
405
435
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
@@ -408,7 +438,8 @@ display with the new pixbuf.
|
|
408
438
|
</tr>
|
409
439
|
<tr>
|
410
440
|
<td><p><span class="term"><em class="parameter"><code>current_time</code></em> :</span></p></td>
|
411
|
-
<td>current time</
|
441
|
+
<td>current time. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
442
|
+
</td>
|
412
443
|
</tr>
|
413
444
|
<tr>
|
414
445
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -429,8 +460,11 @@ or -1 if the current pixbuf should be displayed forever. <code class="function">
|
|
429
460
|
conveniently takes a timeout in milliseconds, so you can use a timeout
|
430
461
|
to schedule the next update.
|
431
462
|
</p>
|
432
|
-
<div class="variablelist"><table border="0">
|
463
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
464
|
+
<colgroup>
|
433
465
|
<col align="left" valign="top">
|
466
|
+
<col>
|
467
|
+
</colgroup>
|
434
468
|
<tbody>
|
435
469
|
<tr>
|
436
470
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
@@ -455,8 +489,11 @@ for an area of the frame currently streaming in to the loader. So if
|
|
455
489
|
you're on the currently loading frame, you need to redraw the screen for
|
456
490
|
the updated area.
|
457
491
|
</p>
|
458
|
-
<div class="variablelist"><table border="0">
|
492
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
493
|
+
<colgroup>
|
459
494
|
<col align="left" valign="top">
|
495
|
+
<col>
|
496
|
+
</colgroup>
|
460
497
|
<tbody>
|
461
498
|
<tr>
|
462
499
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
@@ -477,7 +514,7 @@ the updated area.
|
|
477
514
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gdk_pixbuf_animation_iter_get_pixbuf
|
478
515
|
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a> *iter</code></em>);</pre>
|
479
516
|
<p>
|
480
|
-
Gets the current pixbuf which should be displayed; the pixbuf
|
517
|
+
Gets the current pixbuf which should be displayed; the pixbuf might not
|
481
518
|
be the same size as the animation itself
|
482
519
|
(<a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-get-width" title="gdk_pixbuf_animation_get_width ()"><code class="function">gdk_pixbuf_animation_get_width()</code></a>, <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-get-height" title="gdk_pixbuf_animation_get_height ()"><code class="function">gdk_pixbuf_animation_get_height()</code></a>).
|
483
520
|
This pixbuf should be displayed for
|
@@ -489,8 +526,11 @@ to the next frame, which may happen anytime you call
|
|
489
526
|
(don't just add a reference), as it may get recycled as you advance
|
490
527
|
the iterator.
|
491
528
|
</p>
|
492
|
-
<div class="variablelist"><table border="0">
|
529
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
530
|
+
<colgroup>
|
493
531
|
<col align="left" valign="top">
|
532
|
+
<col>
|
533
|
+
</colgroup>
|
494
534
|
<tbody>
|
495
535
|
<tr>
|
496
536
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
@@ -521,8 +561,11 @@ An opaque struct representing a simple animation.
|
|
521
561
|
<p>
|
522
562
|
Creates a new, empty animation.
|
523
563
|
</p>
|
524
|
-
<div class="variablelist"><table border="0">
|
564
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
565
|
+
<colgroup>
|
525
566
|
<col align="left" valign="top">
|
567
|
+
<col>
|
568
|
+
</colgroup>
|
526
569
|
<tbody>
|
527
570
|
<tr>
|
528
571
|
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
@@ -555,8 +598,11 @@ Adds a new frame to <em class="parameter"><code>animation</code></em>. The <em c
|
|
555
598
|
have the dimensions specified when the animation
|
556
599
|
was constructed.
|
557
600
|
</p>
|
558
|
-
<div class="variablelist"><table border="0">
|
601
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
602
|
+
<colgroup>
|
559
603
|
<col align="left" valign="top">
|
604
|
+
<col>
|
605
|
+
</colgroup>
|
560
606
|
<tbody>
|
561
607
|
<tr>
|
562
608
|
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
@@ -579,8 +625,11 @@ was constructed.
|
|
579
625
|
<p>
|
580
626
|
Sets whether <em class="parameter"><code>animation</code></em> should loop indefinitely when it reaches the end.
|
581
627
|
</p>
|
582
|
-
<div class="variablelist"><table border="0">
|
628
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
629
|
+
<colgroup>
|
583
630
|
<col align="left" valign="top">
|
631
|
+
<col>
|
632
|
+
</colgroup>
|
584
633
|
<tbody>
|
585
634
|
<tr>
|
586
635
|
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
@@ -602,8 +651,11 @@ Sets whether <em class="parameter"><code>animation</code></em> should loop indef
|
|
602
651
|
<p>
|
603
652
|
Gets whether <em class="parameter"><code>animation</code></em> should loop indefinitely when it reaches the end.
|
604
653
|
</p>
|
605
|
-
<div class="variablelist"><table border="0">
|
654
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
655
|
+
<colgroup>
|
606
656
|
<col align="left" valign="top">
|
657
|
+
<col>
|
658
|
+
</colgroup>
|
607
659
|
<tbody>
|
608
660
|
<tr>
|
609
661
|
<td><p><span class="term"><em class="parameter"><code>animation</code></em> :</span></p></td>
|
@@ -639,6 +691,6 @@ Whether the animation should loop when it reaches the end.
|
|
639
691
|
</div>
|
640
692
|
<div class="footer">
|
641
693
|
<hr>
|
642
|
-
Generated by GTK-Doc V1.
|
694
|
+
Generated by GTK-Doc V1.18</div>
|
643
695
|
</body>
|
644
696
|
</html>
|
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>File Loading</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
|
7
7
|
<link rel="home" href="index.html" title="GDK-PixBuf Reference Manual">
|
8
8
|
<link rel="up" href="rn01.html" title="API Reference">
|
9
9
|
<link rel="prev" href="gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html" title="Reference Counting and Memory Mangement">
|
10
10
|
<link rel="next" href="gdk-pixbuf-File-saving.html" title="File saving">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -40,27 +40,57 @@
|
|
40
40
|
<pre class="synopsis">
|
41
41
|
#include <gdk-pixbuf/gdk-pixbuf.h>
|
42
42
|
|
43
|
-
#
|
44
|
-
|
45
|
-
#
|
43
|
+
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-file" title="gdk_pixbuf_new_from_file ()">gdk_pixbuf_new_from_file</a> (<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
|
44
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
45
|
+
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-file-at-size" title="gdk_pixbuf_new_from_file_at_size ()">gdk_pixbuf_new_from_file_at_size</a> (<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
|
46
|
+
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
47
|
+
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
48
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
49
|
+
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-file-at-scale" title="gdk_pixbuf_new_from_file_at_scale ()">gdk_pixbuf_new_from_file_at_scale</a> (<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
|
50
|
+
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
51
|
+
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
52
|
+
<em class="parameter"><code><span class="type">gboolean</span> preserve_aspect_ratio</code></em>,
|
53
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
46
54
|
<a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="returnvalue">GdkPixbufFormat</span></a> * <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-get-file-info" title="gdk_pixbuf_get_file_info ()">gdk_pixbuf_get_file_info</a> (<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>,
|
47
55
|
<em class="parameter"><code><span class="type">gint</span> *width</code></em>,
|
48
56
|
<em class="parameter"><code><span class="type">gint</span> *height</code></em>);
|
57
|
+
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-resource" title="gdk_pixbuf_new_from_resource ()">gdk_pixbuf_new_from_resource</a> (<em class="parameter"><code>const <span class="type">char</span> *resource_path</code></em>,
|
58
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
59
|
+
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-resource-at-scale" title="gdk_pixbuf_new_from_resource_at_scale ()">gdk_pixbuf_new_from_resource_at_scale</a>
|
60
|
+
(<em class="parameter"><code>const <span class="type">char</span> *resource_path</code></em>,
|
61
|
+
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
62
|
+
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
63
|
+
<em class="parameter"><code><span class="type">gboolean</span> preserve_aspect_ratio</code></em>,
|
64
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
49
65
|
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-stream" title="gdk_pixbuf_new_from_stream ()">gdk_pixbuf_new_from_stream</a> (<em class="parameter"><code><span class="type">GInputStream</span> *stream</code></em>,
|
50
66
|
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
|
51
67
|
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
68
|
+
<span class="returnvalue">void</span> <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-stream-async" title="gdk_pixbuf_new_from_stream_async ()">gdk_pixbuf_new_from_stream_async</a> (<em class="parameter"><code><span class="type">GInputStream</span> *stream</code></em>,
|
69
|
+
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
|
70
|
+
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
|
71
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
|
72
|
+
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-stream-finish" title="gdk_pixbuf_new_from_stream_finish ()">gdk_pixbuf_new_from_stream_finish</a> (<em class="parameter"><code><span class="type">GAsyncResult</span> *async_result</code></em>,
|
73
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
52
74
|
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-stream-at-scale" title="gdk_pixbuf_new_from_stream_at_scale ()">gdk_pixbuf_new_from_stream_at_scale</a> (<em class="parameter"><code><span class="type">GInputStream</span> *stream</code></em>,
|
53
75
|
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
54
76
|
<em class="parameter"><code><span class="type">gint</span> height</code></em>,
|
55
77
|
<em class="parameter"><code><span class="type">gboolean</span> preserve_aspect_ratio</code></em>,
|
56
78
|
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
|
57
79
|
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
80
|
+
<span class="returnvalue">void</span> <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-stream-at-scale-async" title="gdk_pixbuf_new_from_stream_at_scale_async ()">gdk_pixbuf_new_from_stream_at_scale_async</a>
|
81
|
+
(<em class="parameter"><code><span class="type">GInputStream</span> *stream</code></em>,
|
82
|
+
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
83
|
+
<em class="parameter"><code><span class="type">gint</span> height</code></em>,
|
84
|
+
<em class="parameter"><code><span class="type">gboolean</span> preserve_aspect_ratio</code></em>,
|
85
|
+
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
|
86
|
+
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
|
87
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
|
58
88
|
</pre>
|
59
89
|
</div>
|
60
90
|
<div class="refsect1">
|
61
91
|
<a name="gdk-pixbuf-File-Loading.description"></a><h2>Description</h2>
|
62
92
|
<p>
|
63
|
-
The
|
93
|
+
The GdkPixBuf library provides a simple mechanism for loading
|
64
94
|
an image from a file in synchronous fashion. This means that the
|
65
95
|
library takes control of the application while the file is being
|
66
96
|
loaded; from the user's point of view, the application will block
|
@@ -76,16 +106,19 @@ loading can use the <a class="link" href="GdkPixbufLoader.html" title="GdkPixbuf
|
|
76
106
|
<div class="refsect1">
|
77
107
|
<a name="gdk-pixbuf-File-Loading.details"></a><h2>Details</h2>
|
78
108
|
<div class="refsect2">
|
79
|
-
<a name="gdk-pixbuf-new-from-file"></a><h3>gdk_pixbuf_new_from_file</h3>
|
80
|
-
<pre class="programlisting"
|
81
|
-
</pre>
|
109
|
+
<a name="gdk-pixbuf-new-from-file"></a><h3>gdk_pixbuf_new_from_file ()</h3>
|
110
|
+
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gdk_pixbuf_new_from_file (<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
|
111
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
82
112
|
<p>
|
83
113
|
Creates a new pixbuf by loading an image from a file. The file format is
|
84
|
-
detected automatically. If <a href="/
|
114
|
+
detected automatically. If <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned, then <em class="parameter"><code>error</code></em> will be set.
|
85
115
|
Possible errors are in the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERROR:CAPS" title="GDK_PIXBUF_ERROR"><span class="type">GDK_PIXBUF_ERROR</span></a> and <span class="type">G_FILE_ERROR</span> domains.
|
86
116
|
</p>
|
87
|
-
<div class="variablelist"><table border="0">
|
117
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
118
|
+
<colgroup>
|
88
119
|
<col align="left" valign="top">
|
120
|
+
<col>
|
121
|
+
</colgroup>
|
89
122
|
<tbody>
|
90
123
|
<tr>
|
91
124
|
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
@@ -97,7 +130,7 @@ Possible errors are in the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Struct
|
|
97
130
|
</tr>
|
98
131
|
<tr>
|
99
132
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
100
|
-
<td>A newly-created pixbuf with a reference count of 1, or <a href="/
|
133
|
+
<td>A newly-created pixbuf with a reference count of 1, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if
|
101
134
|
any of several error conditions occurred: the file could not be opened,
|
102
135
|
there was no loader for the file's format, there was not enough memory to
|
103
136
|
allocate the image buffer, or the image file contained invalid data.</td>
|
@@ -107,12 +140,14 @@ allocate the image buffer, or the image file contained invalid data.</td>
|
|
107
140
|
</div>
|
108
141
|
<hr>
|
109
142
|
<div class="refsect2">
|
110
|
-
<a name="gdk-pixbuf-new-from-file-at-size"></a><h3>gdk_pixbuf_new_from_file_at_size</h3>
|
111
|
-
<pre class="programlisting"
|
112
|
-
</
|
143
|
+
<a name="gdk-pixbuf-new-from-file-at-size"></a><h3>gdk_pixbuf_new_from_file_at_size ()</h3>
|
144
|
+
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gdk_pixbuf_new_from_file_at_size (<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
|
145
|
+
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
146
|
+
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
147
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
113
148
|
<p>
|
114
149
|
Creates a new pixbuf by loading an image from a file.
|
115
|
-
The file format is detected automatically. If <a href="/
|
150
|
+
The file format is detected automatically. If <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned, then
|
116
151
|
<em class="parameter"><code>error</code></em> will be set. Possible errors are in the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERROR:CAPS" title="GDK_PIXBUF_ERROR"><span class="type">GDK_PIXBUF_ERROR</span></a> and
|
117
152
|
<span class="type">G_FILE_ERROR</span> domains.
|
118
153
|
</p>
|
@@ -121,10 +156,13 @@ The image will be scaled to fit in the requested size, preserving
|
|
121
156
|
the image's aspect ratio. Note that the returned pixbuf may be smaller
|
122
157
|
than <em class="parameter"><code>width</code></em> x <em class="parameter"><code>height</code></em>, if the aspect ratio requires it. To load
|
123
158
|
and image at the requested size, regardless of aspect ratio, use
|
124
|
-
<a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-file-at-scale" title="gdk_pixbuf_new_from_file_at_scale"><code class="function">gdk_pixbuf_new_from_file_at_scale()</code></a>.
|
159
|
+
<a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-file-at-scale" title="gdk_pixbuf_new_from_file_at_scale ()"><code class="function">gdk_pixbuf_new_from_file_at_scale()</code></a>.
|
125
160
|
</p>
|
126
|
-
<div class="variablelist"><table border="0">
|
161
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
162
|
+
<colgroup>
|
127
163
|
<col align="left" valign="top">
|
164
|
+
<col>
|
165
|
+
</colgroup>
|
128
166
|
<tbody>
|
129
167
|
<tr>
|
130
168
|
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
@@ -145,7 +183,7 @@ and image at the requested size, regardless of aspect ratio, use
|
|
145
183
|
<tr>
|
146
184
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
147
185
|
<td>A newly-created pixbuf with a reference count of 1, or
|
148
|
-
<a href="/
|
186
|
+
<a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if any of several error conditions occurred: the file could not
|
149
187
|
be opened, there was no loader for the file's format, there was not
|
150
188
|
enough memory to allocate the image buffer, or the image file contained
|
151
189
|
invalid data.</td>
|
@@ -156,12 +194,15 @@ invalid data.</td>
|
|
156
194
|
</div>
|
157
195
|
<hr>
|
158
196
|
<div class="refsect2">
|
159
|
-
<a name="gdk-pixbuf-new-from-file-at-scale"></a><h3>gdk_pixbuf_new_from_file_at_scale</h3>
|
160
|
-
<pre class="programlisting"
|
161
|
-
</
|
197
|
+
<a name="gdk-pixbuf-new-from-file-at-scale"></a><h3>gdk_pixbuf_new_from_file_at_scale ()</h3>
|
198
|
+
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gdk_pixbuf_new_from_file_at_scale (<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
|
199
|
+
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
200
|
+
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
201
|
+
<em class="parameter"><code><span class="type">gboolean</span> preserve_aspect_ratio</code></em>,
|
202
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
162
203
|
<p>
|
163
204
|
Creates a new pixbuf by loading an image from a file. The file format is
|
164
|
-
detected automatically. If <a href="/
|
205
|
+
detected automatically. If <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned, then <em class="parameter"><code>error</code></em> will be set.
|
165
206
|
Possible errors are in the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERROR:CAPS" title="GDK_PIXBUF_ERROR"><span class="type">GDK_PIXBUF_ERROR</span></a> and <span class="type">G_FILE_ERROR</span> domains.
|
166
207
|
The image will be scaled to fit in the requested size, optionally preserving
|
167
208
|
the image's aspect ratio.
|
@@ -174,8 +215,11 @@ aspect ratio, a <em class="parameter"><code>width</code></em> or <em class="para
|
|
174
215
|
at all in that dimension. Negative values for <em class="parameter"><code>width</code></em> and <em class="parameter"><code>height</code></em> are
|
175
216
|
allowed since 2.8.
|
176
217
|
</p>
|
177
|
-
<div class="variablelist"><table border="0">
|
218
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
219
|
+
<colgroup>
|
178
220
|
<col align="left" valign="top">
|
221
|
+
<col>
|
222
|
+
</colgroup>
|
179
223
|
<tbody>
|
180
224
|
<tr>
|
181
225
|
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
@@ -200,7 +244,7 @@ allowed since 2.8.
|
|
200
244
|
</tr>
|
201
245
|
<tr>
|
202
246
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
203
|
-
<td>A newly-created pixbuf with a reference count of 1, or <a href="/
|
247
|
+
<td>A newly-created pixbuf with a reference count of 1, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
204
248
|
if any of several error conditions occurred: the file could not be opened,
|
205
249
|
there was no loader for the file's format, there was not enough memory to
|
206
250
|
allocate the image buffer, or the image file contained invalid data.</td>
|
@@ -218,8 +262,11 @@ allocate the image buffer, or the image file contained invalid data.</td>
|
|
218
262
|
<p>
|
219
263
|
Parses an image file far enough to determine its format and size.
|
220
264
|
</p>
|
221
|
-
<div class="variablelist"><table border="0">
|
265
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
266
|
+
<colgroup>
|
222
267
|
<col align="left" valign="top">
|
268
|
+
<col>
|
269
|
+
</colgroup>
|
223
270
|
<tbody>
|
224
271
|
<tr>
|
225
272
|
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
@@ -227,19 +274,21 @@ Parses an image file far enough to determine its format and size.
|
|
227
274
|
</tr>
|
228
275
|
<tr>
|
229
276
|
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
230
|
-
<td>Return location for the width of the image, or <a href="/
|
277
|
+
<td>Return location for the width of the image, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
231
278
|
</td>
|
232
279
|
</tr>
|
233
280
|
<tr>
|
234
281
|
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
235
|
-
<td>Return location for the height of the image, or <a href="/
|
282
|
+
<td>Return location for the height of the image, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
236
283
|
</td>
|
237
284
|
</tr>
|
238
285
|
<tr>
|
239
286
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
240
|
-
<td>A <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> describing the image
|
241
|
-
or <a href="/
|
242
|
-
is owned by GdkPixbuf and should
|
287
|
+
<td>A <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> describing the image
|
288
|
+
format of the file or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if the image format wasn't
|
289
|
+
recognized. The return value is owned by GdkPixbuf and should
|
290
|
+
not be freed. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
291
|
+
</td>
|
243
292
|
</tr>
|
244
293
|
</tbody>
|
245
294
|
</table></div>
|
@@ -247,6 +296,108 @@ is owned by GdkPixbuf and should not be freed.</td>
|
|
247
296
|
</div>
|
248
297
|
<hr>
|
249
298
|
<div class="refsect2">
|
299
|
+
<a name="gdk-pixbuf-new-from-resource"></a><h3>gdk_pixbuf_new_from_resource ()</h3>
|
300
|
+
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gdk_pixbuf_new_from_resource (<em class="parameter"><code>const <span class="type">char</span> *resource_path</code></em>,
|
301
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
302
|
+
<p>
|
303
|
+
Creates a new pixbuf by loading an image from an resource.
|
304
|
+
</p>
|
305
|
+
<p>
|
306
|
+
The file format is detected automatically. If <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned, then
|
307
|
+
<em class="parameter"><code>error</code></em> will be set.
|
308
|
+
</p>
|
309
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
310
|
+
<colgroup>
|
311
|
+
<col align="left" valign="top">
|
312
|
+
<col>
|
313
|
+
</colgroup>
|
314
|
+
<tbody>
|
315
|
+
<tr>
|
316
|
+
<td><p><span class="term"><em class="parameter"><code>resource_path</code></em> :</span></p></td>
|
317
|
+
<td>the path of the resource file</td>
|
318
|
+
</tr>
|
319
|
+
<tr>
|
320
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
321
|
+
<td>Return location for an error</td>
|
322
|
+
</tr>
|
323
|
+
<tr>
|
324
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
325
|
+
<td>A newly-created pixbuf, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if any of several error
|
326
|
+
conditions occurred: the file could not be opened, the image format is
|
327
|
+
not supported, there was not enough memory to allocate the image buffer,
|
328
|
+
the stream contained invalid data, or the operation was cancelled.</td>
|
329
|
+
</tr>
|
330
|
+
</tbody>
|
331
|
+
</table></div>
|
332
|
+
<p class="since">Since 2.26</p>
|
333
|
+
</div>
|
334
|
+
<hr>
|
335
|
+
<div class="refsect2">
|
336
|
+
<a name="gdk-pixbuf-new-from-resource-at-scale"></a><h3>gdk_pixbuf_new_from_resource_at_scale ()</h3>
|
337
|
+
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gdk_pixbuf_new_from_resource_at_scale
|
338
|
+
(<em class="parameter"><code>const <span class="type">char</span> *resource_path</code></em>,
|
339
|
+
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
340
|
+
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
341
|
+
<em class="parameter"><code><span class="type">gboolean</span> preserve_aspect_ratio</code></em>,
|
342
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
343
|
+
<p>
|
344
|
+
Creates a new pixbuf by loading an image from an resource.
|
345
|
+
</p>
|
346
|
+
<p>
|
347
|
+
The file format is detected automatically. If <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned, then
|
348
|
+
<em class="parameter"><code>error</code></em> will be set.
|
349
|
+
</p>
|
350
|
+
<p>
|
351
|
+
The image will be scaled to fit in the requested size, optionally
|
352
|
+
preserving the image's aspect ratio. When preserving the aspect ratio,
|
353
|
+
a <em class="parameter"><code>width</code></em> of -1 will cause the image to be scaled to the exact given
|
354
|
+
height, and a <em class="parameter"><code>height</code></em> of -1 will cause the image to be scaled to the
|
355
|
+
exact given width. When not preserving aspect ratio, a <em class="parameter"><code>width</code></em> or
|
356
|
+
<em class="parameter"><code>height</code></em> of -1 means to not scale the image at all in that dimension.
|
357
|
+
</p>
|
358
|
+
<p>
|
359
|
+
The stream is not closed.
|
360
|
+
</p>
|
361
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
362
|
+
<colgroup>
|
363
|
+
<col align="left" valign="top">
|
364
|
+
<col>
|
365
|
+
</colgroup>
|
366
|
+
<tbody>
|
367
|
+
<tr>
|
368
|
+
<td><p><span class="term"><em class="parameter"><code>resource_path</code></em> :</span></p></td>
|
369
|
+
<td>the path of the resource file</td>
|
370
|
+
</tr>
|
371
|
+
<tr>
|
372
|
+
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
373
|
+
<td>The width the image should have or -1 to not constrain the width</td>
|
374
|
+
</tr>
|
375
|
+
<tr>
|
376
|
+
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
377
|
+
<td>The height the image should have or -1 to not constrain the height</td>
|
378
|
+
</tr>
|
379
|
+
<tr>
|
380
|
+
<td><p><span class="term"><em class="parameter"><code>preserve_aspect_ratio</code></em> :</span></p></td>
|
381
|
+
<td>
|
382
|
+
<code class="literal">TRUE</code> to preserve the image's aspect ratio</td>
|
383
|
+
</tr>
|
384
|
+
<tr>
|
385
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
386
|
+
<td>Return location for an error</td>
|
387
|
+
</tr>
|
388
|
+
<tr>
|
389
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
390
|
+
<td>A newly-created pixbuf, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if any of several error
|
391
|
+
conditions occurred: the file could not be opened, the image format is
|
392
|
+
not supported, there was not enough memory to allocate the image buffer,
|
393
|
+
the stream contained invalid data, or the operation was cancelled.</td>
|
394
|
+
</tr>
|
395
|
+
</tbody>
|
396
|
+
</table></div>
|
397
|
+
<p class="since">Since 2.26</p>
|
398
|
+
</div>
|
399
|
+
<hr>
|
400
|
+
<div class="refsect2">
|
250
401
|
<a name="gdk-pixbuf-new-from-stream"></a><h3>gdk_pixbuf_new_from_stream ()</h3>
|
251
402
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gdk_pixbuf_new_from_stream (<em class="parameter"><code><span class="type">GInputStream</span> *stream</code></em>,
|
252
403
|
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
|
@@ -255,17 +406,20 @@ is owned by GdkPixbuf and should not be freed.</td>
|
|
255
406
|
Creates a new pixbuf by loading an image from an input stream.
|
256
407
|
</p>
|
257
408
|
<p>
|
258
|
-
The file format is detected automatically. If <a href="/
|
409
|
+
The file format is detected automatically. If <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned, then
|
259
410
|
<em class="parameter"><code>error</code></em> will be set. The <em class="parameter"><code>cancellable</code></em> can be used to abort the operation
|
260
411
|
from another thread. If the operation was cancelled, the error
|
261
|
-
<code class="literal">
|
412
|
+
<code class="literal">G_IO_ERROR_CANCELLED</code> will be returned. Other possible errors are in
|
262
413
|
the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERROR:CAPS" title="GDK_PIXBUF_ERROR"><span class="type">GDK_PIXBUF_ERROR</span></a> and <code class="literal">G_IO_ERROR</code> domains.
|
263
414
|
</p>
|
264
415
|
<p>
|
265
416
|
The stream is not closed.
|
266
417
|
</p>
|
267
|
-
<div class="variablelist"><table border="0">
|
418
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
419
|
+
<colgroup>
|
268
420
|
<col align="left" valign="top">
|
421
|
+
<col>
|
422
|
+
</colgroup>
|
269
423
|
<tbody>
|
270
424
|
<tr>
|
271
425
|
<td><p><span class="term"><em class="parameter"><code>stream</code></em> :</span></p></td>
|
@@ -273,7 +427,8 @@ The stream is not closed.
|
|
273
427
|
</tr>
|
274
428
|
<tr>
|
275
429
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
276
|
-
<td>optional <span class="type">GCancellable</span> object, <a href="/
|
430
|
+
<td>optional <span class="type">GCancellable</span> object, <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
431
|
+
</td>
|
277
432
|
</tr>
|
278
433
|
<tr>
|
279
434
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
@@ -281,7 +436,7 @@ The stream is not closed.
|
|
281
436
|
</tr>
|
282
437
|
<tr>
|
283
438
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
284
|
-
<td>A newly-created pixbuf, or <a href="/
|
439
|
+
<td>A newly-created pixbuf, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if any of several error
|
285
440
|
conditions occurred: the file could not be opened, the image format is
|
286
441
|
not supported, there was not enough memory to allocate the image buffer,
|
287
442
|
the stream contained invalid data, or the operation was cancelled.</td>
|
@@ -292,6 +447,85 @@ the stream contained invalid data, or the operation was cancelled.</td>
|
|
292
447
|
</div>
|
293
448
|
<hr>
|
294
449
|
<div class="refsect2">
|
450
|
+
<a name="gdk-pixbuf-new-from-stream-async"></a><h3>gdk_pixbuf_new_from_stream_async ()</h3>
|
451
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gdk_pixbuf_new_from_stream_async (<em class="parameter"><code><span class="type">GInputStream</span> *stream</code></em>,
|
452
|
+
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
|
453
|
+
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
|
454
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
|
455
|
+
<p>
|
456
|
+
Creates a new pixbuf by asynchronously loading an image from an input stream.
|
457
|
+
</p>
|
458
|
+
<p>
|
459
|
+
For more details see <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-stream" title="gdk_pixbuf_new_from_stream ()"><code class="function">gdk_pixbuf_new_from_stream()</code></a>, which is the synchronous
|
460
|
+
version of this function.
|
461
|
+
</p>
|
462
|
+
<p>
|
463
|
+
When the operation is finished, <em class="parameter"><code>callback</code></em> will be called in the main thread.
|
464
|
+
You can then call <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-stream-finish" title="gdk_pixbuf_new_from_stream_finish ()"><code class="function">gdk_pixbuf_new_from_stream_finish()</code></a> to get the result of the operation.
|
465
|
+
</p>
|
466
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
467
|
+
<colgroup>
|
468
|
+
<col align="left" valign="top">
|
469
|
+
<col>
|
470
|
+
</colgroup>
|
471
|
+
<tbody>
|
472
|
+
<tr>
|
473
|
+
<td><p><span class="term"><em class="parameter"><code>stream</code></em> :</span></p></td>
|
474
|
+
<td>a <span class="type">GInputStream</span> from which to load the pixbuf</td>
|
475
|
+
</tr>
|
476
|
+
<tr>
|
477
|
+
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
478
|
+
<td>optional <span class="type">GCancellable</span> object, <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
479
|
+
</td>
|
480
|
+
</tr>
|
481
|
+
<tr>
|
482
|
+
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
|
483
|
+
<td>a <span class="type">GAsyncReadyCallback</span> to call when the the pixbuf is loaded</td>
|
484
|
+
</tr>
|
485
|
+
<tr>
|
486
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
487
|
+
<td>the data to pass to the callback function</td>
|
488
|
+
</tr>
|
489
|
+
</tbody>
|
490
|
+
</table></div>
|
491
|
+
<p class="since">Since 2.24</p>
|
492
|
+
</div>
|
493
|
+
<hr>
|
494
|
+
<div class="refsect2">
|
495
|
+
<a name="gdk-pixbuf-new-from-stream-finish"></a><h3>gdk_pixbuf_new_from_stream_finish ()</h3>
|
496
|
+
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gdk_pixbuf_new_from_stream_finish (<em class="parameter"><code><span class="type">GAsyncResult</span> *async_result</code></em>,
|
497
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
498
|
+
<p>
|
499
|
+
Finishes an asynchronous pixbuf creation operation started with
|
500
|
+
<a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-stream-async" title="gdk_pixbuf_new_from_stream_async ()"><code class="function">gdk_pixbuf_new_from_stream_async()</code></a>.
|
501
|
+
</p>
|
502
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
503
|
+
<colgroup>
|
504
|
+
<col align="left" valign="top">
|
505
|
+
<col>
|
506
|
+
</colgroup>
|
507
|
+
<tbody>
|
508
|
+
<tr>
|
509
|
+
<td><p><span class="term"><em class="parameter"><code>async_result</code></em> :</span></p></td>
|
510
|
+
<td>a <span class="type">GAsyncResult</span>
|
511
|
+
</td>
|
512
|
+
</tr>
|
513
|
+
<tr>
|
514
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
515
|
+
<td>a <span class="type">GError</span>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
516
|
+
</td>
|
517
|
+
</tr>
|
518
|
+
<tr>
|
519
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
520
|
+
<td>a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. Free the returned
|
521
|
+
object with <code class="function">g_object_unref()</code>.</td>
|
522
|
+
</tr>
|
523
|
+
</tbody>
|
524
|
+
</table></div>
|
525
|
+
<p class="since">Since 2.24</p>
|
526
|
+
</div>
|
527
|
+
<hr>
|
528
|
+
<div class="refsect2">
|
295
529
|
<a name="gdk-pixbuf-new-from-stream-at-scale"></a><h3>gdk_pixbuf_new_from_stream_at_scale ()</h3>
|
296
530
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gdk_pixbuf_new_from_stream_at_scale (<em class="parameter"><code><span class="type">GInputStream</span> *stream</code></em>,
|
297
531
|
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
@@ -303,10 +537,10 @@ the stream contained invalid data, or the operation was cancelled.</td>
|
|
303
537
|
Creates a new pixbuf by loading an image from an input stream.
|
304
538
|
</p>
|
305
539
|
<p>
|
306
|
-
The file format is detected automatically. If <a href="/
|
540
|
+
The file format is detected automatically. If <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned, then
|
307
541
|
<em class="parameter"><code>error</code></em> will be set. The <em class="parameter"><code>cancellable</code></em> can be used to abort the operation
|
308
542
|
from another thread. If the operation was cancelled, the error
|
309
|
-
<code class="literal">
|
543
|
+
<code class="literal">G_IO_ERROR_CANCELLED</code> will be returned. Other possible errors are in
|
310
544
|
the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERROR:CAPS" title="GDK_PIXBUF_ERROR"><span class="type">GDK_PIXBUF_ERROR</span></a> and <code class="literal">G_IO_ERROR</code> domains.
|
311
545
|
</p>
|
312
546
|
<p>
|
@@ -320,8 +554,11 @@ exact given width. When not preserving aspect ratio, a <em class="parameter"><co
|
|
320
554
|
<p>
|
321
555
|
The stream is not closed.
|
322
556
|
</p>
|
323
|
-
<div class="variablelist"><table border="0">
|
557
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
558
|
+
<colgroup>
|
324
559
|
<col align="left" valign="top">
|
560
|
+
<col>
|
561
|
+
</colgroup>
|
325
562
|
<tbody>
|
326
563
|
<tr>
|
327
564
|
<td><p><span class="term"><em class="parameter"><code>stream</code></em> :</span></p></td>
|
@@ -342,7 +579,8 @@ The stream is not closed.
|
|
342
579
|
</tr>
|
343
580
|
<tr>
|
344
581
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
345
|
-
<td>optional <span class="type">GCancellable</span> object, <a href="/
|
582
|
+
<td>optional <span class="type">GCancellable</span> object, <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
583
|
+
</td>
|
346
584
|
</tr>
|
347
585
|
<tr>
|
348
586
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
@@ -350,7 +588,7 @@ The stream is not closed.
|
|
350
588
|
</tr>
|
351
589
|
<tr>
|
352
590
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
353
|
-
<td>A newly-created pixbuf, or <a href="/
|
591
|
+
<td>A newly-created pixbuf, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if any of several error
|
354
592
|
conditions occurred: the file could not be opened, the image format is
|
355
593
|
not supported, there was not enough memory to allocate the image buffer,
|
356
594
|
the stream contained invalid data, or the operation was cancelled.</td>
|
@@ -359,6 +597,68 @@ the stream contained invalid data, or the operation was cancelled.</td>
|
|
359
597
|
</table></div>
|
360
598
|
<p class="since">Since 2.14</p>
|
361
599
|
</div>
|
600
|
+
<hr>
|
601
|
+
<div class="refsect2">
|
602
|
+
<a name="gdk-pixbuf-new-from-stream-at-scale-async"></a><h3>gdk_pixbuf_new_from_stream_at_scale_async ()</h3>
|
603
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gdk_pixbuf_new_from_stream_at_scale_async
|
604
|
+
(<em class="parameter"><code><span class="type">GInputStream</span> *stream</code></em>,
|
605
|
+
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
606
|
+
<em class="parameter"><code><span class="type">gint</span> height</code></em>,
|
607
|
+
<em class="parameter"><code><span class="type">gboolean</span> preserve_aspect_ratio</code></em>,
|
608
|
+
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
|
609
|
+
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
|
610
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
|
611
|
+
<p>
|
612
|
+
Creates a new pixbuf by asynchronously loading an image from an input stream.
|
613
|
+
</p>
|
614
|
+
<p>
|
615
|
+
For more details see <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-stream-at-scale" title="gdk_pixbuf_new_from_stream_at_scale ()"><code class="function">gdk_pixbuf_new_from_stream_at_scale()</code></a>, which is the synchronous
|
616
|
+
version of this function.
|
617
|
+
</p>
|
618
|
+
<p>
|
619
|
+
When the operation is finished, <em class="parameter"><code>callback</code></em> will be called in the main thread.
|
620
|
+
You can then call <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-stream-finish" title="gdk_pixbuf_new_from_stream_finish ()"><code class="function">gdk_pixbuf_new_from_stream_finish()</code></a> to get the result of the operation.
|
621
|
+
</p>
|
622
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
623
|
+
<colgroup>
|
624
|
+
<col align="left" valign="top">
|
625
|
+
<col>
|
626
|
+
</colgroup>
|
627
|
+
<tbody>
|
628
|
+
<tr>
|
629
|
+
<td><p><span class="term"><em class="parameter"><code>stream</code></em> :</span></p></td>
|
630
|
+
<td>a <span class="type">GInputStream</span> from which to load the pixbuf</td>
|
631
|
+
</tr>
|
632
|
+
<tr>
|
633
|
+
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
634
|
+
<td>the width the image should have or -1 to not constrain the width</td>
|
635
|
+
</tr>
|
636
|
+
<tr>
|
637
|
+
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
638
|
+
<td>the height the image should have or -1 to not constrain the height</td>
|
639
|
+
</tr>
|
640
|
+
<tr>
|
641
|
+
<td><p><span class="term"><em class="parameter"><code>preserve_aspect_ratio</code></em> :</span></p></td>
|
642
|
+
<td>
|
643
|
+
<code class="literal">TRUE</code> to preserve the image's aspect ratio</td>
|
644
|
+
</tr>
|
645
|
+
<tr>
|
646
|
+
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
647
|
+
<td>optional <span class="type">GCancellable</span> object, <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
648
|
+
</td>
|
649
|
+
</tr>
|
650
|
+
<tr>
|
651
|
+
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
|
652
|
+
<td>a <span class="type">GAsyncReadyCallback</span> to call when the the pixbuf is loaded</td>
|
653
|
+
</tr>
|
654
|
+
<tr>
|
655
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
656
|
+
<td>the data to pass to the callback function</td>
|
657
|
+
</tr>
|
658
|
+
</tbody>
|
659
|
+
</table></div>
|
660
|
+
<p class="since">Since 2.24</p>
|
661
|
+
</div>
|
362
662
|
</div>
|
363
663
|
<div class="refsect1">
|
364
664
|
<a name="gdk-pixbuf-File-Loading.see-also"></a><h2>See Also</h2>
|
@@ -367,6 +667,6 @@ the stream contained invalid data, or the operation was cancelled.</td>
|
|
367
667
|
</div>
|
368
668
|
<div class="footer">
|
369
669
|
<hr>
|
370
|
-
Generated by GTK-Doc V1.
|
670
|
+
Generated by GTK-Doc V1.18</div>
|
371
671
|
</body>
|
372
672
|
</html>
|