gdk_pixbuf2 2.1.0-x86-mingw32 → 2.2.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/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
@@ -8,15 +8,14 @@
|
|
8
8
|
<link rel="up" href="rn01.html" title="API Reference">
|
9
9
|
<link rel="prev" href="GdkPixbufLoader.html" title="GdkPixbufLoader">
|
10
10
|
<link rel="next" href="gdk-pixbuf-gdk-pixbuf-Xlib-initialization.html" title="gdk-pixbuf Xlib initialization">
|
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="#gdk-pixbuf-Module-Interface.description" class="shortcut">Description</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="#gdk-pixbuf-Module-Interface.description" class="shortcut">Description</a></span>
|
20
19
|
</td>
|
21
20
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
22
21
|
<td><a accesskey="u" href="rn01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
@@ -30,473 +29,832 @@
|
|
30
29
|
<h2><span class="refentrytitle"><a name="gdk-pixbuf-Module-Interface.top_of_page"></a>Module Interface</span></h2>
|
31
30
|
<p>Module Interface — Extending GdkPixBuf</p>
|
32
31
|
</td>
|
33
|
-
<td valign="top" align="right"></td>
|
32
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
34
33
|
</tr></table></div>
|
35
|
-
<div class="
|
36
|
-
<a name="gdk-pixbuf-Module-Interface.
|
37
|
-
<
|
38
|
-
|
39
|
-
|
40
|
-
<
|
41
|
-
|
42
|
-
|
43
|
-
<
|
44
|
-
<
|
45
|
-
<
|
46
|
-
|
47
|
-
<
|
48
|
-
<a
|
49
|
-
|
50
|
-
|
51
|
-
<
|
52
|
-
<
|
53
|
-
<
|
54
|
-
|
55
|
-
<
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
<
|
60
|
-
<
|
61
|
-
<
|
62
|
-
|
63
|
-
|
64
|
-
<
|
65
|
-
|
66
|
-
|
67
|
-
<
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
34
|
+
<div class="refsect1">
|
35
|
+
<a name="gdk-pixbuf-Module-Interface.functions"></a><h2>Functions</h2>
|
36
|
+
<div class="informaltable"><table width="100%" border="0">
|
37
|
+
<colgroup>
|
38
|
+
<col width="150px" class="functions_return">
|
39
|
+
<col class="functions_name">
|
40
|
+
</colgroup>
|
41
|
+
<tbody>
|
42
|
+
<tr>
|
43
|
+
<td class="function_type">
|
44
|
+
<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>
|
45
|
+
</td>
|
46
|
+
<td class="function_name">
|
47
|
+
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-set-option" title="gdk_pixbuf_set_option ()">gdk_pixbuf_set_option</a> <span class="c_punctuation">()</span>
|
48
|
+
</td>
|
49
|
+
</tr>
|
50
|
+
<tr>
|
51
|
+
<td class="function_type">
|
52
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
53
|
+
</td>
|
54
|
+
<td class="function_name">
|
55
|
+
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-get-formats" title="gdk_pixbuf_get_formats ()">gdk_pixbuf_get_formats</a> <span class="c_punctuation">()</span>
|
56
|
+
</td>
|
57
|
+
</tr>
|
58
|
+
<tr>
|
59
|
+
<td class="function_type">
|
60
|
+
<a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="returnvalue">GdkPixbufFormat</span></a> *
|
61
|
+
</td>
|
62
|
+
<td class="function_name">
|
63
|
+
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-copy" title="gdk_pixbuf_format_copy ()">gdk_pixbuf_format_copy</a> <span class="c_punctuation">()</span>
|
64
|
+
</td>
|
65
|
+
</tr>
|
66
|
+
<tr>
|
67
|
+
<td class="function_type">
|
68
|
+
<span class="returnvalue">void</span>
|
69
|
+
</td>
|
70
|
+
<td class="function_name">
|
71
|
+
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-free" title="gdk_pixbuf_format_free ()">gdk_pixbuf_format_free</a> <span class="c_punctuation">()</span>
|
72
|
+
</td>
|
73
|
+
</tr>
|
74
|
+
<tr>
|
75
|
+
<td class="function_type">
|
76
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
77
|
+
</td>
|
78
|
+
<td class="function_name">
|
79
|
+
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-get-name" title="gdk_pixbuf_format_get_name ()">gdk_pixbuf_format_get_name</a> <span class="c_punctuation">()</span>
|
80
|
+
</td>
|
81
|
+
</tr>
|
82
|
+
<tr>
|
83
|
+
<td class="function_type">
|
84
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
85
|
+
</td>
|
86
|
+
<td class="function_name">
|
87
|
+
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-get-description" title="gdk_pixbuf_format_get_description ()">gdk_pixbuf_format_get_description</a> <span class="c_punctuation">()</span>
|
88
|
+
</td>
|
89
|
+
</tr>
|
90
|
+
<tr>
|
91
|
+
<td class="function_type">
|
92
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
|
93
|
+
</td>
|
94
|
+
<td class="function_name">
|
95
|
+
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-get-mime-types" title="gdk_pixbuf_format_get_mime_types ()">gdk_pixbuf_format_get_mime_types</a> <span class="c_punctuation">()</span>
|
96
|
+
</td>
|
97
|
+
</tr>
|
98
|
+
<tr>
|
99
|
+
<td class="function_type">
|
100
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
|
101
|
+
</td>
|
102
|
+
<td class="function_name">
|
103
|
+
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-get-extensions" title="gdk_pixbuf_format_get_extensions ()">gdk_pixbuf_format_get_extensions</a> <span class="c_punctuation">()</span>
|
104
|
+
</td>
|
105
|
+
</tr>
|
106
|
+
<tr>
|
107
|
+
<td class="function_type">
|
108
|
+
<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>
|
109
|
+
</td>
|
110
|
+
<td class="function_name">
|
111
|
+
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-is-writable" title="gdk_pixbuf_format_is_writable ()">gdk_pixbuf_format_is_writable</a> <span class="c_punctuation">()</span>
|
112
|
+
</td>
|
113
|
+
</tr>
|
114
|
+
<tr>
|
115
|
+
<td class="function_type">
|
116
|
+
<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>
|
117
|
+
</td>
|
118
|
+
<td class="function_name">
|
119
|
+
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-is-scalable" title="gdk_pixbuf_format_is_scalable ()">gdk_pixbuf_format_is_scalable</a> <span class="c_punctuation">()</span>
|
120
|
+
</td>
|
121
|
+
</tr>
|
122
|
+
<tr>
|
123
|
+
<td class="function_type">
|
124
|
+
<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>
|
125
|
+
</td>
|
126
|
+
<td class="function_name">
|
127
|
+
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-is-disabled" title="gdk_pixbuf_format_is_disabled ()">gdk_pixbuf_format_is_disabled</a> <span class="c_punctuation">()</span>
|
128
|
+
</td>
|
129
|
+
</tr>
|
130
|
+
<tr>
|
131
|
+
<td class="function_type">
|
132
|
+
<span class="returnvalue">void</span>
|
133
|
+
</td>
|
134
|
+
<td class="function_name">
|
135
|
+
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-set-disabled" title="gdk_pixbuf_format_set_disabled ()">gdk_pixbuf_format_set_disabled</a> <span class="c_punctuation">()</span>
|
136
|
+
</td>
|
137
|
+
</tr>
|
138
|
+
<tr>
|
139
|
+
<td class="function_type">
|
140
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
141
|
+
</td>
|
142
|
+
<td class="function_name">
|
143
|
+
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-get-license" title="gdk_pixbuf_format_get_license ()">gdk_pixbuf_format_get_license</a> <span class="c_punctuation">()</span>
|
144
|
+
</td>
|
145
|
+
</tr>
|
146
|
+
<tr>
|
147
|
+
<td class="function_type">
|
148
|
+
<span class="returnvalue">void</span>
|
149
|
+
</td>
|
150
|
+
<td class="function_name">
|
151
|
+
<span class="c_punctuation">(</span><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModuleFillVtableFunc" title="GdkPixbufModuleFillVtableFunc ()">*GdkPixbufModuleFillVtableFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
|
152
|
+
</td>
|
153
|
+
</tr>
|
154
|
+
<tr>
|
155
|
+
<td class="function_type">
|
156
|
+
<span class="returnvalue">void</span>
|
157
|
+
</td>
|
158
|
+
<td class="function_name">
|
159
|
+
<span class="c_punctuation">(</span><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModuleFillInfoFunc" title="GdkPixbufModuleFillInfoFunc ()">*GdkPixbufModuleFillInfoFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
|
160
|
+
</td>
|
161
|
+
</tr>
|
162
|
+
<tr>
|
163
|
+
<td class="function_type">
|
164
|
+
<span class="returnvalue">void</span>
|
165
|
+
</td>
|
166
|
+
<td class="function_name">
|
167
|
+
<span class="c_punctuation">(</span><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModuleSizeFunc" title="GdkPixbufModuleSizeFunc ()">*GdkPixbufModuleSizeFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
|
168
|
+
</td>
|
169
|
+
</tr>
|
170
|
+
<tr>
|
171
|
+
<td class="function_type">
|
172
|
+
<span class="returnvalue">void</span>
|
173
|
+
</td>
|
174
|
+
<td class="function_name">
|
175
|
+
<span class="c_punctuation">(</span><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModulePreparedFunc" title="GdkPixbufModulePreparedFunc ()">*GdkPixbufModulePreparedFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
|
176
|
+
</td>
|
177
|
+
</tr>
|
178
|
+
<tr>
|
179
|
+
<td class="function_type">
|
180
|
+
<span class="returnvalue">void</span>
|
181
|
+
</td>
|
182
|
+
<td class="function_name">
|
183
|
+
<span class="c_punctuation">(</span><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModuleUpdatedFunc" title="GdkPixbufModuleUpdatedFunc ()">*GdkPixbufModuleUpdatedFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
|
184
|
+
</td>
|
185
|
+
</tr>
|
186
|
+
</tbody>
|
187
|
+
</table></div>
|
188
|
+
</div>
|
189
|
+
<div class="refsect1">
|
190
|
+
<a name="gdk-pixbuf-Module-Interface.other"></a><h2>Types and Values</h2>
|
191
|
+
<div class="informaltable"><table width="100%" border="0">
|
192
|
+
<colgroup>
|
193
|
+
<col width="150px" class="name">
|
194
|
+
<col class="description">
|
195
|
+
</colgroup>
|
196
|
+
<tbody>
|
197
|
+
<tr>
|
198
|
+
<td class="datatype_keyword">struct</td>
|
199
|
+
<td class="function_name"><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat">GdkPixbufFormat</a></td>
|
200
|
+
</tr>
|
201
|
+
<tr>
|
202
|
+
<td class="datatype_keyword">enum</td>
|
203
|
+
<td class="function_name"><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormatFlags" title="enum GdkPixbufFormatFlags">GdkPixbufFormatFlags</a></td>
|
204
|
+
</tr>
|
205
|
+
<tr>
|
206
|
+
<td class="datatype_keyword">struct</td>
|
207
|
+
<td class="function_name"><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModulePattern" title="struct GdkPixbufModulePattern">GdkPixbufModulePattern</a></td>
|
208
|
+
</tr>
|
209
|
+
<tr>
|
210
|
+
<td class="datatype_keyword">struct</td>
|
211
|
+
<td class="function_name"><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModule" title="struct GdkPixbufModule">GdkPixbufModule</a></td>
|
212
|
+
</tr>
|
213
|
+
<tr>
|
214
|
+
<td class="datatype_keyword">struct</td>
|
215
|
+
<td class="function_name"><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufAnimationClass" title="struct GdkPixbufAnimationClass">GdkPixbufAnimationClass</a></td>
|
216
|
+
</tr>
|
217
|
+
<tr>
|
218
|
+
<td class="datatype_keyword">struct</td>
|
219
|
+
<td class="function_name"><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufAnimationIterClass" title="struct GdkPixbufAnimationIterClass">GdkPixbufAnimationIterClass</a></td>
|
220
|
+
</tr>
|
221
|
+
</tbody>
|
222
|
+
</table></div>
|
223
|
+
</div>
|
224
|
+
<div class="refsect1">
|
225
|
+
<a name="gdk-pixbuf-Module-Interface.includes"></a><h2>Includes</h2>
|
226
|
+
<pre class="synopsis">#include <gdk-pixbuf/gdk-pixbuf.h>
|
77
227
|
</pre>
|
78
228
|
</div>
|
79
229
|
<div class="refsect1">
|
80
230
|
<a name="gdk-pixbuf-Module-Interface.description"></a><h2>Description</h2>
|
81
|
-
<p>
|
82
|
-
If GdkPixBuf has been compiled with GModule support, it can be extended by
|
231
|
+
<p>If GdkPixBuf has been compiled with GModule support, it can be extended by
|
83
232
|
modules which can load (and perhaps also save) new image and animation
|
84
233
|
formats. Each loadable module must export a
|
85
|
-
<a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModuleFillInfoFunc" title="GdkPixbufModuleFillInfoFunc
|
86
|
-
a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModuleFillVtableFunc" title="GdkPixbufModuleFillVtableFunc
|
87
|
-
<code class="
|
88
|
-
|
89
|
-
<p>
|
90
|
-
In order to make format-checking work before actually loading the modules
|
234
|
+
<a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModuleFillInfoFunc" title="GdkPixbufModuleFillInfoFunc ()"><span class="type">GdkPixbufModuleFillInfoFunc</span></a> function named <code class="literal">fill_info</code> and
|
235
|
+
a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModuleFillVtableFunc" title="GdkPixbufModuleFillVtableFunc ()"><span class="type">GdkPixbufModuleFillVtableFunc</span></a> function named
|
236
|
+
<code class="literal">fill_vtable</code>.</p>
|
237
|
+
<p>In order to make format-checking work before actually loading the modules
|
91
238
|
(which may require dlopening image libraries), modules export their
|
92
|
-
signatures (and other information) via the <code class="
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
<p>
|
99
|
-
Modules may only implement a subset of the functionality available via
|
239
|
+
signatures (and other information) via the <code class="literal">fill_info</code> function. An
|
240
|
+
external utility, gdk-pixbuf-query-loaders, uses this to create a text
|
241
|
+
file containing a list of all available loaders and their signatures.
|
242
|
+
This file is then read at runtime by GdkPixBuf to obtain the list of
|
243
|
+
available loaders and their signatures. </p>
|
244
|
+
<p>Modules may only implement a subset of the functionality available via
|
100
245
|
<a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModule" title="struct GdkPixbufModule"><span class="type">GdkPixbufModule</span></a>. If a particular functionality is not implemented, the
|
101
|
-
<code class="
|
246
|
+
<code class="literal">fill_vtable</code> function will simply not set the corresponding
|
102
247
|
function pointers of the <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModule" title="struct GdkPixbufModule"><span class="type">GdkPixbufModule</span></a> structure. If a module supports
|
103
248
|
incremental loading (i.e. provides <span class="type">begin_load</span>, <span class="type">stop_load</span> and
|
104
249
|
<span class="type">load_increment</span>), it doesn't have to implement <span class="type">load</span>, since GdkPixBuf can
|
105
|
-
supply a generic <span class="type">load</span> implementation wrapping the incremental loading.
|
106
|
-
|
107
|
-
<p>
|
108
|
-
Installing a module is a two-step process:
|
109
|
-
</p>
|
250
|
+
supply a generic <span class="type">load</span> implementation wrapping the incremental loading. </p>
|
251
|
+
<p>Installing a module is a two-step process:</p>
|
110
252
|
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
111
253
|
<li class="listitem"><p>copy the module file(s) to the loader directory (normally
|
112
|
-
<code class="
|
113
|
-
|
114
|
-
<
|
115
|
-
</
|
116
|
-
|
117
|
-
module file (normally
|
118
|
-
<code class="filename"><em class="replaceable"><code>sysconfdir</code></em>/gtk-2.0/gdk-pixbuf.loaders</code>,
|
119
|
-
unless overridden by the environment variable
|
120
|
-
<code class="envar">GDK_PIXBUF_MODULE_FILE</code>)
|
121
|
-
</p></li>
|
254
|
+
<code class="literal">$libdir/gtk-2.0/$version/loaders</code>, unless overridden by the
|
255
|
+
environment variable <code class="literal">GDK_PIXBUF_MODULEDIR</code>) </p></li>
|
256
|
+
<li class="listitem"><p>call gdk-pixbuf-query-loaders to update the module file (normally
|
257
|
+
<code class="literal">$sysconfdir/gtk-2.0/gdk-pixbuf.loaders</code>, unless overridden by the
|
258
|
+
environment variable <code class="literal">GDK_PIXBUF_MODULE_FILE</code>)</p></li>
|
122
259
|
</ul></div>
|
123
|
-
<p>
|
124
|
-
</
|
125
|
-
|
126
|
-
|
127
|
-
<code class="
|
128
|
-
<code class="filename">gdk-pixbuf-animation.h</code> if the module supports animations).
|
129
|
-
They are not covered by the same stability guarantees as the regular
|
130
|
-
GdkPixBuf API. To underline this fact, they are protected by
|
131
|
-
<code class="literal">#ifdef GDK_PIXBUF_ENABLE_BACKEND</code>.
|
132
|
-
</p>
|
260
|
+
<p>The GdkPixBuf interfaces needed for implementing modules are contained in
|
261
|
+
<code class="literal">gdk-pixbuf-io.h</code> (and <code class="literal">gdk-pixbuf-animation.h</code> if the module supports
|
262
|
+
animations). They are not covered by the same stability guarantees as the
|
263
|
+
regular GdkPixBuf API. To underline this fact, they are protected by
|
264
|
+
<code class="literal">#ifdef GDK_PIXBUF_ENABLE_BACKEND</code>.</p>
|
133
265
|
</div>
|
134
266
|
<div class="refsect1">
|
135
|
-
<a name="gdk-pixbuf-Module-Interface.
|
267
|
+
<a name="gdk-pixbuf-Module-Interface.functions_details"></a><h2>Functions</h2>
|
136
268
|
<div class="refsect2">
|
137
|
-
<a name="gdk-pixbuf-set-option"></a><h3>gdk_pixbuf_set_option
|
138
|
-
<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>
|
139
|
-
|
140
|
-
|
141
|
-
<
|
142
|
-
Attaches a key/value pair as an option to a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>. If <em class="parameter"><code>key</code></em>
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
<
|
269
|
+
<a name="gdk-pixbuf-set-option"></a><h3>gdk_pixbuf_set_option ()</h3>
|
270
|
+
<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>
|
271
|
+
gdk_pixbuf_set_option (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
272
|
+
<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#gchar"><span class="type">gchar</span></a> *key</code></em>,
|
273
|
+
<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#gchar"><span class="type">gchar</span></a> *value</code></em>);</pre>
|
274
|
+
<p>Attaches a key/value pair as an option to a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>. If <em class="parameter"><code>key</code></em>
|
275
|
+
already
|
276
|
+
exists in the list of options attached to <em class="parameter"><code>pixbuf</code></em>
|
277
|
+
, the new value is
|
278
|
+
ignored 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> is returned.</p>
|
279
|
+
<div class="refsect3">
|
280
|
+
<a name="id-1.2.16.7.2.5"></a><h4>Parameters</h4>
|
281
|
+
<div class="informaltable"><table width="100%" border="0">
|
147
282
|
<colgroup>
|
148
|
-
<col
|
149
|
-
<col>
|
283
|
+
<col width="150px" class="parameters_name">
|
284
|
+
<col class="parameters_description">
|
285
|
+
<col width="200px" class="parameters_annotations">
|
150
286
|
</colgroup>
|
151
287
|
<tbody>
|
152
288
|
<tr>
|
153
|
-
<td
|
154
|
-
<td>a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>
|
155
|
-
</td>
|
156
|
-
</tr>
|
157
|
-
<tr>
|
158
|
-
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
159
|
-
<td>a nul-terminated string.</td>
|
289
|
+
<td class="parameter_name"><p>pixbuf</p></td>
|
290
|
+
<td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a></p></td>
|
291
|
+
<td class="parameter_annotations"> </td>
|
160
292
|
</tr>
|
161
293
|
<tr>
|
162
|
-
<td
|
163
|
-
<td>a nul-terminated string.</td>
|
294
|
+
<td class="parameter_name"><p>key</p></td>
|
295
|
+
<td class="parameter_description"><p>a nul-terminated string.</p></td>
|
296
|
+
<td class="parameter_annotations"> </td>
|
164
297
|
</tr>
|
165
298
|
<tr>
|
166
|
-
<td
|
167
|
-
<td>
|
168
|
-
<
|
299
|
+
<td class="parameter_name"><p>value</p></td>
|
300
|
+
<td class="parameter_description"><p>a nul-terminated string.</p></td>
|
301
|
+
<td class="parameter_annotations"> </td>
|
169
302
|
</tr>
|
170
303
|
</tbody>
|
171
304
|
</table></div>
|
305
|
+
</div>
|
306
|
+
<div class="refsect3">
|
307
|
+
<a name="id-1.2.16.7.2.6"></a><h4>Returns</h4>
|
308
|
+
<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> on success.</p>
|
309
|
+
<p></p>
|
310
|
+
</div>
|
172
311
|
<p class="since">Since 2.2</p>
|
173
312
|
</div>
|
174
313
|
<hr>
|
175
314
|
<div class="refsect2">
|
176
|
-
<a name="gdk-pixbuf-get-formats"></a><h3>gdk_pixbuf_get_formats
|
177
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a>
|
178
|
-
<
|
179
|
-
Obtains the available information about the image formats supported
|
180
|
-
by GdkPixbuf
|
181
|
-
|
182
|
-
<
|
183
|
-
<
|
184
|
-
<
|
185
|
-
|
186
|
-
</
|
187
|
-
<
|
188
|
-
|
189
|
-
<td>A list of
|
190
|
-
<a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a>s describing the supported
|
191
|
-
image formats. The list should be freed when it is no longer needed,
|
192
|
-
but the structures themselves are owned by <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> and should not be
|
193
|
-
freed. <span class="annotation">[<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GdkPixbufFormat]</span>
|
194
|
-
</td>
|
195
|
-
</tr></tbody>
|
196
|
-
</table></div>
|
315
|
+
<a name="gdk-pixbuf-get-formats"></a><h3>gdk_pixbuf_get_formats ()</h3>
|
316
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
317
|
+
gdk_pixbuf_get_formats (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
318
|
+
<p>Obtains the available information about the image formats supported
|
319
|
+
by GdkPixbuf.</p>
|
320
|
+
<div class="refsect3">
|
321
|
+
<a name="id-1.2.16.7.3.5"></a><h4>Returns</h4>
|
322
|
+
<p> A list of
|
323
|
+
<a href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat"><span class="type">GdkPixbufFormats</span></a> describing the supported image formats. The list should
|
324
|
+
be freed when it is no longer needed, but the structures themselves are
|
325
|
+
owned by <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> and should not be freed. </p>
|
326
|
+
<p><span class="annotation">[<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GdkPixbufFormat]</span></p>
|
327
|
+
</div>
|
197
328
|
<p class="since">Since 2.2</p>
|
198
329
|
</div>
|
199
330
|
<hr>
|
200
331
|
<div class="refsect2">
|
201
|
-
<a name="gdk-pixbuf-format-copy"></a><h3>gdk_pixbuf_format_copy
|
202
|
-
<pre class="programlisting"><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="returnvalue">GdkPixbufFormat</span></a>
|
203
|
-
<
|
204
|
-
Creates a copy of <em class="parameter"><code>format</code></em>
|
332
|
+
<a name="gdk-pixbuf-format-copy"></a><h3>gdk_pixbuf_format_copy ()</h3>
|
333
|
+
<pre class="programlisting"><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="returnvalue">GdkPixbufFormat</span></a> *
|
334
|
+
gdk_pixbuf_format_copy (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>);</pre>
|
335
|
+
<p>Creates a copy of <em class="parameter"><code>format</code></em>
|
205
336
|
</p>
|
206
|
-
<div class="
|
337
|
+
<div class="refsect3">
|
338
|
+
<a name="id-1.2.16.7.4.5"></a><h4>Parameters</h4>
|
339
|
+
<div class="informaltable"><table width="100%" border="0">
|
207
340
|
<colgroup>
|
208
|
-
<col
|
209
|
-
<col>
|
341
|
+
<col width="150px" class="parameters_name">
|
342
|
+
<col class="parameters_description">
|
343
|
+
<col width="200px" class="parameters_annotations">
|
210
344
|
</colgroup>
|
211
|
-
<tbody>
|
212
|
-
<
|
213
|
-
<td><p
|
214
|
-
<td
|
215
|
-
</
|
216
|
-
</tr>
|
217
|
-
<tr>
|
218
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
219
|
-
<td>the newly allocated copy of a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a>. Use
|
220
|
-
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-free" title="gdk_pixbuf_format_free ()"><code class="function">gdk_pixbuf_format_free()</code></a> to free the resources when done</td>
|
221
|
-
</tr>
|
222
|
-
</tbody>
|
345
|
+
<tbody><tr>
|
346
|
+
<td class="parameter_name"><p>format</p></td>
|
347
|
+
<td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a></p></td>
|
348
|
+
<td class="parameter_annotations"> </td>
|
349
|
+
</tr></tbody>
|
223
350
|
</table></div>
|
351
|
+
</div>
|
352
|
+
<div class="refsect3">
|
353
|
+
<a name="id-1.2.16.7.4.6"></a><h4>Returns</h4>
|
354
|
+
<p> the newly allocated copy of a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a>. Use
|
355
|
+
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-free" title="gdk_pixbuf_format_free ()"><code class="function">gdk_pixbuf_format_free()</code></a> to free the resources when done</p>
|
356
|
+
<p></p>
|
357
|
+
</div>
|
224
358
|
<p class="since">Since 2.22</p>
|
225
359
|
</div>
|
226
360
|
<hr>
|
227
361
|
<div class="refsect2">
|
228
|
-
<a name="gdk-pixbuf-format-free"></a><h3>gdk_pixbuf_format_free
|
229
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
230
|
-
<
|
231
|
-
Frees the resources allocated when copying a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a>
|
232
|
-
using <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-copy" title="gdk_pixbuf_format_copy
|
233
|
-
|
234
|
-
<
|
362
|
+
<a name="gdk-pixbuf-format-free"></a><h3>gdk_pixbuf_format_free ()</h3>
|
363
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
364
|
+
gdk_pixbuf_format_free (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>);</pre>
|
365
|
+
<p>Frees the resources allocated when copying a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a>
|
366
|
+
using <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-copy" title="gdk_pixbuf_format_copy ()"><code class="function">gdk_pixbuf_format_copy()</code></a></p>
|
367
|
+
<div class="refsect3">
|
368
|
+
<a name="id-1.2.16.7.5.5"></a><h4>Parameters</h4>
|
369
|
+
<div class="informaltable"><table width="100%" border="0">
|
235
370
|
<colgroup>
|
236
|
-
<col
|
237
|
-
<col>
|
371
|
+
<col width="150px" class="parameters_name">
|
372
|
+
<col class="parameters_description">
|
373
|
+
<col width="200px" class="parameters_annotations">
|
238
374
|
</colgroup>
|
239
375
|
<tbody><tr>
|
240
|
-
<td
|
241
|
-
<td>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a>
|
242
|
-
</td>
|
376
|
+
<td class="parameter_name"><p>format</p></td>
|
377
|
+
<td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a></p></td>
|
378
|
+
<td class="parameter_annotations"> </td>
|
243
379
|
</tr></tbody>
|
244
380
|
</table></div>
|
381
|
+
</div>
|
245
382
|
<p class="since">Since 2.22</p>
|
246
383
|
</div>
|
247
384
|
<hr>
|
248
385
|
<div class="refsect2">
|
249
|
-
<a name="gdk-pixbuf-format-get-name"></a><h3>gdk_pixbuf_format_get_name
|
250
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>
|
251
|
-
<
|
252
|
-
Returns the name of the format
|
253
|
-
|
254
|
-
<
|
386
|
+
<a name="gdk-pixbuf-format-get-name"></a><h3>gdk_pixbuf_format_get_name ()</h3>
|
387
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
388
|
+
gdk_pixbuf_format_get_name (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>);</pre>
|
389
|
+
<p>Returns the name of the format.</p>
|
390
|
+
<div class="refsect3">
|
391
|
+
<a name="id-1.2.16.7.6.5"></a><h4>Parameters</h4>
|
392
|
+
<div class="informaltable"><table width="100%" border="0">
|
255
393
|
<colgroup>
|
256
|
-
<col
|
257
|
-
<col>
|
394
|
+
<col width="150px" class="parameters_name">
|
395
|
+
<col class="parameters_description">
|
396
|
+
<col width="200px" class="parameters_annotations">
|
258
397
|
</colgroup>
|
259
|
-
<tbody>
|
260
|
-
<
|
261
|
-
<td><p
|
262
|
-
<td
|
263
|
-
</
|
264
|
-
</tr>
|
265
|
-
<tr>
|
266
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
267
|
-
<td>the name of the format.</td>
|
268
|
-
</tr>
|
269
|
-
</tbody>
|
398
|
+
<tbody><tr>
|
399
|
+
<td class="parameter_name"><p>format</p></td>
|
400
|
+
<td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a></p></td>
|
401
|
+
<td class="parameter_annotations"> </td>
|
402
|
+
</tr></tbody>
|
270
403
|
</table></div>
|
404
|
+
</div>
|
405
|
+
<div class="refsect3">
|
406
|
+
<a name="id-1.2.16.7.6.6"></a><h4>Returns</h4>
|
407
|
+
<p> the name of the format. </p>
|
408
|
+
<p></p>
|
409
|
+
</div>
|
271
410
|
<p class="since">Since 2.2</p>
|
272
411
|
</div>
|
273
412
|
<hr>
|
274
413
|
<div class="refsect2">
|
275
|
-
<a name="gdk-pixbuf-format-get-description"></a><h3>gdk_pixbuf_format_get_description
|
276
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>
|
277
|
-
<
|
278
|
-
Returns a description of the format
|
279
|
-
|
280
|
-
<
|
414
|
+
<a name="gdk-pixbuf-format-get-description"></a><h3>gdk_pixbuf_format_get_description ()</h3>
|
415
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
416
|
+
gdk_pixbuf_format_get_description (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>);</pre>
|
417
|
+
<p>Returns a description of the format.</p>
|
418
|
+
<div class="refsect3">
|
419
|
+
<a name="id-1.2.16.7.7.5"></a><h4>Parameters</h4>
|
420
|
+
<div class="informaltable"><table width="100%" border="0">
|
281
421
|
<colgroup>
|
282
|
-
<col
|
283
|
-
<col>
|
422
|
+
<col width="150px" class="parameters_name">
|
423
|
+
<col class="parameters_description">
|
424
|
+
<col width="200px" class="parameters_annotations">
|
284
425
|
</colgroup>
|
285
|
-
<tbody>
|
286
|
-
<
|
287
|
-
<td><p
|
288
|
-
<td
|
289
|
-
</
|
290
|
-
</tr>
|
291
|
-
<tr>
|
292
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
293
|
-
<td>a description of the format.</td>
|
294
|
-
</tr>
|
295
|
-
</tbody>
|
426
|
+
<tbody><tr>
|
427
|
+
<td class="parameter_name"><p>format</p></td>
|
428
|
+
<td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a></p></td>
|
429
|
+
<td class="parameter_annotations"> </td>
|
430
|
+
</tr></tbody>
|
296
431
|
</table></div>
|
432
|
+
</div>
|
433
|
+
<div class="refsect3">
|
434
|
+
<a name="id-1.2.16.7.7.6"></a><h4>Returns</h4>
|
435
|
+
<p> a description of the format.</p>
|
436
|
+
<p></p>
|
437
|
+
</div>
|
297
438
|
<p class="since">Since 2.2</p>
|
298
439
|
</div>
|
299
440
|
<hr>
|
300
441
|
<div class="refsect2">
|
301
|
-
<a name="gdk-pixbuf-format-get-mime-types"></a><h3>gdk_pixbuf_format_get_mime_types
|
302
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>
|
303
|
-
<
|
304
|
-
Returns the mime types supported by the format
|
305
|
-
|
306
|
-
<
|
442
|
+
<a name="gdk-pixbuf-format-get-mime-types"></a><h3>gdk_pixbuf_format_get_mime_types ()</h3>
|
443
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
|
444
|
+
gdk_pixbuf_format_get_mime_types (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>);</pre>
|
445
|
+
<p>Returns the mime types supported by the format.</p>
|
446
|
+
<div class="refsect3">
|
447
|
+
<a name="id-1.2.16.7.8.5"></a><h4>Parameters</h4>
|
448
|
+
<div class="informaltable"><table width="100%" border="0">
|
307
449
|
<colgroup>
|
308
|
-
<col
|
309
|
-
<col>
|
450
|
+
<col width="150px" class="parameters_name">
|
451
|
+
<col class="parameters_description">
|
452
|
+
<col width="200px" class="parameters_annotations">
|
310
453
|
</colgroup>
|
311
|
-
<tbody>
|
312
|
-
<
|
313
|
-
<td><p
|
314
|
-
<td
|
315
|
-
</
|
316
|
-
</tr>
|
317
|
-
<tr>
|
318
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
319
|
-
<td>a <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>-terminated array of mime types which must be freed with
|
320
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a> when it is no longer needed. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
321
|
-
</td>
|
322
|
-
</tr>
|
323
|
-
</tbody>
|
454
|
+
<tbody><tr>
|
455
|
+
<td class="parameter_name"><p>format</p></td>
|
456
|
+
<td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a></p></td>
|
457
|
+
<td class="parameter_annotations"> </td>
|
458
|
+
</tr></tbody>
|
324
459
|
</table></div>
|
460
|
+
</div>
|
461
|
+
<div class="refsect3">
|
462
|
+
<a name="id-1.2.16.7.8.6"></a><h4>Returns</h4>
|
463
|
+
<p> a <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>-terminated array of mime types which must be freed with
|
464
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a> when it is no longer needed. </p>
|
465
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
466
|
+
</div>
|
325
467
|
<p class="since">Since 2.2</p>
|
326
468
|
</div>
|
327
469
|
<hr>
|
328
470
|
<div class="refsect2">
|
329
|
-
<a name="gdk-pixbuf-format-get-extensions"></a><h3>gdk_pixbuf_format_get_extensions
|
330
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>
|
331
|
-
<
|
332
|
-
Returns the filename extensions typically used for files in the
|
333
|
-
given format
|
334
|
-
|
335
|
-
<
|
471
|
+
<a name="gdk-pixbuf-format-get-extensions"></a><h3>gdk_pixbuf_format_get_extensions ()</h3>
|
472
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
|
473
|
+
gdk_pixbuf_format_get_extensions (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>);</pre>
|
474
|
+
<p>Returns the filename extensions typically used for files in the
|
475
|
+
given format.</p>
|
476
|
+
<div class="refsect3">
|
477
|
+
<a name="id-1.2.16.7.9.5"></a><h4>Parameters</h4>
|
478
|
+
<div class="informaltable"><table width="100%" border="0">
|
336
479
|
<colgroup>
|
337
|
-
<col
|
338
|
-
<col>
|
480
|
+
<col width="150px" class="parameters_name">
|
481
|
+
<col class="parameters_description">
|
482
|
+
<col width="200px" class="parameters_annotations">
|
339
483
|
</colgroup>
|
340
|
-
<tbody>
|
341
|
-
<
|
342
|
-
<td><p
|
343
|
-
<td
|
344
|
-
</
|
345
|
-
</tr>
|
346
|
-
<tr>
|
347
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
348
|
-
<td>a <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>-terminated array of filename extensions which must be
|
349
|
-
freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a> when it is no longer needed. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
350
|
-
</td>
|
351
|
-
</tr>
|
352
|
-
</tbody>
|
484
|
+
<tbody><tr>
|
485
|
+
<td class="parameter_name"><p>format</p></td>
|
486
|
+
<td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a></p></td>
|
487
|
+
<td class="parameter_annotations"> </td>
|
488
|
+
</tr></tbody>
|
353
489
|
</table></div>
|
490
|
+
</div>
|
491
|
+
<div class="refsect3">
|
492
|
+
<a name="id-1.2.16.7.9.6"></a><h4>Returns</h4>
|
493
|
+
<p> a <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>-terminated array of filename extensions which must be
|
494
|
+
freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a> when it is no longer needed. </p>
|
495
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
496
|
+
</div>
|
354
497
|
<p class="since">Since 2.2</p>
|
355
498
|
</div>
|
356
499
|
<hr>
|
357
500
|
<div class="refsect2">
|
358
|
-
<a name="gdk-pixbuf-format-is-writable"></a><h3>gdk_pixbuf_format_is_writable
|
359
|
-
<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>
|
360
|
-
<
|
361
|
-
Returns whether pixbufs can be saved in the given format
|
362
|
-
|
363
|
-
<
|
501
|
+
<a name="gdk-pixbuf-format-is-writable"></a><h3>gdk_pixbuf_format_is_writable ()</h3>
|
502
|
+
<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>
|
503
|
+
gdk_pixbuf_format_is_writable (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>);</pre>
|
504
|
+
<p>Returns whether pixbufs can be saved in the given format.</p>
|
505
|
+
<div class="refsect3">
|
506
|
+
<a name="id-1.2.16.7.10.5"></a><h4>Parameters</h4>
|
507
|
+
<div class="informaltable"><table width="100%" border="0">
|
364
508
|
<colgroup>
|
365
|
-
<col
|
366
|
-
<col>
|
509
|
+
<col width="150px" class="parameters_name">
|
510
|
+
<col class="parameters_description">
|
511
|
+
<col width="200px" class="parameters_annotations">
|
367
512
|
</colgroup>
|
368
|
-
<tbody>
|
369
|
-
<
|
370
|
-
<td><p
|
371
|
-
<td
|
372
|
-
</
|
373
|
-
</tr>
|
374
|
-
<tr>
|
375
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
376
|
-
<td>whether pixbufs can be saved in the given format.</td>
|
377
|
-
</tr>
|
378
|
-
</tbody>
|
513
|
+
<tbody><tr>
|
514
|
+
<td class="parameter_name"><p>format</p></td>
|
515
|
+
<td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a></p></td>
|
516
|
+
<td class="parameter_annotations"> </td>
|
517
|
+
</tr></tbody>
|
379
518
|
</table></div>
|
519
|
+
</div>
|
520
|
+
<div class="refsect3">
|
521
|
+
<a name="id-1.2.16.7.10.6"></a><h4>Returns</h4>
|
522
|
+
<p> whether pixbufs can be saved in the given format.</p>
|
523
|
+
<p></p>
|
524
|
+
</div>
|
380
525
|
<p class="since">Since 2.2</p>
|
381
526
|
</div>
|
382
527
|
<hr>
|
383
528
|
<div class="refsect2">
|
384
|
-
<a name="gdk-pixbuf-format-is-scalable"></a><h3>gdk_pixbuf_format_is_scalable
|
385
|
-
<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>
|
386
|
-
<
|
387
|
-
Returns whether this image format is scalable. If a file is in a
|
529
|
+
<a name="gdk-pixbuf-format-is-scalable"></a><h3>gdk_pixbuf_format_is_scalable ()</h3>
|
530
|
+
<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>
|
531
|
+
gdk_pixbuf_format_is_scalable (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>);</pre>
|
532
|
+
<p>Returns whether this image format is scalable. If a file is in a
|
388
533
|
scalable format, it is preferable to load it at the desired size,
|
389
534
|
rather than loading it at the default size and scaling the
|
390
|
-
resulting pixbuf to the desired size
|
391
|
-
|
392
|
-
<
|
535
|
+
resulting pixbuf to the desired size.</p>
|
536
|
+
<div class="refsect3">
|
537
|
+
<a name="id-1.2.16.7.11.5"></a><h4>Parameters</h4>
|
538
|
+
<div class="informaltable"><table width="100%" border="0">
|
393
539
|
<colgroup>
|
394
|
-
<col
|
395
|
-
<col>
|
540
|
+
<col width="150px" class="parameters_name">
|
541
|
+
<col class="parameters_description">
|
542
|
+
<col width="200px" class="parameters_annotations">
|
543
|
+
</colgroup>
|
544
|
+
<tbody><tr>
|
545
|
+
<td class="parameter_name"><p>format</p></td>
|
546
|
+
<td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a></p></td>
|
547
|
+
<td class="parameter_annotations"> </td>
|
548
|
+
</tr></tbody>
|
549
|
+
</table></div>
|
550
|
+
</div>
|
551
|
+
<div class="refsect3">
|
552
|
+
<a name="id-1.2.16.7.11.6"></a><h4>Returns</h4>
|
553
|
+
<p> whether this image format is scalable.</p>
|
554
|
+
<p></p>
|
555
|
+
</div>
|
556
|
+
<p class="since">Since 2.6</p>
|
557
|
+
</div>
|
558
|
+
<hr>
|
559
|
+
<div class="refsect2">
|
560
|
+
<a name="gdk-pixbuf-format-is-disabled"></a><h3>gdk_pixbuf_format_is_disabled ()</h3>
|
561
|
+
<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>
|
562
|
+
gdk_pixbuf_format_is_disabled (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>);</pre>
|
563
|
+
<p>Returns whether this image format is disabled. See
|
564
|
+
<a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-set-disabled" title="gdk_pixbuf_format_set_disabled ()"><code class="function">gdk_pixbuf_format_set_disabled()</code></a>.</p>
|
565
|
+
<div class="refsect3">
|
566
|
+
<a name="id-1.2.16.7.12.5"></a><h4>Parameters</h4>
|
567
|
+
<div class="informaltable"><table width="100%" border="0">
|
568
|
+
<colgroup>
|
569
|
+
<col width="150px" class="parameters_name">
|
570
|
+
<col class="parameters_description">
|
571
|
+
<col width="200px" class="parameters_annotations">
|
572
|
+
</colgroup>
|
573
|
+
<tbody><tr>
|
574
|
+
<td class="parameter_name"><p>format</p></td>
|
575
|
+
<td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a></p></td>
|
576
|
+
<td class="parameter_annotations"> </td>
|
577
|
+
</tr></tbody>
|
578
|
+
</table></div>
|
579
|
+
</div>
|
580
|
+
<div class="refsect3">
|
581
|
+
<a name="id-1.2.16.7.12.6"></a><h4>Returns</h4>
|
582
|
+
<p> whether this image format is disabled.</p>
|
583
|
+
<p></p>
|
584
|
+
</div>
|
585
|
+
<p class="since">Since 2.6</p>
|
586
|
+
</div>
|
587
|
+
<hr>
|
588
|
+
<div class="refsect2">
|
589
|
+
<a name="gdk-pixbuf-format-set-disabled"></a><h3>gdk_pixbuf_format_set_disabled ()</h3>
|
590
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
591
|
+
gdk_pixbuf_format_set_disabled (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>,
|
592
|
+
<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#gboolean"><span class="type">gboolean</span></a> disabled</code></em>);</pre>
|
593
|
+
<p>Disables or enables an image format. If a format is disabled,
|
594
|
+
gdk-pixbuf won't use the image loader for this format to load
|
595
|
+
images. Applications can use this to avoid using image loaders
|
596
|
+
with an inappropriate license, see <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-get-license" title="gdk_pixbuf_format_get_license ()"><code class="function">gdk_pixbuf_format_get_license()</code></a>.</p>
|
597
|
+
<div class="refsect3">
|
598
|
+
<a name="id-1.2.16.7.13.5"></a><h4>Parameters</h4>
|
599
|
+
<div class="informaltable"><table width="100%" border="0">
|
600
|
+
<colgroup>
|
601
|
+
<col width="150px" class="parameters_name">
|
602
|
+
<col class="parameters_description">
|
603
|
+
<col width="200px" class="parameters_annotations">
|
396
604
|
</colgroup>
|
397
605
|
<tbody>
|
398
606
|
<tr>
|
399
|
-
<td
|
400
|
-
<td>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a>
|
401
|
-
</td>
|
607
|
+
<td class="parameter_name"><p>format</p></td>
|
608
|
+
<td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a></p></td>
|
609
|
+
<td class="parameter_annotations"> </td>
|
402
610
|
</tr>
|
403
611
|
<tr>
|
404
|
-
<td
|
405
|
-
<td>
|
612
|
+
<td class="parameter_name"><p>disabled</p></td>
|
613
|
+
<td class="parameter_description"><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> to disable the format <em class="parameter"><code>format</code></em>
|
614
|
+
</p></td>
|
615
|
+
<td class="parameter_annotations"> </td>
|
406
616
|
</tr>
|
407
617
|
</tbody>
|
408
618
|
</table></div>
|
619
|
+
</div>
|
409
620
|
<p class="since">Since 2.6</p>
|
410
621
|
</div>
|
411
622
|
<hr>
|
412
623
|
<div class="refsect2">
|
413
|
-
<a name="gdk-pixbuf-format-
|
414
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#
|
415
|
-
<
|
416
|
-
Returns
|
417
|
-
|
418
|
-
|
419
|
-
<
|
624
|
+
<a name="gdk-pixbuf-format-get-license"></a><h3>gdk_pixbuf_format_get_license ()</h3>
|
625
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
626
|
+
gdk_pixbuf_format_get_license (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *format</code></em>);</pre>
|
627
|
+
<p>Returns information about the license of the image loader for the format. The
|
628
|
+
returned string should be a shorthand for a wellknown license, e.g. "LGPL",
|
629
|
+
"GPL", "QPL", "GPL/QPL", or "other" to indicate some other license. This
|
630
|
+
string should be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when it's no longer needed.</p>
|
631
|
+
<div class="refsect3">
|
632
|
+
<a name="id-1.2.16.7.14.5"></a><h4>Parameters</h4>
|
633
|
+
<div class="informaltable"><table width="100%" border="0">
|
634
|
+
<colgroup>
|
635
|
+
<col width="150px" class="parameters_name">
|
636
|
+
<col class="parameters_description">
|
637
|
+
<col width="200px" class="parameters_annotations">
|
638
|
+
</colgroup>
|
639
|
+
<tbody><tr>
|
640
|
+
<td class="parameter_name"><p>format</p></td>
|
641
|
+
<td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a></p></td>
|
642
|
+
<td class="parameter_annotations"> </td>
|
643
|
+
</tr></tbody>
|
644
|
+
</table></div>
|
645
|
+
</div>
|
646
|
+
<div class="refsect3">
|
647
|
+
<a name="id-1.2.16.7.14.6"></a><h4>Returns</h4>
|
648
|
+
<p> a string describing the license of <em class="parameter"><code>format</code></em>
|
649
|
+
. </p>
|
650
|
+
<p></p>
|
651
|
+
</div>
|
652
|
+
<p class="since">Since 2.6</p>
|
653
|
+
</div>
|
654
|
+
<hr>
|
655
|
+
<div class="refsect2">
|
656
|
+
<a name="GdkPixbufModuleFillVtableFunc"></a><h3>GdkPixbufModuleFillVtableFunc ()</h3>
|
657
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
658
|
+
<span class="c_punctuation">(</span>*GdkPixbufModuleFillVtableFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModule" title="struct GdkPixbufModule"><span class="type">GdkPixbufModule</span></a> *module</code></em>);</pre>
|
659
|
+
<p>Defines the type of the function used to set the vtable of a
|
660
|
+
<a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModule" title="struct GdkPixbufModule"><span class="type">GdkPixbufModule</span></a> when it is loaded.</p>
|
661
|
+
<div class="refsect3">
|
662
|
+
<a name="id-1.2.16.7.15.5"></a><h4>Parameters</h4>
|
663
|
+
<div class="informaltable"><table width="100%" border="0">
|
664
|
+
<colgroup>
|
665
|
+
<col width="150px" class="parameters_name">
|
666
|
+
<col class="parameters_description">
|
667
|
+
<col width="200px" class="parameters_annotations">
|
668
|
+
</colgroup>
|
669
|
+
<tbody><tr>
|
670
|
+
<td class="parameter_name"><p>module</p></td>
|
671
|
+
<td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModule" title="struct GdkPixbufModule"><span class="type">GdkPixbufModule</span></a>.</p></td>
|
672
|
+
<td class="parameter_annotations"> </td>
|
673
|
+
</tr></tbody>
|
674
|
+
</table></div>
|
675
|
+
</div>
|
676
|
+
<p class="since">Since 2.2</p>
|
677
|
+
</div>
|
678
|
+
<hr>
|
679
|
+
<div class="refsect2">
|
680
|
+
<a name="GdkPixbufModuleFillInfoFunc"></a><h3>GdkPixbufModuleFillInfoFunc ()</h3>
|
681
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
682
|
+
<span class="c_punctuation">(</span>*GdkPixbufModuleFillInfoFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *info</code></em>);</pre>
|
683
|
+
<p>Defines the type of the function used to fill a
|
684
|
+
<a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> structure with information about a module.</p>
|
685
|
+
<div class="refsect3">
|
686
|
+
<a name="id-1.2.16.7.16.5"></a><h4>Parameters</h4>
|
687
|
+
<div class="informaltable"><table width="100%" border="0">
|
420
688
|
<colgroup>
|
421
|
-
<col
|
422
|
-
<col>
|
689
|
+
<col width="150px" class="parameters_name">
|
690
|
+
<col class="parameters_description">
|
691
|
+
<col width="200px" class="parameters_annotations">
|
692
|
+
</colgroup>
|
693
|
+
<tbody><tr>
|
694
|
+
<td class="parameter_name"><p>info</p></td>
|
695
|
+
<td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a>.</p></td>
|
696
|
+
<td class="parameter_annotations"> </td>
|
697
|
+
</tr></tbody>
|
698
|
+
</table></div>
|
699
|
+
</div>
|
700
|
+
<p class="since">Since 2.2</p>
|
701
|
+
</div>
|
702
|
+
<hr>
|
703
|
+
<div class="refsect2">
|
704
|
+
<a name="GdkPixbufModuleSizeFunc"></a><h3>GdkPixbufModuleSizeFunc ()</h3>
|
705
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
706
|
+
<span class="c_punctuation">(</span>*GdkPixbufModuleSizeFunc<span class="c_punctuation">)</span> (<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#gint"><span class="type">gint</span></a> *width</code></em>,
|
707
|
+
<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#gint"><span class="type">gint</span></a> *height</code></em>,
|
708
|
+
<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#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
709
|
+
<p>Defines the type of the function that gets called once the size
|
710
|
+
of the loaded image is known.</p>
|
711
|
+
<p>The function is expected to set <em class="parameter"><code>width</code></em>
|
712
|
+
and <em class="parameter"><code>height</code></em>
|
713
|
+
to the desired
|
714
|
+
size to which the image should be scaled. If a module has no efficient
|
715
|
+
way to achieve the desired scaling during the loading of the image, it may
|
716
|
+
either ignore the size request, or only approximate it -- &gdk-pixbuf; will
|
717
|
+
then perform the required scaling on the completely loaded image. </p>
|
718
|
+
<p>If the function sets <em class="parameter"><code>width</code></em>
|
719
|
+
or <em class="parameter"><code>height</code></em>
|
720
|
+
to zero, the module should interpret
|
721
|
+
this as a hint that it will be closed soon and shouldn't allocate further
|
722
|
+
resources. This convention is used to implement <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-get-file-info" title="gdk_pixbuf_get_file_info ()"><code class="function">gdk_pixbuf_get_file_info()</code></a>
|
723
|
+
efficiently.</p>
|
724
|
+
<div class="refsect3">
|
725
|
+
<a name="id-1.2.16.7.17.7"></a><h4>Parameters</h4>
|
726
|
+
<div class="informaltable"><table width="100%" border="0">
|
727
|
+
<colgroup>
|
728
|
+
<col width="150px" class="parameters_name">
|
729
|
+
<col class="parameters_description">
|
730
|
+
<col width="200px" class="parameters_annotations">
|
423
731
|
</colgroup>
|
424
732
|
<tbody>
|
425
733
|
<tr>
|
426
|
-
<td
|
427
|
-
<td
|
428
|
-
</td>
|
734
|
+
<td class="parameter_name"><p>width</p></td>
|
735
|
+
<td class="parameter_description"><p>pointer to a location containing the current image width</p></td>
|
736
|
+
<td class="parameter_annotations"> </td>
|
737
|
+
</tr>
|
738
|
+
<tr>
|
739
|
+
<td class="parameter_name"><p>height</p></td>
|
740
|
+
<td class="parameter_description"><p>pointer to a location containing the current image height</p></td>
|
741
|
+
<td class="parameter_annotations"> </td>
|
429
742
|
</tr>
|
430
743
|
<tr>
|
431
|
-
<td
|
432
|
-
<td>
|
744
|
+
<td class="parameter_name"><p>user_data</p></td>
|
745
|
+
<td class="parameter_description"><p>the loader.</p></td>
|
746
|
+
<td class="parameter_annotations"> </td>
|
433
747
|
</tr>
|
434
748
|
</tbody>
|
435
749
|
</table></div>
|
436
|
-
|
750
|
+
</div>
|
751
|
+
<p class="since">Since 2.2</p>
|
437
752
|
</div>
|
438
753
|
<hr>
|
439
754
|
<div class="refsect2">
|
440
|
-
<a name="
|
441
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
442
|
-
|
443
|
-
<
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
755
|
+
<a name="GdkPixbufModulePreparedFunc"></a><h3>GdkPixbufModulePreparedFunc ()</h3>
|
756
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
757
|
+
<span class="c_punctuation">(</span>*GdkPixbufModulePreparedFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
758
|
+
<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *anim</code></em>,
|
759
|
+
<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#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
760
|
+
<p>Defines the type of the function that gets called once the initial
|
761
|
+
setup of <em class="parameter"><code>pixbuf</code></em>
|
762
|
+
is done.</p>
|
763
|
+
<p><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> uses a function of this type to emit the
|
764
|
+
"<link linkend="GdkPixbufLoader-area-prepared">area_prepared</link>"
|
765
|
+
signal.</p>
|
766
|
+
<div class="refsect3">
|
767
|
+
<a name="id-1.2.16.7.18.6"></a><h4>Parameters</h4>
|
768
|
+
<div class="informaltable"><table width="100%" border="0">
|
450
769
|
<colgroup>
|
451
|
-
<col
|
452
|
-
<col>
|
770
|
+
<col width="150px" class="parameters_name">
|
771
|
+
<col class="parameters_description">
|
772
|
+
<col width="200px" class="parameters_annotations">
|
453
773
|
</colgroup>
|
454
774
|
<tbody>
|
455
775
|
<tr>
|
456
|
-
<td
|
457
|
-
<td>
|
458
|
-
</td>
|
776
|
+
<td class="parameter_name"><p>pixbuf</p></td>
|
777
|
+
<td class="parameter_description"><p>the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> that is currently being loaded.</p></td>
|
778
|
+
<td class="parameter_annotations"> </td>
|
459
779
|
</tr>
|
460
780
|
<tr>
|
461
|
-
<td
|
462
|
-
<td>
|
463
|
-
<
|
464
|
-
</
|
781
|
+
<td class="parameter_name"><p>anim</p></td>
|
782
|
+
<td class="parameter_description"><p>if an animation is being loaded, the <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a>, else <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></td>
|
783
|
+
<td class="parameter_annotations"> </td>
|
784
|
+
</tr>
|
785
|
+
<tr>
|
786
|
+
<td class="parameter_name"><p>user_data</p></td>
|
787
|
+
<td class="parameter_description"><p>the loader.</p></td>
|
788
|
+
<td class="parameter_annotations"> </td>
|
465
789
|
</tr>
|
466
790
|
</tbody>
|
467
791
|
</table></div>
|
468
|
-
|
792
|
+
</div>
|
793
|
+
<p class="since">Since 2.2</p>
|
469
794
|
</div>
|
470
795
|
<hr>
|
471
796
|
<div class="refsect2">
|
472
|
-
<a name="
|
473
|
-
<pre class="programlisting"><
|
474
|
-
<
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
</
|
480
|
-
<
|
797
|
+
<a name="GdkPixbufModuleUpdatedFunc"></a><h3>GdkPixbufModuleUpdatedFunc ()</h3>
|
798
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
799
|
+
<span class="c_punctuation">(</span>*GdkPixbufModuleUpdatedFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
800
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
801
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>,
|
802
|
+
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
803
|
+
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
804
|
+
<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#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
805
|
+
<p>Defines the type of the function that gets called every time a region
|
806
|
+
of <em class="parameter"><code>pixbuf</code></em>
|
807
|
+
is updated.</p>
|
808
|
+
<p><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> uses a function of this type to emit the
|
809
|
+
"<link linkend="GdkPixbufLoader-area-updated">area_updated</link>"
|
810
|
+
signal.</p>
|
811
|
+
<div class="refsect3">
|
812
|
+
<a name="id-1.2.16.7.19.6"></a><h4>Parameters</h4>
|
813
|
+
<div class="informaltable"><table width="100%" border="0">
|
481
814
|
<colgroup>
|
482
|
-
<col
|
483
|
-
<col>
|
815
|
+
<col width="150px" class="parameters_name">
|
816
|
+
<col class="parameters_description">
|
817
|
+
<col width="200px" class="parameters_annotations">
|
484
818
|
</colgroup>
|
485
819
|
<tbody>
|
486
820
|
<tr>
|
487
|
-
<td
|
488
|
-
<td>
|
489
|
-
</td>
|
821
|
+
<td class="parameter_name"><p>pixbuf</p></td>
|
822
|
+
<td class="parameter_description"><p>the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> that is currently being loaded.</p></td>
|
823
|
+
<td class="parameter_annotations"> </td>
|
824
|
+
</tr>
|
825
|
+
<tr>
|
826
|
+
<td class="parameter_name"><p>x</p></td>
|
827
|
+
<td class="parameter_description"><p>the X origin of the updated area.</p></td>
|
828
|
+
<td class="parameter_annotations"> </td>
|
829
|
+
</tr>
|
830
|
+
<tr>
|
831
|
+
<td class="parameter_name"><p>y</p></td>
|
832
|
+
<td class="parameter_description"><p>the Y origin of the updated area.</p></td>
|
833
|
+
<td class="parameter_annotations"> </td>
|
834
|
+
</tr>
|
835
|
+
<tr>
|
836
|
+
<td class="parameter_name"><p>width</p></td>
|
837
|
+
<td class="parameter_description"><p>the width of the updated area.</p></td>
|
838
|
+
<td class="parameter_annotations"> </td>
|
490
839
|
</tr>
|
491
840
|
<tr>
|
492
|
-
<td
|
493
|
-
<td>
|
841
|
+
<td class="parameter_name"><p>height</p></td>
|
842
|
+
<td class="parameter_description"><p>the height of the updated area.</p></td>
|
843
|
+
<td class="parameter_annotations"> </td>
|
844
|
+
</tr>
|
845
|
+
<tr>
|
846
|
+
<td class="parameter_name"><p>user_data</p></td>
|
847
|
+
<td class="parameter_description"><p>the loader.</p></td>
|
848
|
+
<td class="parameter_annotations"> </td>
|
494
849
|
</tr>
|
495
850
|
</tbody>
|
496
851
|
</table></div>
|
497
|
-
<p class="since">Since 2.6</p>
|
498
852
|
</div>
|
499
|
-
<
|
853
|
+
<p class="since">Since 2.2</p>
|
854
|
+
</div>
|
855
|
+
</div>
|
856
|
+
<div class="refsect1">
|
857
|
+
<a name="gdk-pixbuf-Module-Interface.other_details"></a><h2>Types and Values</h2>
|
500
858
|
<div class="refsect2">
|
501
859
|
<a name="GdkPixbufFormat"></a><h3>struct GdkPixbufFormat</h3>
|
502
860
|
<pre class="programlisting">struct GdkPixbufFormat {
|
@@ -511,96 +869,110 @@ string should be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2
|
|
511
869
|
gchar *license;
|
512
870
|
};
|
513
871
|
</pre>
|
514
|
-
<p>
|
515
|
-
A <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> contains information about the image format accepted by a
|
872
|
+
<p>A <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> contains information about the image format accepted by a
|
516
873
|
module. Only modules should access the fields directly, applications should
|
517
|
-
use the
|
518
|
-
|
519
|
-
<
|
874
|
+
use the <function>gdk_pixbuf_format_*</function> functions.</p>
|
875
|
+
<div class="refsect3">
|
876
|
+
<a name="id-1.2.16.8.2.5"></a><h4>Members</h4>
|
877
|
+
<div class="informaltable"><table width="100%" border="0">
|
520
878
|
<colgroup>
|
521
|
-
<col
|
522
|
-
<col>
|
879
|
+
<col width="300px" class="struct_members_name">
|
880
|
+
<col class="struct_members_description">
|
881
|
+
<col width="200px" class="struct_members_annotations">
|
523
882
|
</colgroup>
|
524
883
|
<tbody>
|
525
884
|
<tr>
|
526
|
-
<td
|
527
|
-
<td>the name of the image format.</td>
|
885
|
+
<td class="struct_member_name"><p><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GdkPixbufFormat.name"></a>name</code></em>;</p></td>
|
886
|
+
<td class="struct_member_description"><p>the name of the image format.</p></td>
|
887
|
+
<td class="struct_member_annotations"> </td>
|
528
888
|
</tr>
|
529
889
|
<tr>
|
530
|
-
<td
|
531
|
-
<td>the signature of the module.</td>
|
890
|
+
<td class="struct_member_name"><p><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModulePattern" title="struct GdkPixbufModulePattern"><span class="type">GdkPixbufModulePattern</span></a> *<em class="structfield"><code><a name="GdkPixbufFormat.signature"></a>signature</code></em>;</p></td>
|
891
|
+
<td class="struct_member_description"><p>the signature of the module.</p></td>
|
892
|
+
<td class="struct_member_annotations"> </td>
|
532
893
|
</tr>
|
533
894
|
<tr>
|
534
|
-
<td
|
535
|
-
<td>the message domain for the <em class="parameter"><code>description</code></em
|
895
|
+
<td class="struct_member_name"><p><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GdkPixbufFormat.domain"></a>domain</code></em>;</p></td>
|
896
|
+
<td class="struct_member_description"><p>the message domain for the <em class="parameter"><code>description</code></em>
|
897
|
+
.</p></td>
|
898
|
+
<td class="struct_member_annotations"> </td>
|
536
899
|
</tr>
|
537
900
|
<tr>
|
538
|
-
<td
|
539
|
-
<td>a description of the image format.</td>
|
901
|
+
<td class="struct_member_name"><p><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GdkPixbufFormat.description"></a>description</code></em>;</p></td>
|
902
|
+
<td class="struct_member_description"><p>a description of the image format.</p></td>
|
903
|
+
<td class="struct_member_annotations"> </td>
|
540
904
|
</tr>
|
541
905
|
<tr>
|
542
|
-
<td
|
543
|
-
<td>a <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>-terminated array of MIME types for the image format.</td>
|
906
|
+
<td class="struct_member_name"><p><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **<em class="structfield"><code><a name="GdkPixbufFormat.mime-types"></a>mime_types</code></em>;</p></td>
|
907
|
+
<td class="struct_member_description"><p>a <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>-terminated array of MIME types for the image format.</p></td>
|
908
|
+
<td class="struct_member_annotations"> </td>
|
544
909
|
</tr>
|
545
910
|
<tr>
|
546
|
-
<td
|
547
|
-
<td>a <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>-terminated array of typical filename extensions for the
|
548
|
-
image format.</td>
|
911
|
+
<td class="struct_member_name"><p><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **<em class="structfield"><code><a name="GdkPixbufFormat.extensions"></a>extensions</code></em>;</p></td>
|
912
|
+
<td class="struct_member_description"><p>a <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>-terminated array of typical filename extensions for the
|
913
|
+
image format.</p></td>
|
914
|
+
<td class="struct_member_annotations"> </td>
|
549
915
|
</tr>
|
550
916
|
<tr>
|
551
|
-
<td
|
552
|
-
<td>a combination of <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormatFlags" title="enum GdkPixbufFormatFlags"><span class="type">GdkPixbufFormatFlags</span></a>.</td>
|
917
|
+
<td class="struct_member_name"><p><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkPixbufFormat.flags"></a>flags</code></em>;</p></td>
|
918
|
+
<td class="struct_member_description"><p>a combination of <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormatFlags" title="enum GdkPixbufFormatFlags"><span class="type">GdkPixbufFormatFlags</span></a>.</p></td>
|
919
|
+
<td class="struct_member_annotations"> </td>
|
553
920
|
</tr>
|
554
921
|
<tr>
|
555
|
-
<td
|
556
|
-
<td>a boolean determining whether the loader is disabled.</td>
|
922
|
+
<td class="struct_member_name"><p><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> <em class="structfield"><code><a name="GdkPixbufFormat.disabled"></a>disabled</code></em>;</p></td>
|
923
|
+
<td class="struct_member_description"><p>a boolean determining whether the loader is disabled.</p></td>
|
924
|
+
<td class="struct_member_annotations"> </td>
|
557
925
|
</tr>
|
558
926
|
<tr>
|
559
|
-
<td
|
560
|
-
<td>a string containing license information, typically set to
|
561
|
-
shorthands like "GPL", "LGPL", etc.</td>
|
927
|
+
<td class="struct_member_name"><p><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GdkPixbufFormat.license"></a>license</code></em>;</p></td>
|
928
|
+
<td class="struct_member_description"><p>a string containing license information, typically set to
|
929
|
+
shorthands like "GPL", "LGPL", etc.</p></td>
|
930
|
+
<td class="struct_member_annotations"> </td>
|
562
931
|
</tr>
|
563
932
|
</tbody>
|
564
933
|
</table></div>
|
934
|
+
</div>
|
565
935
|
<p class="since">Since 2.2</p>
|
566
936
|
</div>
|
567
937
|
<hr>
|
568
938
|
<div class="refsect2">
|
569
939
|
<a name="GdkPixbufFormatFlags"></a><h3>enum GdkPixbufFormatFlags</h3>
|
570
|
-
<
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
</pre>
|
576
|
-
<p>
|
577
|
-
Flags which allow a module to specify further details about the supported
|
578
|
-
operations.
|
579
|
-
</p>
|
580
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
940
|
+
<p>Flags which allow a module to specify further details about the supported
|
941
|
+
operations.</p>
|
942
|
+
<div class="refsect3">
|
943
|
+
<a name="id-1.2.16.8.3.4"></a><h4>Members</h4>
|
944
|
+
<div class="informaltable"><table width="100%" border="0">
|
581
945
|
<colgroup>
|
582
|
-
<col
|
583
|
-
<col>
|
946
|
+
<col width="300px" class="enum_members_name">
|
947
|
+
<col class="enum_members_description">
|
948
|
+
<col width="200px" class="enum_members_annotations">
|
584
949
|
</colgroup>
|
585
950
|
<tbody>
|
586
951
|
<tr>
|
587
|
-
<td><p><a name="GDK-PIXBUF-FORMAT-WRITABLE:CAPS"></a
|
588
|
-
<td>
|
952
|
+
<td class="enum_member_name"><p><a name="GDK-PIXBUF-FORMAT-WRITABLE:CAPS"></a>GDK_PIXBUF_FORMAT_WRITABLE</p></td>
|
953
|
+
<td class="enum_member_description">
|
954
|
+
<p>the module can write out images in the format.</p>
|
589
955
|
</td>
|
956
|
+
<td class="enum_member_annotations"> </td>
|
590
957
|
</tr>
|
591
958
|
<tr>
|
592
|
-
<td><p><a name="GDK-PIXBUF-FORMAT-SCALABLE:CAPS"></a
|
593
|
-
<td>
|
959
|
+
<td class="enum_member_name"><p><a name="GDK-PIXBUF-FORMAT-SCALABLE:CAPS"></a>GDK_PIXBUF_FORMAT_SCALABLE</p></td>
|
960
|
+
<td class="enum_member_description">
|
961
|
+
<p>the image format is scalable</p>
|
594
962
|
</td>
|
963
|
+
<td class="enum_member_annotations"> </td>
|
595
964
|
</tr>
|
596
965
|
<tr>
|
597
|
-
<td><p><a name="GDK-PIXBUF-FORMAT-THREADSAFE:CAPS"></a
|
598
|
-
<td>
|
599
|
-
|
966
|
+
<td class="enum_member_name"><p><a name="GDK-PIXBUF-FORMAT-THREADSAFE:CAPS"></a>GDK_PIXBUF_FORMAT_THREADSAFE</p></td>
|
967
|
+
<td class="enum_member_description">
|
968
|
+
<p>the module is threadsafe. &gdk-pixbuf;
|
969
|
+
ignores modules that are not marked as threadsafe. (Since 2.28).</p>
|
600
970
|
</td>
|
971
|
+
<td class="enum_member_annotations"> </td>
|
601
972
|
</tr>
|
602
973
|
</tbody>
|
603
974
|
</table></div>
|
975
|
+
</div>
|
604
976
|
<p class="since">Since 2.2</p>
|
605
977
|
</div>
|
606
978
|
<hr>
|
@@ -612,235 +984,58 @@ operations.
|
|
612
984
|
int relevance;
|
613
985
|
};
|
614
986
|
</pre>
|
615
|
-
<p>
|
616
|
-
The signature of a module is a set of prefixes. Prefixes are encoded as
|
987
|
+
<p>The signature of a module is a set of prefixes. Prefixes are encoded as
|
617
988
|
pairs of ordinary strings, where the second string, called the mask, if
|
618
989
|
not <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>, must be of the same length as the first one and may contain
|
619
990
|
' ', '!', 'x', 'z', and 'n' to indicate bytes that must be matched,
|
620
991
|
not matched, "don't-care"-bytes, zeros and non-zeros.
|
621
992
|
Each prefix has an associated integer that describes the relevance of
|
622
|
-
the prefix, with 0 meaning a mismatch and 100 a "perfect match"
|
623
|
-
|
624
|
-
<p>
|
625
|
-
Starting with &gdk-pixbuf; 2.8, the first byte of the mask may be '*',
|
993
|
+
the prefix, with 0 meaning a mismatch and 100 a "perfect match".</p>
|
994
|
+
<p>Starting with &gdk-pixbuf; 2.8, the first byte of the mask may be '*',
|
626
995
|
indicating an unanchored pattern that matches not only at the beginning,
|
627
996
|
but also in the middle. Versions prior to 2.8 will interpret the '*'
|
628
|
-
like an 'x'.
|
629
|
-
|
630
|
-
<
|
631
|
-
|
632
|
-
<a
|
633
|
-
|
634
|
-
</p>
|
635
|
-
<p>
|
636
|
-
</p>
|
637
|
-
<div class="informalexample">
|
638
|
-
<pre class="programlisting">
|
997
|
+
like an 'x'. </p>
|
998
|
+
<p>The signature of a module is stored as an array of
|
999
|
+
<a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModulePattern" title="struct GdkPixbufModulePattern"><span class="type">GdkPixbufModulePattern</span></a><!-- -->s. The array is terminated by a pattern
|
1000
|
+
where the <em class="parameter"><code>prefix</code></em>
|
1001
|
+
is <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>
|
1002
|
+
<p><informalexample><programlisting>
|
639
1003
|
GdkPixbufModulePattern *signature[] = {
|
640
1004
|
{ "abcdx", " !x z", 100 },
|
641
1005
|
{ "bla", NULL, 90 },
|
642
1006
|
{ NULL, NULL, 0 }
|
643
1007
|
};
|
644
|
-
|
1008
|
+
</programlisting>
|
645
1009
|
The example matches e.g. "auud\0" with relevance 100, and "blau" with
|
646
|
-
relevance 90
|
647
|
-
<
|
648
|
-
</
|
649
|
-
<div class="
|
650
|
-
<colgroup>
|
651
|
-
<col align="left" valign="top">
|
652
|
-
<col>
|
653
|
-
</colgroup>
|
654
|
-
<tbody>
|
655
|
-
<tr>
|
656
|
-
<td><p><span class="term"><span class="type">char</span> *<em class="structfield"><code><a name="GdkPixbufModulePattern.prefix"></a>prefix</code></em>;</span></p></td>
|
657
|
-
<td>the prefix for this pattern</td>
|
658
|
-
</tr>
|
659
|
-
<tr>
|
660
|
-
<td><p><span class="term"><span class="type">char</span> *<em class="structfield"><code><a name="GdkPixbufModulePattern.mask"></a>mask</code></em>;</span></p></td>
|
661
|
-
<td>mask containing bytes which modify how the prefix is matched against
|
662
|
-
test data</td>
|
663
|
-
</tr>
|
664
|
-
<tr>
|
665
|
-
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="GdkPixbufModulePattern.relevance"></a>relevance</code></em>;</span></p></td>
|
666
|
-
<td>relevance of this pattern</td>
|
667
|
-
</tr>
|
668
|
-
</tbody>
|
669
|
-
</table></div>
|
670
|
-
<p class="since">Since 2.2</p>
|
671
|
-
</div>
|
672
|
-
<hr>
|
673
|
-
<div class="refsect2">
|
674
|
-
<a name="GdkPixbufModuleFillVtableFunc"></a><h3>GdkPixbufModuleFillVtableFunc ()</h3>
|
675
|
-
<pre class="programlisting"><span class="returnvalue">void</span> (*GdkPixbufModuleFillVtableFunc) (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModule" title="struct GdkPixbufModule"><span class="type">GdkPixbufModule</span></a> *module</code></em>);</pre>
|
676
|
-
<p>
|
677
|
-
Defines the type of the function used to set the vtable of a
|
678
|
-
<a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModule" title="struct GdkPixbufModule"><span class="type">GdkPixbufModule</span></a> when it is loaded.
|
679
|
-
</p>
|
680
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
681
|
-
<colgroup>
|
682
|
-
<col align="left" valign="top">
|
683
|
-
<col>
|
684
|
-
</colgroup>
|
685
|
-
<tbody><tr>
|
686
|
-
<td><p><span class="term"><em class="parameter"><code>module</code></em> :</span></p></td>
|
687
|
-
<td>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModule" title="struct GdkPixbufModule"><span class="type">GdkPixbufModule</span></a>.</td>
|
688
|
-
</tr></tbody>
|
689
|
-
</table></div>
|
690
|
-
<p class="since">Since 2.2</p>
|
691
|
-
</div>
|
692
|
-
<hr>
|
693
|
-
<div class="refsect2">
|
694
|
-
<a name="GdkPixbufModuleFillInfoFunc"></a><h3>GdkPixbufModuleFillInfoFunc ()</h3>
|
695
|
-
<pre class="programlisting"><span class="returnvalue">void</span> (*GdkPixbufModuleFillInfoFunc) (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *info</code></em>);</pre>
|
696
|
-
<p>
|
697
|
-
Defines the type of the function used to fill a
|
698
|
-
<a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> structure with information about a module.
|
699
|
-
</p>
|
700
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
701
|
-
<colgroup>
|
702
|
-
<col align="left" valign="top">
|
703
|
-
<col>
|
704
|
-
</colgroup>
|
705
|
-
<tbody><tr>
|
706
|
-
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
707
|
-
<td>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a>.</td>
|
708
|
-
</tr></tbody>
|
709
|
-
</table></div>
|
710
|
-
<p class="since">Since 2.2</p>
|
711
|
-
</div>
|
712
|
-
<hr>
|
713
|
-
<div class="refsect2">
|
714
|
-
<a name="GdkPixbufModuleSizeFunc"></a><h3>GdkPixbufModuleSizeFunc ()</h3>
|
715
|
-
<pre class="programlisting"><span class="returnvalue">void</span> (*GdkPixbufModuleSizeFunc) (<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#gint"><span class="type">gint</span></a> *width</code></em>,
|
716
|
-
<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#gint"><span class="type">gint</span></a> *height</code></em>,
|
717
|
-
<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#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
718
|
-
<p>
|
719
|
-
Defines the type of the function that gets called once the size
|
720
|
-
of the loaded image is known.
|
721
|
-
</p>
|
722
|
-
<p>
|
723
|
-
The function is expected to set <em class="parameter"><code>width</code></em> and <em class="parameter"><code>height</code></em> to the desired
|
724
|
-
size to which the image should be scaled. If a module has no efficient
|
725
|
-
way to achieve the desired scaling during the loading of the image, it may
|
726
|
-
either ignore the size request, or only approximate it -- &gdk-pixbuf; will
|
727
|
-
then perform the required scaling on the completely loaded image.
|
728
|
-
</p>
|
729
|
-
<p>
|
730
|
-
If the function sets <em class="parameter"><code>width</code></em> or <em class="parameter"><code>height</code></em> to zero, the module should interpret
|
731
|
-
this as a hint that it will be closed soon and shouldn't allocate further
|
732
|
-
resources. This convention is used to implement <a class="link" href="gdk-pixbuf-File-Loading.html#gdk-pixbuf-get-file-info" title="gdk_pixbuf_get_file_info ()"><code class="function">gdk_pixbuf_get_file_info()</code></a>
|
733
|
-
efficiently.
|
734
|
-
</p>
|
735
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1010
|
+
relevance 90.</informalexample></p>
|
1011
|
+
<div class="refsect3">
|
1012
|
+
<a name="id-1.2.16.8.4.8"></a><h4>Members</h4>
|
1013
|
+
<div class="informaltable"><table width="100%" border="0">
|
736
1014
|
<colgroup>
|
737
|
-
<col
|
738
|
-
<col>
|
1015
|
+
<col width="300px" class="struct_members_name">
|
1016
|
+
<col class="struct_members_description">
|
1017
|
+
<col width="200px" class="struct_members_annotations">
|
739
1018
|
</colgroup>
|
740
1019
|
<tbody>
|
741
1020
|
<tr>
|
742
|
-
<td><p><span class="
|
743
|
-
<td>
|
1021
|
+
<td class="struct_member_name"><p><span class="type">char</span> *<em class="structfield"><code><a name="GdkPixbufModulePattern.prefix"></a>prefix</code></em>;</p></td>
|
1022
|
+
<td class="struct_member_description"><p>the prefix for this pattern</p></td>
|
1023
|
+
<td class="struct_member_annotations"> </td>
|
744
1024
|
</tr>
|
745
1025
|
<tr>
|
746
|
-
<td><p><span class="
|
747
|
-
<td>
|
1026
|
+
<td class="struct_member_name"><p><span class="type">char</span> *<em class="structfield"><code><a name="GdkPixbufModulePattern.mask"></a>mask</code></em>;</p></td>
|
1027
|
+
<td class="struct_member_description"><p>mask containing bytes which modify how the prefix is matched against
|
1028
|
+
test data</p></td>
|
1029
|
+
<td class="struct_member_annotations"> </td>
|
748
1030
|
</tr>
|
749
1031
|
<tr>
|
750
|
-
<td><p><span class="
|
751
|
-
<td>
|
1032
|
+
<td class="struct_member_name"><p><span class="type">int</span> <em class="structfield"><code><a name="GdkPixbufModulePattern.relevance"></a>relevance</code></em>;</p></td>
|
1033
|
+
<td class="struct_member_description"><p>relevance of this pattern</p></td>
|
1034
|
+
<td class="struct_member_annotations"> </td>
|
752
1035
|
</tr>
|
753
1036
|
</tbody>
|
754
1037
|
</table></div>
|
755
|
-
<p class="since">Since 2.2</p>
|
756
1038
|
</div>
|
757
|
-
<hr>
|
758
|
-
<div class="refsect2">
|
759
|
-
<a name="GdkPixbufModulePreparedFunc"></a><h3>GdkPixbufModulePreparedFunc ()</h3>
|
760
|
-
<pre class="programlisting"><span class="returnvalue">void</span> (*GdkPixbufModulePreparedFunc) (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
761
|
-
<em class="parameter"><code><a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> *anim</code></em>,
|
762
|
-
<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#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
763
|
-
<p>
|
764
|
-
Defines the type of the function that gets called once the initial
|
765
|
-
setup of <em class="parameter"><code>pixbuf</code></em> is done.
|
766
|
-
</p>
|
767
|
-
<p>
|
768
|
-
<a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> uses a function of this type to emit the
|
769
|
-
"<a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-area-prepared" title='The "area-prepared" signal'>area_prepared</a>"
|
770
|
-
signal.
|
771
|
-
</p>
|
772
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
773
|
-
<colgroup>
|
774
|
-
<col align="left" valign="top">
|
775
|
-
<col>
|
776
|
-
</colgroup>
|
777
|
-
<tbody>
|
778
|
-
<tr>
|
779
|
-
<td><p><span class="term"><em class="parameter"><code>pixbuf</code></em> :</span></p></td>
|
780
|
-
<td>the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> that is currently being loaded.</td>
|
781
|
-
</tr>
|
782
|
-
<tr>
|
783
|
-
<td><p><span class="term"><em class="parameter"><code>anim</code></em> :</span></p></td>
|
784
|
-
<td>if an animation is being loaded, the <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a>, else <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>.</td>
|
785
|
-
</tr>
|
786
|
-
<tr>
|
787
|
-
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
788
|
-
<td>the loader.</td>
|
789
|
-
</tr>
|
790
|
-
</tbody>
|
791
|
-
</table></div>
|
792
|
-
<p class="since">Since 2.2</p>
|
793
|
-
</div>
|
794
|
-
<hr>
|
795
|
-
<div class="refsect2">
|
796
|
-
<a name="GdkPixbufModuleUpdatedFunc"></a><h3>GdkPixbufModuleUpdatedFunc ()</h3>
|
797
|
-
<pre class="programlisting"><span class="returnvalue">void</span> (*GdkPixbufModuleUpdatedFunc) (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
798
|
-
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
799
|
-
<em class="parameter"><code><span class="type">int</span> y</code></em>,
|
800
|
-
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
801
|
-
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
802
|
-
<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#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
803
|
-
<p>
|
804
|
-
Defines the type of the function that gets called every time a region
|
805
|
-
of <em class="parameter"><code>pixbuf</code></em> is updated.
|
806
|
-
</p>
|
807
|
-
<p>
|
808
|
-
<a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> uses a function of this type to emit the
|
809
|
-
"<a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-area-updated" title='The "area-updated" signal'>area_updated</a>"
|
810
|
-
signal.
|
811
|
-
</p>
|
812
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
813
|
-
<colgroup>
|
814
|
-
<col align="left" valign="top">
|
815
|
-
<col>
|
816
|
-
</colgroup>
|
817
|
-
<tbody>
|
818
|
-
<tr>
|
819
|
-
<td><p><span class="term"><em class="parameter"><code>pixbuf</code></em> :</span></p></td>
|
820
|
-
<td>the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> that is currently being loaded.</td>
|
821
|
-
</tr>
|
822
|
-
<tr>
|
823
|
-
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
824
|
-
<td>the X origin of the updated area.</td>
|
825
|
-
</tr>
|
826
|
-
<tr>
|
827
|
-
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
828
|
-
<td>the Y origin of the updated area.</td>
|
829
|
-
</tr>
|
830
|
-
<tr>
|
831
|
-
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
832
|
-
<td>the width of the updated area.</td>
|
833
|
-
</tr>
|
834
|
-
<tr>
|
835
|
-
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
836
|
-
<td>the height of the updated area.</td>
|
837
|
-
</tr>
|
838
|
-
<tr>
|
839
|
-
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
840
|
-
<td>the loader.</td>
|
841
|
-
</tr>
|
842
|
-
</tbody>
|
843
|
-
</table></div>
|
844
1039
|
<p class="since">Since 2.2</p>
|
845
1040
|
</div>
|
846
1041
|
<hr>
|
@@ -889,74 +1084,86 @@ signal.
|
|
889
1084
|
GError **error);
|
890
1085
|
};
|
891
1086
|
</pre>
|
892
|
-
<p>
|
893
|
-
|
894
|
-
|
895
|
-
</
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
|
900
|
-
|
901
|
-
</p>
|
902
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1087
|
+
<p>A <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModule" title="struct GdkPixbufModule"><span class="type">GdkPixbufModule</span></a> contains the necessary functions to load and save
|
1088
|
+
images in a certain file format. </p>
|
1089
|
+
<p>A <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModule" title="struct GdkPixbufModule"><span class="type">GdkPixbufModule</span></a> can be loaded dynamically from a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html#GModule"><span class="type">GModule</span></a>.
|
1090
|
+
Each loadable module must contain a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModuleFillVtableFunc" title="GdkPixbufModuleFillVtableFunc ()"><span class="type">GdkPixbufModuleFillVtableFunc</span></a> function
|
1091
|
+
named <function>fill_vtable</function>, which will get called when the module
|
1092
|
+
is loaded and must set the function pointers of the <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufModule" title="struct GdkPixbufModule"><span class="type">GdkPixbufModule</span></a>.</p>
|
1093
|
+
<div class="refsect3">
|
1094
|
+
<a name="id-1.2.16.8.5.6"></a><h4>Members</h4>
|
1095
|
+
<div class="informaltable"><table width="100%" border="0">
|
903
1096
|
<colgroup>
|
904
|
-
<col
|
905
|
-
<col>
|
1097
|
+
<col width="300px" class="struct_members_name">
|
1098
|
+
<col class="struct_members_description">
|
1099
|
+
<col width="200px" class="struct_members_annotations">
|
906
1100
|
</colgroup>
|
907
1101
|
<tbody>
|
908
1102
|
<tr>
|
909
|
-
<td
|
910
|
-
<td>the name of the module, usually the same as the
|
911
|
-
usual file extension for images of this type, eg. "xpm", "jpeg" or "png".</td>
|
1103
|
+
<td class="struct_member_name"><p><span class="type">char</span> *<em class="structfield"><code><a name="GdkPixbufModule.module-name"></a>module_name</code></em>;</p></td>
|
1104
|
+
<td class="struct_member_description"><p>the name of the module, usually the same as the
|
1105
|
+
usual file extension for images of this type, eg. "xpm", "jpeg" or "png".</p></td>
|
1106
|
+
<td class="struct_member_annotations"> </td>
|
912
1107
|
</tr>
|
913
1108
|
<tr>
|
914
|
-
<td
|
915
|
-
<td>the path from which the module is loaded.</td>
|
1109
|
+
<td class="struct_member_name"><p><span class="type">char</span> *<em class="structfield"><code><a name="GdkPixbufModule.module-path"></a>module_path</code></em>;</p></td>
|
1110
|
+
<td class="struct_member_description"><p>the path from which the module is loaded.</p></td>
|
1111
|
+
<td class="struct_member_annotations"> </td>
|
916
1112
|
</tr>
|
917
1113
|
<tr>
|
918
|
-
<td
|
919
|
-
<td>the loaded <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html#GModule"><span class="type">GModule</span></a>.</td>
|
1114
|
+
<td class="struct_member_name"><p><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html#GModule"><span class="type">GModule</span></a> *<em class="structfield"><code><a name="GdkPixbufModule.module"></a>module</code></em>;</p></td>
|
1115
|
+
<td class="struct_member_description"><p>the loaded <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html#GModule"><span class="type">GModule</span></a>.</p></td>
|
1116
|
+
<td class="struct_member_annotations"> </td>
|
920
1117
|
</tr>
|
921
1118
|
<tr>
|
922
|
-
<td
|
923
|
-
<td>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> holding information about the module.</td>
|
1119
|
+
<td class="struct_member_name"><p><a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> *<em class="structfield"><code><a name="GdkPixbufModule.info"></a>info</code></em>;</p></td>
|
1120
|
+
<td class="struct_member_description"><p>a <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> holding information about the module.</p></td>
|
1121
|
+
<td class="struct_member_annotations"> </td>
|
924
1122
|
</tr>
|
925
1123
|
<tr>
|
926
|
-
<td
|
927
|
-
<td>loads an image from a file.</td>
|
1124
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufModule.load"></a>load</code></em> ()</p></td>
|
1125
|
+
<td class="struct_member_description"><p>loads an image from a file.</p></td>
|
1126
|
+
<td class="struct_member_annotations"> </td>
|
928
1127
|
</tr>
|
929
1128
|
<tr>
|
930
|
-
<td
|
931
|
-
<td>loads an image from data in memory.</td>
|
1129
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufModule.load-xpm-data"></a>load_xpm_data</code></em> ()</p></td>
|
1130
|
+
<td class="struct_member_description"><p>loads an image from data in memory.</p></td>
|
1131
|
+
<td class="struct_member_annotations"> </td>
|
932
1132
|
</tr>
|
933
1133
|
<tr>
|
934
|
-
<td
|
935
|
-
<td>begins an incremental load.</td>
|
1134
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufModule.begin-load"></a>begin_load</code></em> ()</p></td>
|
1135
|
+
<td class="struct_member_description"><p>begins an incremental load.</p></td>
|
1136
|
+
<td class="struct_member_annotations"> </td>
|
936
1137
|
</tr>
|
937
1138
|
<tr>
|
938
|
-
<td
|
939
|
-
<td>stops an incremental load.</td>
|
1139
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufModule.stop-load"></a>stop_load</code></em> ()</p></td>
|
1140
|
+
<td class="struct_member_description"><p>stops an incremental load.</p></td>
|
1141
|
+
<td class="struct_member_annotations"> </td>
|
940
1142
|
</tr>
|
941
1143
|
<tr>
|
942
|
-
<td
|
943
|
-
<td>continues an incremental load.</td>
|
1144
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufModule.load-increment"></a>load_increment</code></em> ()</p></td>
|
1145
|
+
<td class="struct_member_description"><p>continues an incremental load.</p></td>
|
1146
|
+
<td class="struct_member_annotations"> </td>
|
944
1147
|
</tr>
|
945
1148
|
<tr>
|
946
|
-
<td
|
947
|
-
<td>loads an animation from a file.</td>
|
1149
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufModule.load-animation"></a>load_animation</code></em> ()</p></td>
|
1150
|
+
<td class="struct_member_description"><p>loads an animation from a file.</p></td>
|
1151
|
+
<td class="struct_member_annotations"> </td>
|
948
1152
|
</tr>
|
949
1153
|
<tr>
|
950
|
-
<td
|
951
|
-
<td>saves a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> to a file.</td>
|
1154
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufModule.save"></a>save</code></em> ()</p></td>
|
1155
|
+
<td class="struct_member_description"><p>saves a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> to a file.</p></td>
|
1156
|
+
<td class="struct_member_annotations"> </td>
|
952
1157
|
</tr>
|
953
1158
|
<tr>
|
954
|
-
<td
|
955
|
-
<td>saves a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> by calling the given <a class="link" href="gdk-pixbuf-File-saving.html#GdkPixbufSaveFunc" title="GdkPixbufSaveFunc
|
1159
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufModule.save-to-callback"></a>save_to_callback</code></em> ()</p></td>
|
1160
|
+
<td class="struct_member_description"><p>saves a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> by calling the given <a class="link" href="gdk-pixbuf-File-saving.html#GdkPixbufSaveFunc" title="GdkPixbufSaveFunc ()"><span class="type">GdkPixbufSaveFunc</span></a>.</p></td>
|
1161
|
+
<td class="struct_member_annotations"> </td>
|
956
1162
|
</tr>
|
957
1163
|
</tbody>
|
958
1164
|
</table></div>
|
959
1165
|
</div>
|
1166
|
+
</div>
|
960
1167
|
<hr>
|
961
1168
|
<div class="refsect2">
|
962
1169
|
<a name="GdkPixbufAnimationClass"></a><h3>struct GdkPixbufAnimationClass</h3>
|
@@ -976,40 +1183,49 @@ usual file extension for images of this type, eg. "xpm", "jpeg" or "png".</td>
|
|
976
1183
|
const GTimeVal *start_time);
|
977
1184
|
};
|
978
1185
|
</pre>
|
979
|
-
<p>
|
980
|
-
Modules supporting animations must derive a type from
|
1186
|
+
<p>Modules supporting animations must derive a type from
|
981
1187
|
<a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a>, providing suitable implementations of the
|
982
|
-
virtual functions
|
983
|
-
|
984
|
-
<
|
1188
|
+
virtual functions.</p>
|
1189
|
+
<div class="refsect3">
|
1190
|
+
<a name="id-1.2.16.8.6.5"></a><h4>Members</h4>
|
1191
|
+
<div class="informaltable"><table width="100%" border="0">
|
985
1192
|
<colgroup>
|
986
|
-
<col
|
987
|
-
<col>
|
1193
|
+
<col width="300px" class="struct_members_name">
|
1194
|
+
<col class="struct_members_description">
|
1195
|
+
<col width="200px" class="struct_members_annotations">
|
988
1196
|
</colgroup>
|
989
1197
|
<tbody>
|
990
1198
|
<tr>
|
991
|
-
<td
|
992
|
-
<td>the parent class</td>
|
1199
|
+
<td class="struct_member_name"><p><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> <em class="structfield"><code><a name="GdkPixbufAnimationClass.parent-class"></a>parent_class</code></em>;</p></td>
|
1200
|
+
<td class="struct_member_description"><p>the parent class</p></td>
|
1201
|
+
<td class="struct_member_annotations"> </td>
|
993
1202
|
</tr>
|
994
1203
|
<tr>
|
995
|
-
<td
|
996
|
-
<td>returns whether the given animation is just a static image.</td>
|
1204
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufAnimationClass.is-static-image"></a>is_static_image</code></em> ()</p></td>
|
1205
|
+
<td class="struct_member_description"><p>returns whether the given animation is just a static image.</p></td>
|
1206
|
+
<td class="struct_member_annotations"> </td>
|
997
1207
|
</tr>
|
998
1208
|
<tr>
|
999
|
-
<td
|
1000
|
-
<td>returns a static image representing the given animation.</td>
|
1209
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufAnimationClass.get-static-image"></a>get_static_image</code></em> ()</p></td>
|
1210
|
+
<td class="struct_member_description"><p>returns a static image representing the given animation.</p></td>
|
1211
|
+
<td class="struct_member_annotations"> </td>
|
1001
1212
|
</tr>
|
1002
1213
|
<tr>
|
1003
|
-
<td
|
1004
|
-
<td
|
1214
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufAnimationClass.get-size"></a>get_size</code></em> ()</p></td>
|
1215
|
+
<td class="struct_member_description"><p>fills <em class="parameter"><code>width</code></em>
|
1216
|
+
and <em class="parameter"><code>height</code></em>
|
1217
|
+
with the frame size of the animation.</p></td>
|
1218
|
+
<td class="struct_member_annotations"> </td>
|
1005
1219
|
</tr>
|
1006
1220
|
<tr>
|
1007
|
-
<td
|
1008
|
-
<td>returns an iterator for the given animation.</td>
|
1221
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufAnimationClass.get-iter"></a>get_iter</code></em> ()</p></td>
|
1222
|
+
<td class="struct_member_description"><p>returns an iterator for the given animation.</p></td>
|
1223
|
+
<td class="struct_member_annotations"> </td>
|
1009
1224
|
</tr>
|
1010
1225
|
</tbody>
|
1011
1226
|
</table></div>
|
1012
1227
|
</div>
|
1228
|
+
</div>
|
1013
1229
|
<hr>
|
1014
1230
|
<div class="refsect2">
|
1015
1231
|
<a name="GdkPixbufAnimationIterClass"></a><h3>struct GdkPixbufAnimationIterClass</h3>
|
@@ -1027,47 +1243,56 @@ virtual functions.
|
|
1027
1243
|
const GTimeVal *current_time);
|
1028
1244
|
};
|
1029
1245
|
</pre>
|
1030
|
-
<p>
|
1031
|
-
Modules supporting animations must derive a type from
|
1246
|
+
<p>Modules supporting animations must derive a type from
|
1032
1247
|
<a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimationIter"><span class="type">GdkPixbufAnimationIter</span></a>, providing suitable implementations of the
|
1033
|
-
virtual functions
|
1034
|
-
|
1035
|
-
<
|
1248
|
+
virtual functions.</p>
|
1249
|
+
<div class="refsect3">
|
1250
|
+
<a name="id-1.2.16.8.7.5"></a><h4>Members</h4>
|
1251
|
+
<div class="informaltable"><table width="100%" border="0">
|
1036
1252
|
<colgroup>
|
1037
|
-
<col
|
1038
|
-
<col>
|
1253
|
+
<col width="300px" class="struct_members_name">
|
1254
|
+
<col class="struct_members_description">
|
1255
|
+
<col width="200px" class="struct_members_annotations">
|
1039
1256
|
</colgroup>
|
1040
1257
|
<tbody>
|
1041
1258
|
<tr>
|
1042
|
-
<td
|
1043
|
-
<td>the parent class</td>
|
1259
|
+
<td class="struct_member_name"><p><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> <em class="structfield"><code><a name="GdkPixbufAnimationIterClass.parent-class"></a>parent_class</code></em>;</p></td>
|
1260
|
+
<td class="struct_member_description"><p>the parent class</p></td>
|
1261
|
+
<td class="struct_member_annotations"> </td>
|
1044
1262
|
</tr>
|
1045
1263
|
<tr>
|
1046
|
-
<td
|
1047
|
-
<td>returns the time in milliseconds that the current frame
|
1048
|
-
should be shown.</td>
|
1264
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufAnimationIterClass.get-delay-time"></a>get_delay_time</code></em> ()</p></td>
|
1265
|
+
<td class="struct_member_description"><p>returns the time in milliseconds that the current frame
|
1266
|
+
should be shown.</p></td>
|
1267
|
+
<td class="struct_member_annotations"> </td>
|
1049
1268
|
</tr>
|
1050
1269
|
<tr>
|
1051
|
-
<td
|
1052
|
-
<td>returns the current frame.</td>
|
1270
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufAnimationIterClass.get-pixbuf"></a>get_pixbuf</code></em> ()</p></td>
|
1271
|
+
<td class="struct_member_description"><p>returns the current frame.</p></td>
|
1272
|
+
<td class="struct_member_annotations"> </td>
|
1053
1273
|
</tr>
|
1054
1274
|
<tr>
|
1055
|
-
<td
|
1056
|
-
<td>returns whether the current frame of <em class="parameter"><code>iter</code></em>
|
1057
|
-
|
1275
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufAnimationIterClass.on-currently-loading-frame"></a>on_currently_loading_frame</code></em> ()</p></td>
|
1276
|
+
<td class="struct_member_description"><p>returns whether the current frame of <em class="parameter"><code>iter</code></em>
|
1277
|
+
is
|
1278
|
+
being loaded.</p></td>
|
1279
|
+
<td class="struct_member_annotations"> </td>
|
1058
1280
|
</tr>
|
1059
1281
|
<tr>
|
1060
|
-
<td
|
1061
|
-
<td>advances the iterator to <em class="parameter"><code>current_time</code></em
|
1062
|
-
|
1282
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="GdkPixbufAnimationIterClass.advance"></a>advance</code></em> ()</p></td>
|
1283
|
+
<td class="struct_member_description"><p>advances the iterator to <em class="parameter"><code>current_time</code></em>
|
1284
|
+
, possibly changing the
|
1285
|
+
current frame.</p></td>
|
1286
|
+
<td class="struct_member_annotations"> </td>
|
1063
1287
|
</tr>
|
1064
1288
|
</tbody>
|
1065
1289
|
</table></div>
|
1066
1290
|
</div>
|
1067
1291
|
</div>
|
1068
1292
|
</div>
|
1293
|
+
</div>
|
1069
1294
|
<div class="footer">
|
1070
1295
|
<hr>
|
1071
|
-
Generated by GTK-Doc V1.
|
1296
|
+
Generated by GTK-Doc V1.20.1</div>
|
1072
1297
|
</body>
|
1073
1298
|
</html>
|