gdk_pixbuf2 2.1.0-x86-mingw32 → 2.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.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/lib/1.9/gdk_pixbuf2.so +0 -0
- data/lib/2.0/gdk_pixbuf2.so +0 -0
- data/lib/2.1/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 +1 -3
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +1 -3
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +2 -2
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h +1 -3
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h +1 -3
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h +1 -3
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h +1 -3
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h +1 -3
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h +1 -3
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache +1 -1
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll.a +0 -0
- data/vendor/local/lib/girepository-1.0/GdkPixbuf-2.0.typelib +0 -0
- data/vendor/local/lib/libgdk_pixbuf-2.0.dll.a +0 -0
- data/vendor/local/lib/libgdk_pixbuf-2.0.la +1 -1
- data/vendor/local/lib/pkgconfig/gdk-pixbuf-2.0.pc +1 -1
- data/vendor/local/share/gir-1.0/GdkPixbuf-2.0.gir +30 -27
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +557 -416
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/annotation-glossary.html +10 -12
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-12.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-14.html +9 -11
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-2.html +22 -24
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-26.html +10 -12
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-28.html +8 -8
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-30.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-4.html +16 -18
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-6.html +14 -16
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-8.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-deprecated.html +11 -13
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-full.html +165 -167
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html +768 -578
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +546 -428
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +549 -474
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +321 -265
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +467 -349
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +887 -662
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +122 -91
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Scaling.html +656 -518
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +631 -484
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Utilities.html +247 -171
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Versioning.html +110 -89
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-X-Drawables-to-Pixbufs.html +119 -98
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Xlib-Rendering.html +275 -230
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-XlibRGB.html +784 -581
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-csource.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-Xlib-initialization.html +86 -55
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-from-drawables.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-rendering.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-query-loaders.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf.devhelp2 +153 -192
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.sgml +98 -97
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/license.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/style.css +247 -94
- 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 +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf1738ddd28369dc1b50536d4c5771ebe310a375
|
4
|
+
data.tar.gz: 424e6cc1038a925cf3e9351fe284a53b5d06efe8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88907da80a0b7260fdf30cb29c29193c8741c8eb1d71b26905e1e1c0c1c5713f70da0bcd83ffe76264d587f502a162f403b9c3e8c1e80cb2c2fca9a658833a96
|
7
|
+
data.tar.gz: 526c209d44f087b69b74f6af380ec8e62dedcd18c89c438d675515b6953c1e4d38d6aef10a044e063826aa4a18c9a6956cb110fb00f4c17a915a769dd0a94c2d
|
data/Rakefile
CHANGED
@@ -18,7 +18,7 @@ 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.30.
|
21
|
+
:version => "2.30.6",
|
22
22
|
:compression_method => "xz",
|
23
23
|
:windows => {
|
24
24
|
:configure_args => [
|
data/lib/1.9/gdk_pixbuf2.so
CHANGED
Binary file
|
data/lib/2.0/gdk_pixbuf2.so
CHANGED
Binary file
|
data/lib/2.1/gdk_pixbuf2.so
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -19,9 +19,7 @@
|
|
19
19
|
* Lesser General Public License for more details.
|
20
20
|
*
|
21
21
|
* You should have received a copy of the GNU Lesser General Public
|
22
|
-
* License along with this library; if not,
|
23
|
-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
24
|
-
* Boston, MA 02111-1307, USA.
|
22
|
+
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
25
23
|
*/
|
26
24
|
|
27
25
|
#ifndef GDK_PIXBUF_ANIMATION_H
|
@@ -18,9 +18,7 @@
|
|
18
18
|
* Lesser General Public License for more details.
|
19
19
|
*
|
20
20
|
* You should have received a copy of the GNU Lesser General Public
|
21
|
-
* License along with this library; if not,
|
22
|
-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
23
|
-
* Boston, MA 02111-1307, USA.
|
21
|
+
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
24
22
|
*/
|
25
23
|
|
26
24
|
#ifndef GDK_PIXBUF_CORE_H
|
@@ -45,8 +45,8 @@ Library version numbers.
|
|
45
45
|
|
46
46
|
#define GDK_PIXBUF_MAJOR (2)
|
47
47
|
#define GDK_PIXBUF_MINOR (30)
|
48
|
-
#define GDK_PIXBUF_MICRO (
|
49
|
-
#define GDK_PIXBUF_VERSION "2.30.
|
48
|
+
#define GDK_PIXBUF_MICRO (6)
|
49
|
+
#define GDK_PIXBUF_VERSION "2.30.6"
|
50
50
|
|
51
51
|
/* We prefix variable declarations so they can
|
52
52
|
* properly get exported/imported from Windows DLLs.
|
@@ -21,9 +21,7 @@
|
|
21
21
|
* Lesser General Public License for more details.
|
22
22
|
*
|
23
23
|
* You should have received a copy of the GNU Lesser General Public
|
24
|
-
* License along with this library; if not,
|
25
|
-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
26
|
-
* Boston, MA 02111-1307, USA.
|
24
|
+
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
27
25
|
*/
|
28
26
|
|
29
27
|
#ifndef GDK_PIXBUF_IO_H
|
@@ -18,9 +18,7 @@
|
|
18
18
|
* Lesser General Public License for more details.
|
19
19
|
*
|
20
20
|
* You should have received a copy of the GNU Lesser General Public
|
21
|
-
* License along with this library; if not,
|
22
|
-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
23
|
-
* Boston, MA 02111-1307, USA.
|
21
|
+
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
24
22
|
*/
|
25
23
|
|
26
24
|
#ifndef GDK_PIXBUF_LOADER_H
|
@@ -16,9 +16,7 @@
|
|
16
16
|
* Lesser General Public License for more details.
|
17
17
|
*
|
18
18
|
* You should have received a copy of the GNU Lesser General Public
|
19
|
-
* License along with this library; if not,
|
20
|
-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
21
|
-
* Boston, MA 02111-1307, USA.
|
19
|
+
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
22
20
|
*/
|
23
21
|
|
24
22
|
#ifndef GDK_PIXBUF_SIMPLE_ANIM_H
|
@@ -18,9 +18,7 @@
|
|
18
18
|
* Lesser General Public License for more details.
|
19
19
|
*
|
20
20
|
* You should have received a copy of the GNU Lesser General Public
|
21
|
-
* License along with this library; if not,
|
22
|
-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
23
|
-
* Boston, MA 02111-1307, USA.
|
21
|
+
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
24
22
|
*/
|
25
23
|
|
26
24
|
#ifndef GDK_PIXBUF_TRANSFORM_H
|
@@ -18,9 +18,7 @@
|
|
18
18
|
* Lesser General Public License for more details.
|
19
19
|
*
|
20
20
|
* You should have received a copy of the GNU Lesser General Public
|
21
|
-
* License along with this library; if not,
|
22
|
-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
23
|
-
* Boston, MA 02111-1307, USA.
|
21
|
+
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
24
22
|
*/
|
25
23
|
|
26
24
|
#ifndef GDK_PIXBUF_H
|
@@ -12,9 +12,7 @@
|
|
12
12
|
* Lesser General Public License for more details.
|
13
13
|
*
|
14
14
|
* You should have received a copy of the GNU Lesser General Public
|
15
|
-
* License along with this library; if not,
|
16
|
-
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
17
|
-
* Boston, MA 02111-1307, USA.
|
15
|
+
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
18
16
|
*/
|
19
17
|
#ifndef __GDK_PIXDATA_H__
|
20
18
|
#define __GDK_PIXDATA_H__
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# GdkPixbuf Image Loader Modules file
|
2
2
|
# Automatically generated file, do not edit
|
3
|
-
# Created by gdk-pixbuf-query-loaders from gdk-pixbuf-2.
|
3
|
+
# Created by gdk-pixbuf-query-loaders from gdk-pixbuf-2.30.5
|
4
4
|
#
|
5
5
|
# LoaderDir = /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders
|
6
6
|
#
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -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.30.
|
13
|
+
Version: 2.30.6
|
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
|
@@ -83,7 +83,7 @@ the &gdk-pixbuf; library. Currently only RGB is supported.</doc>
|
|
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="
|
86
|
+
<constant name="PIXBUF_MICRO" value="6" c:type="GDK_PIXBUF_MICRO">
|
87
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"/>
|
@@ -93,7 +93,7 @@ the &gdk-pixbuf; library. Currently only RGB is supported.</doc>
|
|
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.30.
|
96
|
+
<constant name="PIXBUF_VERSION" value="2.30.6" c:type="GDK_PIXBUF_VERSION">
|
97
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>
|
@@ -261,28 +261,27 @@ storing as inline data in a program. This is useful if you want to
|
|
261
261
|
ship a program with images, but don't want to depend on any
|
262
262
|
external files.
|
263
263
|
|
264
|
-
gdk-pixbuf ships with a program called
|
264
|
+
gdk-pixbuf ships with a program called [gdk-pixbuf-csource][gdk-pixbuf-csource],
|
265
265
|
which allows for conversion of #GdkPixbufs into such a inline representation.
|
266
|
-
In almost all cases, you should pass the
|
267
|
-
|
266
|
+
In almost all cases, you should pass the `--raw` option to
|
267
|
+
`gdk-pixbuf-csource`. A sample invocation would be:
|
268
268
|
|
269
|
-
|
269
|
+
|[
|
270
270
|
gdk-pixbuf-csource --raw --name=myimage_inline myimage.png
|
271
|
-
|
271
|
+
]|
|
272
272
|
|
273
273
|
For the typical case where the inline pixbuf is read-only static data,
|
274
274
|
you don't need to copy the pixel data unless you intend to write to
|
275
|
-
it, so you can pass %FALSE for @copy_pixels. (If you pass
|
276
|
-
|
277
|
-
|
278
|
-
generally a bad idea.)
|
275
|
+
it, so you can pass %FALSE for @copy_pixels. (If you pass `--rle` to
|
276
|
+
`gdk-pixbuf-csource`, a copy will be made even if @copy_pixels is %FALSE,
|
277
|
+
so using this option is generally a bad idea.)
|
279
278
|
|
280
279
|
If you create a pixbuf from const inline data compiled into your
|
281
280
|
program, it's probably safe to ignore errors and disable length checks,
|
282
281
|
since things will always succeed:
|
283
|
-
|
282
|
+
|[
|
284
283
|
pixbuf = gdk_pixbuf_new_from_inline (-1, myimage_inline, FALSE, NULL);
|
285
|
-
|
284
|
+
]|
|
286
285
|
|
287
286
|
For non-const inline data, you could get out of memory. For untrusted
|
288
287
|
inline data located at runtime, you could have corrupt inline data in
|
@@ -536,7 +535,7 @@ newly-allocated memory; otherwise it is reused.</doc>
|
|
536
535
|
<doc xml:space="preserve">Obtains the available information about the image formats supported
|
537
536
|
by GdkPixbuf.</doc>
|
538
537
|
<return-value transfer-ownership="container">
|
539
|
-
<doc xml:space="preserve">A list of #
|
538
|
+
<doc xml:space="preserve">A list of #GdkPixbufFormats 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>
|
540
539
|
<type name="GLib.SList" c:type="GSList*">
|
541
540
|
<type name="PixbufFormat"/>
|
542
541
|
</type>
|
@@ -727,10 +726,7 @@ When the destination rectangle contains parts not in the source
|
|
727
726
|
image, the data at the edges of the source image is replicated
|
728
727
|
to infinity.
|
729
728
|
|
730
|
-
|
731
|
-
<title>Compositing of pixbufs</title>
|
732
|
-
<graphic fileref="composite.png" format="PNG"/>
|
733
|
-
</figure></doc>
|
729
|
+
</doc>
|
734
730
|
<return-value transfer-ownership="none">
|
735
731
|
<type name="none" c:type="void"/>
|
736
732
|
</return-value>
|
@@ -1120,7 +1116,7 @@ TIFF/Exif orientation tag (if present).</doc>
|
|
1120
1116
|
shadowed-by="get_pixels_with_length">
|
1121
1117
|
<doc xml:space="preserve">Queries a pointer to the pixel data of a pixbuf.</doc>
|
1122
1118
|
<return-value transfer-ownership="none">
|
1123
|
-
<doc xml:space="preserve">A pointer to the pixbuf's pixel data. Please see
|
1119
|
+
<doc xml:space="preserve">A pointer to the pixbuf's pixel data. Please see the section on [image data](image-data) for information about how the pixel data is stored in memory.</doc>
|
1124
1120
|
<array zero-terminated="0" c:type="guchar*">
|
1125
1121
|
<type name="guint8" c:type="guchar"/>
|
1126
1122
|
</array>
|
@@ -1138,7 +1134,7 @@ TIFF/Exif orientation tag (if present).</doc>
|
|
1138
1134
|
version="2.26">
|
1139
1135
|
<doc xml:space="preserve">Queries a pointer to the pixel data of a pixbuf.</doc>
|
1140
1136
|
<return-value transfer-ownership="none">
|
1141
|
-
<doc xml:space="preserve">A pointer to the pixbuf's pixel data. Please see
|
1137
|
+
<doc xml:space="preserve">A pointer to the pixbuf's pixel data. Please see the section on [image data](image-data) for information about how the pixel data is stored in memory.</doc>
|
1142
1138
|
<array length="0" zero-terminated="0" c:type="guchar*">
|
1143
1139
|
<type name="guint8" c:type="guchar"/>
|
1144
1140
|
</array>
|
@@ -1158,8 +1154,8 @@ TIFF/Exif orientation tag (if present).</doc>
|
|
1158
1154
|
</parameters>
|
1159
1155
|
</method>
|
1160
1156
|
<method name="get_rowstride" c:identifier="gdk_pixbuf_get_rowstride">
|
1161
|
-
<doc xml:space="preserve">Queries the rowstride of a pixbuf, which is the number of bytes between
|
1162
|
-
and the start of the next row.</doc>
|
1157
|
+
<doc xml:space="preserve">Queries the rowstride of a pixbuf, which is the number of bytes between
|
1158
|
+
the start of a row and the start of the next row.</doc>
|
1163
1159
|
<return-value transfer-ownership="none">
|
1164
1160
|
<doc xml:space="preserve">Distance between row starts.</doc>
|
1165
1161
|
<type name="gint" c:type="int"/>
|
@@ -1309,13 +1305,19 @@ See gdk_pixbuf_save() for more details.</doc>
|
|
1309
1305
|
<doc xml:space="preserve">a #GdkPixbuf.</doc>
|
1310
1306
|
<type name="Pixbuf" c:type="GdkPixbuf*"/>
|
1311
1307
|
</instance-parameter>
|
1312
|
-
<parameter name="buffer"
|
1308
|
+
<parameter name="buffer"
|
1309
|
+
direction="out"
|
1310
|
+
caller-allocates="0"
|
1311
|
+
transfer-ownership="full">
|
1313
1312
|
<doc xml:space="preserve">location to receive a pointer to the new buffer.</doc>
|
1314
1313
|
<array length="1" zero-terminated="0" c:type="gchar**">
|
1315
|
-
<type name="
|
1314
|
+
<type name="guint8"/>
|
1316
1315
|
</array>
|
1317
1316
|
</parameter>
|
1318
|
-
<parameter name="buffer_size"
|
1317
|
+
<parameter name="buffer_size"
|
1318
|
+
direction="out"
|
1319
|
+
caller-allocates="0"
|
1320
|
+
transfer-ownership="full">
|
1319
1321
|
<doc xml:space="preserve">location to receive the size of the new buffer.</doc>
|
1320
1322
|
<type name="gsize" c:type="gsize*"/>
|
1321
1323
|
</parameter>
|
@@ -3171,8 +3173,9 @@ bytes the structure points to.</doc>
|
|
3171
3173
|
<doc xml:space="preserve">Generates C source code suitable for compiling images directly
|
3172
3174
|
into programs.
|
3173
3175
|
|
3174
|
-
gdk-pixbuf ships with a program called
|
3175
|
-
which offers a command
|
3176
|
+
gdk-pixbuf ships with a program called
|
3177
|
+
[gdk-pixbuf-csource][gdk-pixbuf-csource], which offers a command
|
3178
|
+
line interface to this function.</doc>
|
3176
3179
|
<return-value transfer-ownership="full">
|
3177
3180
|
<doc xml:space="preserve">a newly-allocated string containing the C source form of @pixdata.</doc>
|
3178
3181
|
<type name="GLib.String" c:type="GString*"/>
|
@@ -8,19 +8,16 @@
|
|
8
8
|
<link rel="up" href="rn01.html" title="API Reference">
|
9
9
|
<link rel="prev" href="gdk-pixbuf-Animations.html" title="Animations">
|
10
10
|
<link rel="next" href="gdk-pixbuf-Module-Interface.html" title="Module Interface">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.20.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<td width="100%" align="left">
|
17
|
-
<a href="#" class="shortcut">Top</a>
|
18
|
-
|
19
|
-
<a href="#GdkPixbufLoader.
|
20
|
-
|
21
|
-
<a href="#GdkPixbufLoader.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
22
|
-
|
|
23
|
-
<a href="#GdkPixbufLoader.signals" class="shortcut">Signals</a>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#GdkPixbufLoader.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#GdkPixbufLoader.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_signals"> <span class="dim">|</span>
|
20
|
+
<a href="#GdkPixbufLoader.signals" class="shortcut">Signals</a></span>
|
24
21
|
</td>
|
25
22
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
26
23
|
<td><a accesskey="u" href="rn01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
@@ -34,652 +31,796 @@
|
|
34
31
|
<h2><span class="refentrytitle"><a name="GdkPixbufLoader.top_of_page"></a>GdkPixbufLoader</span></h2>
|
35
32
|
<p>GdkPixbufLoader — Application-driven progressive image loading.</p>
|
36
33
|
</td>
|
37
|
-
<td valign="top" align="right"></td>
|
34
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
38
35
|
</tr></table></div>
|
39
|
-
<div class="
|
40
|
-
<a name="GdkPixbufLoader.
|
41
|
-
<
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
<
|
47
|
-
|
48
|
-
<
|
49
|
-
|
50
|
-
|
51
|
-
<
|
52
|
-
<a
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
<
|
57
|
-
|
58
|
-
|
59
|
-
<
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
<
|
64
|
-
<
|
65
|
-
|
66
|
-
</
|
36
|
+
<div class="refsect1">
|
37
|
+
<a name="GdkPixbufLoader.functions"></a><h2>Functions</h2>
|
38
|
+
<div class="informaltable"><table width="100%" border="0">
|
39
|
+
<colgroup>
|
40
|
+
<col width="150px" class="functions_return">
|
41
|
+
<col class="functions_name">
|
42
|
+
</colgroup>
|
43
|
+
<tbody>
|
44
|
+
<tr>
|
45
|
+
<td class="function_type">
|
46
|
+
<a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="returnvalue">GdkPixbufLoader</span></a> *
|
47
|
+
</td>
|
48
|
+
<td class="function_name">
|
49
|
+
<a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-new" title="gdk_pixbuf_loader_new ()">gdk_pixbuf_loader_new</a> <span class="c_punctuation">()</span>
|
50
|
+
</td>
|
51
|
+
</tr>
|
52
|
+
<tr>
|
53
|
+
<td class="function_type">
|
54
|
+
<a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="returnvalue">GdkPixbufLoader</span></a> *
|
55
|
+
</td>
|
56
|
+
<td class="function_name">
|
57
|
+
<a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-new-with-type" title="gdk_pixbuf_loader_new_with_type ()">gdk_pixbuf_loader_new_with_type</a> <span class="c_punctuation">()</span>
|
58
|
+
</td>
|
59
|
+
</tr>
|
60
|
+
<tr>
|
61
|
+
<td class="function_type">
|
62
|
+
<a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="returnvalue">GdkPixbufLoader</span></a> *
|
63
|
+
</td>
|
64
|
+
<td class="function_name">
|
65
|
+
<a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-new-with-mime-type" title="gdk_pixbuf_loader_new_with_mime_type ()">gdk_pixbuf_loader_new_with_mime_type</a> <span class="c_punctuation">()</span>
|
66
|
+
</td>
|
67
|
+
</tr>
|
68
|
+
<tr>
|
69
|
+
<td class="function_type">
|
70
|
+
<a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="returnvalue">GdkPixbufFormat</span></a> *
|
71
|
+
</td>
|
72
|
+
<td class="function_name">
|
73
|
+
<a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-get-format" title="gdk_pixbuf_loader_get_format ()">gdk_pixbuf_loader_get_format</a> <span class="c_punctuation">()</span>
|
74
|
+
</td>
|
75
|
+
</tr>
|
76
|
+
<tr>
|
77
|
+
<td class="function_type">
|
78
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
79
|
+
</td>
|
80
|
+
<td class="function_name">
|
81
|
+
<a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-write" title="gdk_pixbuf_loader_write ()">gdk_pixbuf_loader_write</a> <span class="c_punctuation">()</span>
|
82
|
+
</td>
|
83
|
+
</tr>
|
84
|
+
<tr>
|
85
|
+
<td class="function_type">
|
86
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
87
|
+
</td>
|
88
|
+
<td class="function_name">
|
89
|
+
<a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-write-bytes" title="gdk_pixbuf_loader_write_bytes ()">gdk_pixbuf_loader_write_bytes</a> <span class="c_punctuation">()</span>
|
90
|
+
</td>
|
91
|
+
</tr>
|
92
|
+
<tr>
|
93
|
+
<td class="function_type">
|
94
|
+
<span class="returnvalue">void</span>
|
95
|
+
</td>
|
96
|
+
<td class="function_name">
|
97
|
+
<a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-set-size" title="gdk_pixbuf_loader_set_size ()">gdk_pixbuf_loader_set_size</a> <span class="c_punctuation">()</span>
|
98
|
+
</td>
|
99
|
+
</tr>
|
100
|
+
<tr>
|
101
|
+
<td class="function_type">
|
102
|
+
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
|
103
|
+
</td>
|
104
|
+
<td class="function_name">
|
105
|
+
<a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-get-pixbuf" title="gdk_pixbuf_loader_get_pixbuf ()">gdk_pixbuf_loader_get_pixbuf</a> <span class="c_punctuation">()</span>
|
106
|
+
</td>
|
107
|
+
</tr>
|
108
|
+
<tr>
|
109
|
+
<td class="function_type">
|
110
|
+
<a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="returnvalue">GdkPixbufAnimation</span></a> *
|
111
|
+
</td>
|
112
|
+
<td class="function_name">
|
113
|
+
<a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-get-animation" title="gdk_pixbuf_loader_get_animation ()">gdk_pixbuf_loader_get_animation</a> <span class="c_punctuation">()</span>
|
114
|
+
</td>
|
115
|
+
</tr>
|
116
|
+
<tr>
|
117
|
+
<td class="function_type">
|
118
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
119
|
+
</td>
|
120
|
+
<td class="function_name">
|
121
|
+
<a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-close" title="gdk_pixbuf_loader_close ()">gdk_pixbuf_loader_close</a> <span class="c_punctuation">()</span>
|
122
|
+
</td>
|
123
|
+
</tr>
|
124
|
+
</tbody>
|
125
|
+
</table></div>
|
126
|
+
</div>
|
127
|
+
<div class="refsect1">
|
128
|
+
<a name="GdkPixbufLoader.signals"></a><h2>Signals</h2>
|
129
|
+
<div class="informaltable"><table border="0">
|
130
|
+
<colgroup>
|
131
|
+
<col width="150px" class="signals_return">
|
132
|
+
<col width="300px" class="signals_name">
|
133
|
+
<col width="200px" class="signals_flags">
|
134
|
+
</colgroup>
|
135
|
+
<tbody>
|
136
|
+
<tr>
|
137
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
138
|
+
<td class="signal_name"><a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-area-prepared" title="The “area-prepared” signal">area-prepared</a></td>
|
139
|
+
<td class="signal_flags">Run Last</td>
|
140
|
+
</tr>
|
141
|
+
<tr>
|
142
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
143
|
+
<td class="signal_name"><a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-area-updated" title="The “area-updated” signal">area-updated</a></td>
|
144
|
+
<td class="signal_flags">Run Last</td>
|
145
|
+
</tr>
|
146
|
+
<tr>
|
147
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
148
|
+
<td class="signal_name"><a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-closed" title="The “closed” signal">closed</a></td>
|
149
|
+
<td class="signal_flags">Run Last</td>
|
150
|
+
</tr>
|
151
|
+
<tr>
|
152
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
153
|
+
<td class="signal_name"><a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-size-prepared" title="The “size-prepared” signal">size-prepared</a></td>
|
154
|
+
<td class="signal_flags">Run Last</td>
|
155
|
+
</tr>
|
156
|
+
</tbody>
|
157
|
+
</table></div>
|
158
|
+
</div>
|
159
|
+
<div class="refsect1">
|
160
|
+
<a name="GdkPixbufLoader.other"></a><h2>Types and Values</h2>
|
161
|
+
<div class="informaltable"><table width="100%" border="0">
|
162
|
+
<colgroup>
|
163
|
+
<col width="150px" class="name">
|
164
|
+
<col class="description">
|
165
|
+
</colgroup>
|
166
|
+
<tbody><tr>
|
167
|
+
<td class="datatype_keyword">struct</td>
|
168
|
+
<td class="function_name"><a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-struct" title="struct GdkPixbufLoader">GdkPixbufLoader</a></td>
|
169
|
+
</tr></tbody>
|
170
|
+
</table></div>
|
67
171
|
</div>
|
68
172
|
<div class="refsect1">
|
69
173
|
<a name="GdkPixbufLoader.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
70
|
-
<pre class="
|
71
|
-
|
72
|
-
+----GdkPixbufLoader
|
174
|
+
<pre class="screen"> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
175
|
+
<span class="lineart">╰──</span> GdkPixbufLoader
|
73
176
|
</pre>
|
74
177
|
</div>
|
75
178
|
<div class="refsect1">
|
76
|
-
<a name="GdkPixbufLoader.
|
77
|
-
<pre class="synopsis"
|
78
|
-
"<a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-area-prepared" title='The "area-prepared" signal'>area-prepared</a>" : <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
79
|
-
"<a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-area-updated" title='The "area-updated" signal'>area-updated</a>" : <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
80
|
-
"<a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-closed" title='The "closed" signal'>closed</a>" : <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
81
|
-
"<a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-size-prepared" title='The "size-prepared" signal'>size-prepared</a>" : <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
179
|
+
<a name="GdkPixbufLoader.includes"></a><h2>Includes</h2>
|
180
|
+
<pre class="synopsis">#include <gdk-pixbuf/gdk-pixbuf.h>
|
82
181
|
</pre>
|
83
182
|
</div>
|
84
183
|
<div class="refsect1">
|
85
184
|
<a name="GdkPixbufLoader.description"></a><h2>Description</h2>
|
86
|
-
<p>
|
87
|
-
<a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> provides a way for applications to drive the
|
185
|
+
<p><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> provides a way for applications to drive the
|
88
186
|
process of loading an image, by letting them send the image data
|
89
187
|
directly to the loader instead of having the loader read the data
|
90
188
|
from a file. Applications can use this functionality instead of
|
91
|
-
<a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-file" title="gdk_pixbuf_new_from_file
|
189
|
+
<a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-file" title="gdk_pixbuf_new_from_file ()"><code class="function">gdk_pixbuf_new_from_file()</code></a> or <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>
|
92
190
|
when they need to parse image data in
|
93
191
|
small chunks. For example, it should be used when reading an
|
94
192
|
image from a (potentially) slow network connection, or when
|
95
|
-
loading an extremely large file
|
96
|
-
|
97
|
-
<
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
signals throughout the process. The first, "<a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-size-prepared" title='The "size-prepared" signal'>size_prepared</a>",
|
103
|
-
will be called as soon as the image has enough information to
|
193
|
+
loading an extremely large file.</p>
|
194
|
+
<p>To use <a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> to load an image, just create a new one, and
|
195
|
+
call <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-write" title="gdk_pixbuf_loader_write ()"><code class="function">gdk_pixbuf_loader_write()</code></a> to send the data to it. When done,
|
196
|
+
<a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-close" title="gdk_pixbuf_loader_close ()"><code class="function">gdk_pixbuf_loader_close()</code></a> should be called to end the stream and
|
197
|
+
finalize everything. The loader will emit three important signals
|
198
|
+
throughout the process. The first, <a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-size-prepared" title="The “size-prepared” signal"><span class="type">“size-prepared”</span></a>,
|
199
|
+
will be emitted as soon as the image has enough information to
|
104
200
|
determine the size of the image to be used. If you want to scale
|
105
|
-
the image while loading it, you can call <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-set-size" title="gdk_pixbuf_loader_set_size
|
106
|
-
in response to this signal
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
The last signal, "<a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-area-updated" title='The "area-updated" signal'>area_updated</a>" gets
|
120
|
-
called every time a region is updated. This way you can update a
|
121
|
-
partially completed image. Note that you do not know anything
|
122
|
-
about the completeness of an image from the area updated. For
|
123
|
-
example, in an interlaced image, you need to make several passes
|
124
|
-
before the image is done loading.
|
125
|
-
</p>
|
126
|
-
<p>
|
127
|
-
</p>
|
201
|
+
the image while loading it, you can call <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-set-size" title="gdk_pixbuf_loader_set_size ()"><code class="function">gdk_pixbuf_loader_set_size()</code></a>
|
202
|
+
in response to this signal.</p>
|
203
|
+
<p>The second signal, <a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-area-prepared" title="The “area-prepared” signal"><span class="type">“area-prepared”</span></a>, will be emitted as
|
204
|
+
soon as the pixbuf of the desired has been allocated. You can obtain it
|
205
|
+
by calling <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-get-pixbuf" title="gdk_pixbuf_loader_get_pixbuf ()"><code class="function">gdk_pixbuf_loader_get_pixbuf()</code></a>. If you want to use it, simply
|
206
|
+
ref it. In addition, no actual information will be passed in yet, so the
|
207
|
+
pixbuf can be safely filled with any temporary graphics (or an initial
|
208
|
+
color) as needed. You can also call <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-get-pixbuf" title="gdk_pixbuf_loader_get_pixbuf ()"><code class="function">gdk_pixbuf_loader_get_pixbuf()</code></a> later
|
209
|
+
and get the same pixbuf.</p>
|
210
|
+
<p>The last signal, <a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-area-updated" title="The “area-updated” signal"><span class="type">“area-updated”</span></a>, gets emitted every time
|
211
|
+
a region is updated. This way you can update a partially completed image.
|
212
|
+
Note that you do not know anything about the completeness of an image
|
213
|
+
from the updated area. For example, in an interlaced image, you need to
|
214
|
+
make several passes before the image is done loading.</p>
|
128
215
|
<div class="refsect2">
|
129
|
-
<a name="id-1.2.15.
|
130
|
-
<p>
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
</p>
|
137
|
-
</div>
|
138
|
-
<p>
|
139
|
-
</p>
|
216
|
+
<a name="id-1.2.15.8.6"></a><h3>Loading an animation</h3>
|
217
|
+
<p>Loading an animation is almost as easy as loading an image. Once the first
|
218
|
+
<a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-area-prepared" title="The “area-prepared” signal"><span class="type">“area-prepared”</span></a> signal has been emitted, you can call
|
219
|
+
<a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-get-animation" title="gdk_pixbuf_loader_get_animation ()"><code class="function">gdk_pixbuf_loader_get_animation()</code></a> to get the <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> struct
|
220
|
+
and <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-get-iter" title="gdk_pixbuf_animation_get_iter ()"><code class="function">gdk_pixbuf_animation_get_iter()</code></a> to get a <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a> for
|
221
|
+
displaying it.</p>
|
222
|
+
</div>
|
140
223
|
</div>
|
141
224
|
<div class="refsect1">
|
142
|
-
<a name="GdkPixbufLoader.
|
225
|
+
<a name="GdkPixbufLoader.functions_details"></a><h2>Functions</h2>
|
143
226
|
<div class="refsect2">
|
144
|
-
<a name="
|
145
|
-
<pre class="programlisting"
|
146
|
-
<
|
147
|
-
|
148
|
-
|
149
|
-
</
|
227
|
+
<a name="gdk-pixbuf-loader-new"></a><h3>gdk_pixbuf_loader_new ()</h3>
|
228
|
+
<pre class="programlisting"><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="returnvalue">GdkPixbufLoader</span></a> *
|
229
|
+
gdk_pixbuf_loader_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
230
|
+
<p>Creates a new pixbuf loader object.</p>
|
231
|
+
<div class="refsect3">
|
232
|
+
<a name="id-1.2.15.9.2.5"></a><h4>Returns</h4>
|
233
|
+
<p> A newly-created pixbuf loader.</p>
|
234
|
+
<p></p>
|
150
235
|
</div>
|
151
|
-
<hr>
|
152
|
-
<div class="refsect2">
|
153
|
-
<a name="gdk-pixbuf-loader-new"></a><h3>gdk_pixbuf_loader_new ()</h3>
|
154
|
-
<pre class="programlisting"><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="returnvalue">GdkPixbufLoader</span></a> * gdk_pixbuf_loader_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
155
|
-
<p>
|
156
|
-
Creates a new pixbuf loader object.
|
157
|
-
</p>
|
158
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
159
|
-
<colgroup>
|
160
|
-
<col align="left" valign="top">
|
161
|
-
<col>
|
162
|
-
</colgroup>
|
163
|
-
<tbody><tr>
|
164
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
165
|
-
<td>A newly-created pixbuf loader.</td>
|
166
|
-
</tr></tbody>
|
167
|
-
</table></div>
|
168
236
|
</div>
|
169
237
|
<hr>
|
170
238
|
<div class="refsect2">
|
171
|
-
<a name="gdk-pixbuf-loader-new-with-type"></a><h3>gdk_pixbuf_loader_new_with_type
|
172
|
-
<pre class="programlisting"><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="returnvalue">GdkPixbufLoader</span></a>
|
173
|
-
|
174
|
-
<
|
175
|
-
Creates a new pixbuf loader object that always attempts to parse
|
176
|
-
image data as if it were an image of type <em class="parameter"><code>image_type</code></em
|
239
|
+
<a name="gdk-pixbuf-loader-new-with-type"></a><h3>gdk_pixbuf_loader_new_with_type ()</h3>
|
240
|
+
<pre class="programlisting"><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="returnvalue">GdkPixbufLoader</span></a> *
|
241
|
+
gdk_pixbuf_loader_new_with_type (<em class="parameter"><code>const <span class="type">char</span> *image_type</code></em>,
|
242
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
243
|
+
<p>Creates a new pixbuf loader object that always attempts to parse
|
244
|
+
image data as if it were an image of type <em class="parameter"><code>image_type</code></em>
|
245
|
+
, instead of
|
177
246
|
identifying the type automatically. Useful if you want an error if
|
178
247
|
the image isn't the expected type, for loading image formats
|
179
248
|
that can't be reliably identified by looking at the data, or if
|
180
|
-
the user manually forces a specific type
|
181
|
-
|
182
|
-
<p>
|
183
|
-
The list of supported image formats depends on what image loaders
|
249
|
+
the user manually forces a specific type.</p>
|
250
|
+
<p>The list of supported image formats depends on what image loaders
|
184
251
|
are installed, but typically "png", "jpeg", "gif", "tiff" and
|
185
252
|
"xpm" are among the supported formats. To obtain the full list of
|
186
|
-
supported image formats, call <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-get-name" title="gdk_pixbuf_format_get_name
|
187
|
-
of the <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> structs returned by <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-get-formats" title="gdk_pixbuf_get_formats
|
188
|
-
|
189
|
-
<
|
253
|
+
supported image formats, call <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-get-name" title="gdk_pixbuf_format_get_name ()"><code class="function">gdk_pixbuf_format_get_name()</code></a> on each
|
254
|
+
of the <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> structs returned by <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-get-formats" title="gdk_pixbuf_get_formats ()"><code class="function">gdk_pixbuf_get_formats()</code></a>.</p>
|
255
|
+
<div class="refsect3">
|
256
|
+
<a name="id-1.2.15.9.3.6"></a><h4>Parameters</h4>
|
257
|
+
<div class="informaltable"><table width="100%" border="0">
|
190
258
|
<colgroup>
|
191
|
-
<col
|
192
|
-
<col>
|
259
|
+
<col width="150px" class="parameters_name">
|
260
|
+
<col class="parameters_description">
|
261
|
+
<col width="200px" class="parameters_annotations">
|
193
262
|
</colgroup>
|
194
263
|
<tbody>
|
195
264
|
<tr>
|
196
|
-
<td
|
197
|
-
<td>name of the image format to be loaded with the image</td>
|
265
|
+
<td class="parameter_name"><p>image_type</p></td>
|
266
|
+
<td class="parameter_description"><p>name of the image format to be loaded with the image</p></td>
|
267
|
+
<td class="parameter_annotations"> </td>
|
198
268
|
</tr>
|
199
269
|
<tr>
|
200
|
-
<td
|
201
|
-
<td>return location for an allocated <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore errors.
|
202
|
-
</td>
|
203
|
-
</tr>
|
204
|
-
<tr>
|
205
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
206
|
-
<td>A newly-created pixbuf loader.</td>
|
270
|
+
<td class="parameter_name"><p>error</p></td>
|
271
|
+
<td class="parameter_description"><p> return location for an allocated <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore errors. </p></td>
|
272
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
207
273
|
</tr>
|
208
274
|
</tbody>
|
209
275
|
</table></div>
|
210
276
|
</div>
|
277
|
+
<div class="refsect3">
|
278
|
+
<a name="id-1.2.15.9.3.7"></a><h4>Returns</h4>
|
279
|
+
<p> A newly-created pixbuf loader.</p>
|
280
|
+
<p></p>
|
281
|
+
</div>
|
282
|
+
</div>
|
211
283
|
<hr>
|
212
284
|
<div class="refsect2">
|
213
|
-
<a name="gdk-pixbuf-loader-new-with-mime-type"></a><h3>gdk_pixbuf_loader_new_with_mime_type
|
214
|
-
<pre class="programlisting"><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="returnvalue">GdkPixbufLoader</span></a>
|
215
|
-
|
216
|
-
|
217
|
-
<p>
|
218
|
-
|
219
|
-
|
285
|
+
<a name="gdk-pixbuf-loader-new-with-mime-type"></a><h3>gdk_pixbuf_loader_new_with_mime_type ()</h3>
|
286
|
+
<pre class="programlisting"><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="returnvalue">GdkPixbufLoader</span></a> *
|
287
|
+
gdk_pixbuf_loader_new_with_mime_type (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
|
288
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
289
|
+
<p>Creates a new pixbuf loader object that always attempts to parse
|
290
|
+
image data as if it were an image of mime type <em class="parameter"><code>mime_type</code></em>
|
291
|
+
, instead of
|
220
292
|
identifying the type automatically. Useful if you want an error if
|
221
293
|
the image isn't the expected mime type, for loading image formats
|
222
294
|
that can't be reliably identified by looking at the data, or if
|
223
|
-
the user manually forces a specific mime type
|
224
|
-
|
225
|
-
<p>
|
226
|
-
The list of supported mime types depends on what image loaders
|
295
|
+
the user manually forces a specific mime type.</p>
|
296
|
+
<p>The list of supported mime types depends on what image loaders
|
227
297
|
are installed, but typically "image/png", "image/jpeg", "image/gif",
|
228
298
|
"image/tiff" and "image/x-xpixmap" are among the supported mime types.
|
229
299
|
To obtain the full list of supported mime types, call
|
230
|
-
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-get-mime-types" title="gdk_pixbuf_format_get_mime_types
|
231
|
-
structs returned by <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-get-formats" title="gdk_pixbuf_get_formats
|
232
|
-
|
233
|
-
<
|
300
|
+
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-get-mime-types" title="gdk_pixbuf_format_get_mime_types ()"><code class="function">gdk_pixbuf_format_get_mime_types()</code></a> on each of the <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a>
|
301
|
+
structs returned by <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-get-formats" title="gdk_pixbuf_get_formats ()"><code class="function">gdk_pixbuf_get_formats()</code></a>.</p>
|
302
|
+
<div class="refsect3">
|
303
|
+
<a name="id-1.2.15.9.4.6"></a><h4>Parameters</h4>
|
304
|
+
<div class="informaltable"><table width="100%" border="0">
|
234
305
|
<colgroup>
|
235
|
-
<col
|
236
|
-
<col>
|
306
|
+
<col width="150px" class="parameters_name">
|
307
|
+
<col class="parameters_description">
|
308
|
+
<col width="200px" class="parameters_annotations">
|
237
309
|
</colgroup>
|
238
310
|
<tbody>
|
239
311
|
<tr>
|
240
|
-
<td
|
241
|
-
<td>the mime type to be loaded</td>
|
312
|
+
<td class="parameter_name"><p>mime_type</p></td>
|
313
|
+
<td class="parameter_description"><p>the mime type to be loaded </p></td>
|
314
|
+
<td class="parameter_annotations"> </td>
|
242
315
|
</tr>
|
243
316
|
<tr>
|
244
|
-
<td
|
245
|
-
<td>return location for an allocated <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore errors.
|
246
|
-
</td>
|
247
|
-
</tr>
|
248
|
-
<tr>
|
249
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
250
|
-
<td>A newly-created pixbuf loader.</td>
|
317
|
+
<td class="parameter_name"><p>error</p></td>
|
318
|
+
<td class="parameter_description"><p> return location for an allocated <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore errors. </p></td>
|
319
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
251
320
|
</tr>
|
252
321
|
</tbody>
|
253
322
|
</table></div>
|
323
|
+
</div>
|
324
|
+
<div class="refsect3">
|
325
|
+
<a name="id-1.2.15.9.4.7"></a><h4>Returns</h4>
|
326
|
+
<p> A newly-created pixbuf loader.</p>
|
327
|
+
<p></p>
|
328
|
+
</div>
|
254
329
|
<p class="since">Since 2.4</p>
|
255
330
|
</div>
|
256
331
|
<hr>
|
257
332
|
<div class="refsect2">
|
258
|
-
<a name="gdk-pixbuf-loader-get-format"></a><h3>gdk_pixbuf_loader_get_format
|
259
|
-
<pre class="programlisting"><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="returnvalue">GdkPixbufFormat</span></a>
|
260
|
-
<
|
261
|
-
Obtains the available information about the format of the
|
262
|
-
currently loading image file
|
263
|
-
|
264
|
-
<
|
333
|
+
<a name="gdk-pixbuf-loader-get-format"></a><h3>gdk_pixbuf_loader_get_format ()</h3>
|
334
|
+
<pre class="programlisting"><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="returnvalue">GdkPixbufFormat</span></a> *
|
335
|
+
gdk_pixbuf_loader_get_format (<em class="parameter"><code><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader</code></em>);</pre>
|
336
|
+
<p>Obtains the available information about the format of the
|
337
|
+
currently loading image file.</p>
|
338
|
+
<div class="refsect3">
|
339
|
+
<a name="id-1.2.15.9.5.5"></a><h4>Parameters</h4>
|
340
|
+
<div class="informaltable"><table width="100%" border="0">
|
265
341
|
<colgroup>
|
266
|
-
<col
|
267
|
-
<col>
|
342
|
+
<col width="150px" class="parameters_name">
|
343
|
+
<col class="parameters_description">
|
344
|
+
<col width="200px" class="parameters_annotations">
|
268
345
|
</colgroup>
|
269
|
-
<tbody>
|
270
|
-
<
|
271
|
-
<td
|
272
|
-
<td>
|
273
|
-
</tr>
|
274
|
-
<tr>
|
275
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
276
|
-
<td>A <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. The return
|
277
|
-
value is owned by GdkPixbuf and should 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>
|
278
|
-
</td>
|
279
|
-
</tr>
|
280
|
-
</tbody>
|
346
|
+
<tbody><tr>
|
347
|
+
<td class="parameter_name"><p>loader</p></td>
|
348
|
+
<td class="parameter_description"><p>A pixbuf loader.</p></td>
|
349
|
+
<td class="parameter_annotations"> </td>
|
350
|
+
</tr></tbody>
|
281
351
|
</table></div>
|
352
|
+
</div>
|
353
|
+
<div class="refsect3">
|
354
|
+
<a name="id-1.2.15.9.5.6"></a><h4>Returns</h4>
|
355
|
+
<p> A <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. The return
|
356
|
+
value is owned by GdkPixbuf and should not be freed. </p>
|
357
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
358
|
+
</div>
|
282
359
|
<p class="since">Since 2.2</p>
|
283
360
|
</div>
|
284
361
|
<hr>
|
285
362
|
<div class="refsect2">
|
286
|
-
<a name="gdk-pixbuf-loader-write"></a><h3>gdk_pixbuf_loader_write
|
287
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
<
|
292
|
-
This will cause a pixbuf loader to parse the next <em class="parameter"><code>count</code></em>
|
363
|
+
<a name="gdk-pixbuf-loader-write"></a><h3>gdk_pixbuf_loader_write ()</h3>
|
364
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
365
|
+
gdk_pixbuf_loader_write (<em class="parameter"><code><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader</code></em>,
|
366
|
+
<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *buf</code></em>,
|
367
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> count</code></em>,
|
368
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
369
|
+
<p>This will cause a pixbuf loader to parse the next <em class="parameter"><code>count</code></em>
|
370
|
+
bytes of
|
293
371
|
an image. It will return <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the data was loaded successfully,
|
294
372
|
and <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if an error occurred. In the latter case, the loader
|
295
373
|
will be closed, and will not accept further writes. If <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is
|
296
|
-
returned, <em class="parameter"><code>error</code></em>
|
297
|
-
|
298
|
-
</p>
|
299
|
-
<div class="
|
374
|
+
returned, <em class="parameter"><code>error</code></em>
|
375
|
+
will be set to an error from 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>
|
376
|
+
or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a> domains.</p>
|
377
|
+
<div class="refsect3">
|
378
|
+
<a name="id-1.2.15.9.6.5"></a><h4>Parameters</h4>
|
379
|
+
<div class="informaltable"><table width="100%" border="0">
|
300
380
|
<colgroup>
|
301
|
-
<col
|
302
|
-
<col>
|
381
|
+
<col width="150px" class="parameters_name">
|
382
|
+
<col class="parameters_description">
|
383
|
+
<col width="200px" class="parameters_annotations">
|
303
384
|
</colgroup>
|
304
385
|
<tbody>
|
305
386
|
<tr>
|
306
|
-
<td
|
307
|
-
<td>A pixbuf loader.</td>
|
387
|
+
<td class="parameter_name"><p>loader</p></td>
|
388
|
+
<td class="parameter_description"><p>A pixbuf loader.</p></td>
|
389
|
+
<td class="parameter_annotations"> </td>
|
308
390
|
</tr>
|
309
391
|
<tr>
|
310
|
-
<td
|
311
|
-
<td
|
312
|
-
</td>
|
392
|
+
<td class="parameter_name"><p>buf</p></td>
|
393
|
+
<td class="parameter_description"><p> Pointer to image data. </p></td>
|
394
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=count]</span></td>
|
313
395
|
</tr>
|
314
396
|
<tr>
|
315
|
-
<td
|
316
|
-
<td>Length of the <em class="parameter"><code>buf</code></em>
|
397
|
+
<td class="parameter_name"><p>count</p></td>
|
398
|
+
<td class="parameter_description"><p>Length of the <em class="parameter"><code>buf</code></em>
|
399
|
+
buffer in bytes.</p></td>
|
400
|
+
<td class="parameter_annotations"> </td>
|
317
401
|
</tr>
|
318
402
|
<tr>
|
319
|
-
<td
|
320
|
-
<td>return location for errors</td>
|
321
|
-
</
|
322
|
-
<tr>
|
323
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
324
|
-
<td>
|
325
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the write was successful, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the loader
|
326
|
-
cannot parse the buffer.</td>
|
403
|
+
<td class="parameter_name"><p>error</p></td>
|
404
|
+
<td class="parameter_description"><p>return location for errors</p></td>
|
405
|
+
<td class="parameter_annotations"> </td>
|
327
406
|
</tr>
|
328
407
|
</tbody>
|
329
408
|
</table></div>
|
330
409
|
</div>
|
410
|
+
<div class="refsect3">
|
411
|
+
<a name="id-1.2.15.9.6.6"></a><h4>Returns</h4>
|
412
|
+
<p> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the write was successful, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the loader
|
413
|
+
cannot parse the buffer.</p>
|
414
|
+
<p></p>
|
415
|
+
</div>
|
416
|
+
</div>
|
331
417
|
<hr>
|
332
418
|
<div class="refsect2">
|
333
|
-
<a name="gdk-pixbuf-loader-write-bytes"></a><h3>gdk_pixbuf_loader_write_bytes
|
334
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
335
|
-
|
336
|
-
|
337
|
-
<
|
338
|
-
This will cause a pixbuf loader to parse a buffer inside a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a>
|
419
|
+
<a name="gdk-pixbuf-loader-write-bytes"></a><h3>gdk_pixbuf_loader_write_bytes ()</h3>
|
420
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
421
|
+
gdk_pixbuf_loader_write_bytes (<em class="parameter"><code><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader</code></em>,
|
422
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a> *buffer</code></em>,
|
423
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
424
|
+
<p>This will cause a pixbuf loader to parse a buffer inside a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a>
|
339
425
|
for an image. It will return <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the data was loaded successfully,
|
340
426
|
and <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if an error occurred. In the latter case, the loader
|
341
427
|
will be closed, and will not accept further writes. If <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is
|
342
|
-
returned, <em class="parameter"><code>error</code></em>
|
343
|
-
|
344
|
-
</p>
|
345
|
-
<p>
|
346
|
-
|
347
|
-
</
|
348
|
-
<div class="
|
428
|
+
returned, <em class="parameter"><code>error</code></em>
|
429
|
+
will be set to an error from 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>
|
430
|
+
or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a> domains.</p>
|
431
|
+
<p>See also: <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-write" title="gdk_pixbuf_loader_write ()"><code class="function">gdk_pixbuf_loader_write()</code></a></p>
|
432
|
+
<div class="refsect3">
|
433
|
+
<a name="id-1.2.15.9.7.6"></a><h4>Parameters</h4>
|
434
|
+
<div class="informaltable"><table width="100%" border="0">
|
349
435
|
<colgroup>
|
350
|
-
<col
|
351
|
-
<col>
|
436
|
+
<col width="150px" class="parameters_name">
|
437
|
+
<col class="parameters_description">
|
438
|
+
<col width="200px" class="parameters_annotations">
|
352
439
|
</colgroup>
|
353
440
|
<tbody>
|
354
441
|
<tr>
|
355
|
-
<td
|
356
|
-
<td>A pixbuf loader.</td>
|
442
|
+
<td class="parameter_name"><p>loader</p></td>
|
443
|
+
<td class="parameter_description"><p>A pixbuf loader.</p></td>
|
444
|
+
<td class="parameter_annotations"> </td>
|
357
445
|
</tr>
|
358
446
|
<tr>
|
359
|
-
<td
|
360
|
-
<td>The image data as a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a>
|
361
|
-
</td>
|
447
|
+
<td class="parameter_name"><p>buffer</p></td>
|
448
|
+
<td class="parameter_description"><p>The image data as a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a></p></td>
|
449
|
+
<td class="parameter_annotations"> </td>
|
362
450
|
</tr>
|
363
451
|
<tr>
|
364
|
-
<td
|
365
|
-
<td>return location for errors</td>
|
366
|
-
</
|
367
|
-
<tr>
|
368
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
369
|
-
<td>
|
370
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the write was successful, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the loader
|
371
|
-
cannot parse the buffer.</td>
|
452
|
+
<td class="parameter_name"><p>error</p></td>
|
453
|
+
<td class="parameter_description"><p>return location for errors</p></td>
|
454
|
+
<td class="parameter_annotations"> </td>
|
372
455
|
</tr>
|
373
456
|
</tbody>
|
374
457
|
</table></div>
|
458
|
+
</div>
|
459
|
+
<div class="refsect3">
|
460
|
+
<a name="id-1.2.15.9.7.7"></a><h4>Returns</h4>
|
461
|
+
<p> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the write was successful, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the loader
|
462
|
+
cannot parse the buffer.</p>
|
463
|
+
<p></p>
|
464
|
+
</div>
|
375
465
|
<p class="since">Since 2.30</p>
|
376
466
|
</div>
|
377
467
|
<hr>
|
378
468
|
<div class="refsect2">
|
379
|
-
<a name="gdk-pixbuf-loader-set-size"></a><h3>gdk_pixbuf_loader_set_size
|
380
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
381
|
-
|
382
|
-
|
383
|
-
<
|
384
|
-
Causes the image to be scaled while it is loaded. The desired
|
469
|
+
<a name="gdk-pixbuf-loader-set-size"></a><h3>gdk_pixbuf_loader_set_size ()</h3>
|
470
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
471
|
+
gdk_pixbuf_loader_set_size (<em class="parameter"><code><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader</code></em>,
|
472
|
+
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
473
|
+
<em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
|
474
|
+
<p>Causes the image to be scaled while it is loaded. The desired
|
385
475
|
image size can be determined relative to the original size of
|
386
|
-
the image by calling <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-set-size" title="gdk_pixbuf_loader_set_size
|
387
|
-
signal handler for the ::size-prepared signal
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
476
|
+
the image by calling <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-set-size" title="gdk_pixbuf_loader_set_size ()"><code class="function">gdk_pixbuf_loader_set_size()</code></a> from a
|
477
|
+
signal handler for the ::size-prepared signal.</p>
|
478
|
+
<p>Attempts to set the desired image size are ignored after the
|
479
|
+
emission of the ::size-prepared signal.</p>
|
480
|
+
<div class="refsect3">
|
481
|
+
<a name="id-1.2.15.9.8.6"></a><h4>Parameters</h4>
|
482
|
+
<div class="informaltable"><table width="100%" border="0">
|
394
483
|
<colgroup>
|
395
|
-
<col
|
396
|
-
<col>
|
484
|
+
<col width="150px" class="parameters_name">
|
485
|
+
<col class="parameters_description">
|
486
|
+
<col width="200px" class="parameters_annotations">
|
397
487
|
</colgroup>
|
398
488
|
<tbody>
|
399
489
|
<tr>
|
400
|
-
<td
|
401
|
-
<td>A pixbuf loader.</td>
|
490
|
+
<td class="parameter_name"><p>loader</p></td>
|
491
|
+
<td class="parameter_description"><p>A pixbuf loader.</p></td>
|
492
|
+
<td class="parameter_annotations"> </td>
|
402
493
|
</tr>
|
403
494
|
<tr>
|
404
|
-
<td
|
405
|
-
<td>The desired width of the image being loaded.</td>
|
495
|
+
<td class="parameter_name"><p>width</p></td>
|
496
|
+
<td class="parameter_description"><p>The desired width of the image being loaded.</p></td>
|
497
|
+
<td class="parameter_annotations"> </td>
|
406
498
|
</tr>
|
407
499
|
<tr>
|
408
|
-
<td
|
409
|
-
<td>The desired height of the image being loaded.</td>
|
500
|
+
<td class="parameter_name"><p>height</p></td>
|
501
|
+
<td class="parameter_description"><p>The desired height of the image being loaded.</p></td>
|
502
|
+
<td class="parameter_annotations"> </td>
|
410
503
|
</tr>
|
411
504
|
</tbody>
|
412
505
|
</table></div>
|
506
|
+
</div>
|
413
507
|
<p class="since">Since 2.2</p>
|
414
508
|
</div>
|
415
509
|
<hr>
|
416
510
|
<div class="refsect2">
|
417
|
-
<a name="gdk-pixbuf-loader-get-pixbuf"></a><h3>gdk_pixbuf_loader_get_pixbuf
|
418
|
-
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a>
|
419
|
-
<
|
420
|
-
Queries the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> that a pixbuf loader is currently creating.
|
511
|
+
<a name="gdk-pixbuf-loader-get-pixbuf"></a><h3>gdk_pixbuf_loader_get_pixbuf ()</h3>
|
512
|
+
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
|
513
|
+
gdk_pixbuf_loader_get_pixbuf (<em class="parameter"><code><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader</code></em>);</pre>
|
514
|
+
<p>Queries the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> that a pixbuf loader is currently creating.
|
421
515
|
In general it only makes sense to call this function after the
|
422
516
|
"area-prepared" signal has been emitted by the loader; this means
|
423
517
|
that enough data has been read to know the size of the image that
|
424
518
|
will be allocated. If the loader has not received enough data via
|
425
|
-
<a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-write" title="gdk_pixbuf_loader_write
|
519
|
+
<a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-write" title="gdk_pixbuf_loader_write ()"><code class="function">gdk_pixbuf_loader_write()</code></a>, then this function returns <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. The
|
426
520
|
returned pixbuf will be the same in all future calls to the loader,
|
427
521
|
so simply calling <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> should be sufficient to continue
|
428
522
|
using it. Additionally, if the loader is an animation, it will
|
429
523
|
return the "static image" of the animation
|
430
|
-
(see <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-get-static-image" title="gdk_pixbuf_animation_get_static_image
|
431
|
-
|
432
|
-
<
|
524
|
+
(see <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>).</p>
|
525
|
+
<div class="refsect3">
|
526
|
+
<a name="id-1.2.15.9.9.5"></a><h4>Parameters</h4>
|
527
|
+
<div class="informaltable"><table width="100%" border="0">
|
433
528
|
<colgroup>
|
434
|
-
<col
|
435
|
-
<col>
|
529
|
+
<col width="150px" class="parameters_name">
|
530
|
+
<col class="parameters_description">
|
531
|
+
<col width="200px" class="parameters_annotations">
|
436
532
|
</colgroup>
|
437
|
-
<tbody>
|
438
|
-
<
|
439
|
-
<td
|
440
|
-
<td>
|
441
|
-
</tr>
|
442
|
-
<tr>
|
443
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
444
|
-
<td>The <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> that the loader is creating, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not
|
445
|
-
enough data has been read to determine how to create the image buffer. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
446
|
-
</td>
|
447
|
-
</tr>
|
448
|
-
</tbody>
|
533
|
+
<tbody><tr>
|
534
|
+
<td class="parameter_name"><p>loader</p></td>
|
535
|
+
<td class="parameter_description"><p>A pixbuf loader.</p></td>
|
536
|
+
<td class="parameter_annotations"> </td>
|
537
|
+
</tr></tbody>
|
449
538
|
</table></div>
|
450
539
|
</div>
|
540
|
+
<div class="refsect3">
|
541
|
+
<a name="id-1.2.15.9.9.6"></a><h4>Returns</h4>
|
542
|
+
<p> The <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> that the loader is creating, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not
|
543
|
+
enough data has been read to determine how to create the image buffer. </p>
|
544
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
545
|
+
</div>
|
546
|
+
</div>
|
451
547
|
<hr>
|
452
548
|
<div class="refsect2">
|
453
|
-
<a name="gdk-pixbuf-loader-get-animation"></a><h3>gdk_pixbuf_loader_get_animation
|
454
|
-
<pre class="programlisting"><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="returnvalue">GdkPixbufAnimation</span></a>
|
455
|
-
<
|
456
|
-
Queries the <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> that a pixbuf loader is currently creating.
|
549
|
+
<a name="gdk-pixbuf-loader-get-animation"></a><h3>gdk_pixbuf_loader_get_animation ()</h3>
|
550
|
+
<pre class="programlisting"><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="returnvalue">GdkPixbufAnimation</span></a> *
|
551
|
+
gdk_pixbuf_loader_get_animation (<em class="parameter"><code><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader</code></em>);</pre>
|
552
|
+
<p>Queries the <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> that a pixbuf loader is currently creating.
|
457
553
|
In general it only makes sense to call this function after the "area-prepared"
|
458
554
|
signal has been emitted by the loader. If the loader doesn't have enough
|
459
555
|
bytes yet (hasn't emitted the "area-prepared" signal) this function will
|
460
|
-
return <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a
|
461
|
-
|
462
|
-
<
|
556
|
+
return <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
557
|
+
<div class="refsect3">
|
558
|
+
<a name="id-1.2.15.9.10.5"></a><h4>Parameters</h4>
|
559
|
+
<div class="informaltable"><table width="100%" border="0">
|
463
560
|
<colgroup>
|
464
|
-
<col
|
465
|
-
<col>
|
561
|
+
<col width="150px" class="parameters_name">
|
562
|
+
<col class="parameters_description">
|
563
|
+
<col width="200px" class="parameters_annotations">
|
466
564
|
</colgroup>
|
467
|
-
<tbody>
|
468
|
-
<
|
469
|
-
<td
|
470
|
-
<td>
|
471
|
-
</tr>
|
472
|
-
<tr>
|
473
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
474
|
-
<td>The <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> that the loader is loading, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
|
475
|
-
not enough data has been read to determine the information. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
476
|
-
</td>
|
477
|
-
</tr>
|
478
|
-
</tbody>
|
565
|
+
<tbody><tr>
|
566
|
+
<td class="parameter_name"><p>loader</p></td>
|
567
|
+
<td class="parameter_description"><p>A pixbuf loader</p></td>
|
568
|
+
<td class="parameter_annotations"> </td>
|
569
|
+
</tr></tbody>
|
479
570
|
</table></div>
|
480
571
|
</div>
|
572
|
+
<div class="refsect3">
|
573
|
+
<a name="id-1.2.15.9.10.6"></a><h4>Returns</h4>
|
574
|
+
<p> The <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> that the loader is loading, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
|
575
|
+
not enough data has been read to determine the information. </p>
|
576
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
577
|
+
</div>
|
578
|
+
</div>
|
481
579
|
<hr>
|
482
580
|
<div class="refsect2">
|
483
|
-
<a name="gdk-pixbuf-loader-close"></a><h3>gdk_pixbuf_loader_close
|
484
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
485
|
-
|
486
|
-
<
|
487
|
-
Informs a pixbuf loader that no further writes with
|
488
|
-
<a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-write" title="gdk_pixbuf_loader_write
|
581
|
+
<a name="gdk-pixbuf-loader-close"></a><h3>gdk_pixbuf_loader_close ()</h3>
|
582
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
583
|
+
gdk_pixbuf_loader_close (<em class="parameter"><code><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader</code></em>,
|
584
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
585
|
+
<p>Informs a pixbuf loader that no further writes with
|
586
|
+
<a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-write" title="gdk_pixbuf_loader_write ()"><code class="function">gdk_pixbuf_loader_write()</code></a> will occur, so that it can free its
|
489
587
|
internal loading structures. Also, tries to parse any data that
|
490
588
|
hasn't yet been parsed; if the remaining data is partial or
|
491
589
|
corrupt, an error will be returned. If <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned, <em class="parameter"><code>error</code></em>
|
590
|
+
|
492
591
|
will be set to an error from 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> or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a>
|
493
592
|
domains. If you're just cancelling a load rather than expecting it
|
494
|
-
to be finished, passing <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for <em class="parameter"><code>error</code></em>
|
495
|
-
|
496
|
-
|
497
|
-
<p>
|
498
|
-
|
499
|
-
|
500
|
-
</
|
501
|
-
<div class="
|
593
|
+
to be finished, passing <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for <em class="parameter"><code>error</code></em>
|
594
|
+
to ignore it is
|
595
|
+
reasonable.</p>
|
596
|
+
<p>Remember that this does not unref the loader, so if you plan not to
|
597
|
+
use it anymore, please <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> it.</p>
|
598
|
+
<div class="refsect3">
|
599
|
+
<a name="id-1.2.15.9.11.6"></a><h4>Parameters</h4>
|
600
|
+
<div class="informaltable"><table width="100%" border="0">
|
502
601
|
<colgroup>
|
503
|
-
<col
|
504
|
-
<col>
|
602
|
+
<col width="150px" class="parameters_name">
|
603
|
+
<col class="parameters_description">
|
604
|
+
<col width="200px" class="parameters_annotations">
|
505
605
|
</colgroup>
|
506
606
|
<tbody>
|
507
607
|
<tr>
|
508
|
-
<td
|
509
|
-
<td>A pixbuf loader.</td>
|
510
|
-
</
|
511
|
-
<tr>
|
512
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
513
|
-
<td>return location for a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore errors. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
514
|
-
</td>
|
608
|
+
<td class="parameter_name"><p>loader</p></td>
|
609
|
+
<td class="parameter_description"><p>A pixbuf loader.</p></td>
|
610
|
+
<td class="parameter_annotations"> </td>
|
515
611
|
</tr>
|
516
612
|
<tr>
|
517
|
-
<td
|
518
|
-
<td>
|
519
|
-
<
|
520
|
-
passed out via the update_area signal</td>
|
613
|
+
<td class="parameter_name"><p>error</p></td>
|
614
|
+
<td class="parameter_description"><p> return location for a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore errors. </p></td>
|
615
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
521
616
|
</tr>
|
522
617
|
</tbody>
|
523
618
|
</table></div>
|
524
619
|
</div>
|
620
|
+
<div class="refsect3">
|
621
|
+
<a name="id-1.2.15.9.11.7"></a><h4>Returns</h4>
|
622
|
+
<p> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if all image data written so far was successfully
|
623
|
+
passed out via the update_area signal</p>
|
624
|
+
<p></p>
|
625
|
+
</div>
|
626
|
+
</div>
|
627
|
+
</div>
|
628
|
+
<div class="refsect1">
|
629
|
+
<a name="GdkPixbufLoader.other_details"></a><h2>Types and Values</h2>
|
630
|
+
<div class="refsect2">
|
631
|
+
<a name="GdkPixbufLoader-struct"></a><h3>struct GdkPixbufLoader</h3>
|
632
|
+
<pre class="programlisting">struct GdkPixbufLoader;</pre>
|
633
|
+
<p>The <structname>GdkPixbufLoader</structname> struct contains only private
|
634
|
+
fields.</p>
|
635
|
+
</div>
|
525
636
|
</div>
|
526
637
|
<div class="refsect1">
|
527
638
|
<a name="GdkPixbufLoader.signal-details"></a><h2>Signal Details</h2>
|
528
639
|
<div class="refsect2">
|
529
|
-
<a name="GdkPixbufLoader-area-prepared"></a><h3>The <code class="literal"
|
530
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
531
|
-
|
532
|
-
<
|
533
|
-
This signal is emitted when the pixbuf loader has allocated the
|
640
|
+
<a name="GdkPixbufLoader-area-prepared"></a><h3>The <code class="literal">“area-prepared”</code> signal</h3>
|
641
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
642
|
+
user_function (<a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader,
|
643
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
644
|
+
<p>This signal is emitted when the pixbuf loader has allocated the
|
534
645
|
|
535
646
|
pixbuf in the desired size. After this signal is emitted,
|
536
647
|
|
537
|
-
applications can call <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-get-pixbuf" title="gdk_pixbuf_loader_get_pixbuf
|
648
|
+
applications can call <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-get-pixbuf" title="gdk_pixbuf_loader_get_pixbuf ()"><code class="function">gdk_pixbuf_loader_get_pixbuf()</code></a> to fetch
|
538
649
|
|
539
|
-
the partially-loaded pixbuf
|
540
|
-
|
541
|
-
<
|
650
|
+
the partially-loaded pixbuf.</p>
|
651
|
+
<div class="refsect3">
|
652
|
+
<a name="id-1.2.15.11.2.5"></a><h4>Parameters</h4>
|
653
|
+
<div class="informaltable"><table width="100%" border="0">
|
542
654
|
<colgroup>
|
543
|
-
<col
|
544
|
-
<col>
|
655
|
+
<col width="150px" class="parameters_name">
|
656
|
+
<col class="parameters_description">
|
657
|
+
<col width="200px" class="parameters_annotations">
|
545
658
|
</colgroup>
|
546
659
|
<tbody>
|
547
660
|
<tr>
|
548
|
-
<td
|
549
|
-
<td>the object which received the signal.</td>
|
661
|
+
<td class="parameter_name"><p>loader</p></td>
|
662
|
+
<td class="parameter_description"><p>the object which received the signal.</p></td>
|
663
|
+
<td class="parameter_annotations"> </td>
|
550
664
|
</tr>
|
551
665
|
<tr>
|
552
|
-
<td
|
553
|
-
<td>user data set when the signal handler was connected.</td>
|
666
|
+
<td class="parameter_name"><p>user_data</p></td>
|
667
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
668
|
+
<td class="parameter_annotations"> </td>
|
554
669
|
</tr>
|
555
670
|
</tbody>
|
556
671
|
</table></div>
|
557
672
|
</div>
|
673
|
+
<p>Flags: Run Last</p>
|
674
|
+
</div>
|
558
675
|
<hr>
|
559
676
|
<div class="refsect2">
|
560
|
-
<a name="GdkPixbufLoader-area-updated"></a><h3>The <code class="literal"
|
561
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
<
|
568
|
-
This signal is emitted when a significant area of the image being
|
677
|
+
<a name="GdkPixbufLoader-area-updated"></a><h3>The <code class="literal">“area-updated”</code> signal</h3>
|
678
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
679
|
+
user_function (<a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader,
|
680
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x,
|
681
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y,
|
682
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width,
|
683
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height,
|
684
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
685
|
+
<p>This signal is emitted when a significant area of the image being
|
569
686
|
loaded has been updated. Normally it means that a complete
|
570
687
|
scanline has been read in, but it could be a different area as
|
571
688
|
well. Applications can use this signal to know when to repaint
|
572
|
-
areas of an image that is being loaded
|
573
|
-
|
574
|
-
<
|
689
|
+
areas of an image that is being loaded.</p>
|
690
|
+
<div class="refsect3">
|
691
|
+
<a name="id-1.2.15.11.3.5"></a><h4>Parameters</h4>
|
692
|
+
<div class="informaltable"><table width="100%" border="0">
|
575
693
|
<colgroup>
|
576
|
-
<col
|
577
|
-
<col>
|
694
|
+
<col width="150px" class="parameters_name">
|
695
|
+
<col class="parameters_description">
|
696
|
+
<col width="200px" class="parameters_annotations">
|
578
697
|
</colgroup>
|
579
698
|
<tbody>
|
580
699
|
<tr>
|
581
|
-
<td
|
582
|
-
<td>the object which received the signal.</td>
|
700
|
+
<td class="parameter_name"><p>loader</p></td>
|
701
|
+
<td class="parameter_description"><p>the object which received the signal.</p></td>
|
702
|
+
<td class="parameter_annotations"> </td>
|
583
703
|
</tr>
|
584
704
|
<tr>
|
585
|
-
<td
|
586
|
-
<td>X offset of upper-left corner of the updated area.</td>
|
705
|
+
<td class="parameter_name"><p>x</p></td>
|
706
|
+
<td class="parameter_description"><p>X offset of upper-left corner of the updated area.</p></td>
|
707
|
+
<td class="parameter_annotations"> </td>
|
587
708
|
</tr>
|
588
709
|
<tr>
|
589
|
-
<td
|
590
|
-
<td>Y offset of upper-left corner of the updated area.</td>
|
710
|
+
<td class="parameter_name"><p>y</p></td>
|
711
|
+
<td class="parameter_description"><p>Y offset of upper-left corner of the updated area.</p></td>
|
712
|
+
<td class="parameter_annotations"> </td>
|
591
713
|
</tr>
|
592
714
|
<tr>
|
593
|
-
<td
|
594
|
-
<td>Width of updated area.</td>
|
715
|
+
<td class="parameter_name"><p>width</p></td>
|
716
|
+
<td class="parameter_description"><p>Width of updated area.</p></td>
|
717
|
+
<td class="parameter_annotations"> </td>
|
595
718
|
</tr>
|
596
719
|
<tr>
|
597
|
-
<td
|
598
|
-
<td>Height of updated area.</td>
|
720
|
+
<td class="parameter_name"><p>height</p></td>
|
721
|
+
<td class="parameter_description"><p>Height of updated area.</p></td>
|
722
|
+
<td class="parameter_annotations"> </td>
|
599
723
|
</tr>
|
600
724
|
<tr>
|
601
|
-
<td
|
602
|
-
<td>user data set when the signal handler was connected.</td>
|
725
|
+
<td class="parameter_name"><p>user_data</p></td>
|
726
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
727
|
+
<td class="parameter_annotations"> </td>
|
603
728
|
</tr>
|
604
729
|
</tbody>
|
605
730
|
</table></div>
|
606
731
|
</div>
|
732
|
+
<p>Flags: Run Last</p>
|
733
|
+
</div>
|
607
734
|
<hr>
|
608
735
|
<div class="refsect2">
|
609
|
-
<a name="GdkPixbufLoader-closed"></a><h3>The <code class="literal"
|
610
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
611
|
-
|
612
|
-
<
|
613
|
-
This signal is emitted when <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-close" title="gdk_pixbuf_loader_close
|
736
|
+
<a name="GdkPixbufLoader-closed"></a><h3>The <code class="literal">“closed”</code> signal</h3>
|
737
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
738
|
+
user_function (<a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader,
|
739
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
740
|
+
<p>This signal is emitted when <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-close" title="gdk_pixbuf_loader_close ()"><code class="function">gdk_pixbuf_loader_close()</code></a> is called.
|
614
741
|
It can be used by different parts of an application to receive
|
615
742
|
notification when an image loader is closed by the code that
|
616
|
-
drives it
|
617
|
-
|
618
|
-
<
|
743
|
+
drives it.</p>
|
744
|
+
<div class="refsect3">
|
745
|
+
<a name="id-1.2.15.11.4.5"></a><h4>Parameters</h4>
|
746
|
+
<div class="informaltable"><table width="100%" border="0">
|
619
747
|
<colgroup>
|
620
|
-
<col
|
621
|
-
<col>
|
748
|
+
<col width="150px" class="parameters_name">
|
749
|
+
<col class="parameters_description">
|
750
|
+
<col width="200px" class="parameters_annotations">
|
622
751
|
</colgroup>
|
623
752
|
<tbody>
|
624
753
|
<tr>
|
625
|
-
<td
|
626
|
-
<td>the object which received the signal.</td>
|
754
|
+
<td class="parameter_name"><p>loader</p></td>
|
755
|
+
<td class="parameter_description"><p>the object which received the signal.</p></td>
|
756
|
+
<td class="parameter_annotations"> </td>
|
627
757
|
</tr>
|
628
758
|
<tr>
|
629
|
-
<td
|
630
|
-
<td>user data set when the signal handler was connected.</td>
|
759
|
+
<td class="parameter_name"><p>user_data</p></td>
|
760
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
761
|
+
<td class="parameter_annotations"> </td>
|
631
762
|
</tr>
|
632
763
|
</tbody>
|
633
764
|
</table></div>
|
634
765
|
</div>
|
766
|
+
<p>Flags: Run Last</p>
|
767
|
+
</div>
|
635
768
|
<hr>
|
636
769
|
<div class="refsect2">
|
637
|
-
<a name="GdkPixbufLoader-size-prepared"></a><h3>The <code class="literal"
|
638
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
<
|
643
|
-
This signal is emitted when the pixbuf loader has been fed the
|
770
|
+
<a name="GdkPixbufLoader-size-prepared"></a><h3>The <code class="literal">“size-prepared”</code> signal</h3>
|
771
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
772
|
+
user_function (<a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader,
|
773
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width,
|
774
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height,
|
775
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
776
|
+
<p>This signal is emitted when the pixbuf loader has been fed the
|
644
777
|
initial amount of data that is required to figure out the size
|
645
778
|
of the image that it will create. Applications can call
|
646
779
|
|
647
|
-
<a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-set-size" title="gdk_pixbuf_loader_set_size
|
648
|
-
the desired size to which the image should be scaled
|
649
|
-
|
650
|
-
<
|
780
|
+
<a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-set-size" title="gdk_pixbuf_loader_set_size ()"><code class="function">gdk_pixbuf_loader_set_size()</code></a> in response to this signal to set
|
781
|
+
the desired size to which the image should be scaled.</p>
|
782
|
+
<div class="refsect3">
|
783
|
+
<a name="id-1.2.15.11.5.5"></a><h4>Parameters</h4>
|
784
|
+
<div class="informaltable"><table width="100%" border="0">
|
651
785
|
<colgroup>
|
652
|
-
<col
|
653
|
-
<col>
|
786
|
+
<col width="150px" class="parameters_name">
|
787
|
+
<col class="parameters_description">
|
788
|
+
<col width="200px" class="parameters_annotations">
|
654
789
|
</colgroup>
|
655
790
|
<tbody>
|
656
791
|
<tr>
|
657
|
-
<td
|
658
|
-
<td>the object which received the signal.</td>
|
792
|
+
<td class="parameter_name"><p>loader</p></td>
|
793
|
+
<td class="parameter_description"><p>the object which received the signal.</p></td>
|
794
|
+
<td class="parameter_annotations"> </td>
|
659
795
|
</tr>
|
660
796
|
<tr>
|
661
|
-
<td
|
662
|
-
<td>the original width of the image</td>
|
797
|
+
<td class="parameter_name"><p>width</p></td>
|
798
|
+
<td class="parameter_description"><p>the original width of the image</p></td>
|
799
|
+
<td class="parameter_annotations"> </td>
|
663
800
|
</tr>
|
664
801
|
<tr>
|
665
|
-
<td
|
666
|
-
<td>the original height of the image</td>
|
802
|
+
<td class="parameter_name"><p>height</p></td>
|
803
|
+
<td class="parameter_description"><p>the original height of the image</p></td>
|
804
|
+
<td class="parameter_annotations"> </td>
|
667
805
|
</tr>
|
668
806
|
<tr>
|
669
|
-
<td
|
670
|
-
<td>user data set when the signal handler was connected.</td>
|
807
|
+
<td class="parameter_name"><p>user_data</p></td>
|
808
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
809
|
+
<td class="parameter_annotations"> </td>
|
671
810
|
</tr>
|
672
811
|
</tbody>
|
673
812
|
</table></div>
|
674
813
|
</div>
|
814
|
+
<p>Flags: Run Last</p>
|
815
|
+
</div>
|
675
816
|
</div>
|
676
817
|
<div class="refsect1">
|
677
818
|
<a name="GdkPixbufLoader.see-also"></a><h2>See Also</h2>
|
678
|
-
gdk_pixbuf_new_from_file(), <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-new-from-file" title="gdk_pixbuf_animation_new_from_file
|
819
|
+
<p>gdk_pixbuf_new_from_file(), <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></p>
|
679
820
|
</div>
|
680
821
|
</div>
|
681
822
|
<div class="footer">
|
682
823
|
<hr>
|
683
|
-
Generated by GTK-Doc V1.
|
824
|
+
Generated by GTK-Doc V1.20.1</div>
|
684
825
|
</body>
|
685
826
|
</html>
|