gdk_pixbuf2 2.1.0-x86-mingw32 → 2.2.0-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/lib/1.9/gdk_pixbuf2.so +0 -0
- data/lib/2.0/gdk_pixbuf2.so +0 -0
- data/lib/2.1/gdk_pixbuf2.so +0 -0
- data/vendor/local/bin/gdk-pixbuf-csource.exe +0 -0
- data/vendor/local/bin/gdk-pixbuf-pixdata.exe +0 -0
- data/vendor/local/bin/gdk-pixbuf-query-loaders.exe +0 -0
- data/vendor/local/bin/libgdk_pixbuf-2.0-0.dll +0 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-animation.h +1 -3
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +1 -3
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +2 -2
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h +1 -3
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h +1 -3
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h +1 -3
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h +1 -3
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h +1 -3
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h +1 -3
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache +1 -1
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll.a +0 -0
- data/vendor/local/lib/girepository-1.0/GdkPixbuf-2.0.typelib +0 -0
- data/vendor/local/lib/libgdk_pixbuf-2.0.dll.a +0 -0
- data/vendor/local/lib/libgdk_pixbuf-2.0.la +1 -1
- data/vendor/local/lib/pkgconfig/gdk-pixbuf-2.0.pc +1 -1
- data/vendor/local/share/gir-1.0/GdkPixbuf-2.0.gir +30 -27
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +557 -416
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/annotation-glossary.html +10 -12
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-12.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-14.html +9 -11
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-2.html +22 -24
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-26.html +10 -12
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-28.html +8 -8
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-30.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-4.html +16 -18
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-6.html +14 -16
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-8.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-deprecated.html +11 -13
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-full.html +165 -167
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html +768 -578
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +546 -428
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +549 -474
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +321 -265
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +467 -349
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +887 -662
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +122 -91
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Scaling.html +656 -518
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +631 -484
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Utilities.html +247 -171
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Versioning.html +110 -89
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-X-Drawables-to-Pixbufs.html +119 -98
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Xlib-Rendering.html +275 -230
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-XlibRGB.html +784 -581
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-csource.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-Xlib-initialization.html +86 -55
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-from-drawables.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-rendering.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-query-loaders.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf.devhelp2 +153 -192
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.sgml +98 -97
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/license.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/style.css +247 -94
- data/vendor/local/share/locale/af/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ang/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/br/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/crh/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/csb/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/io/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/li/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/my/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nso/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/uz/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/uz@cyrillic/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/man/man1/gdk-pixbuf-csource.1 +1 -1
- data/vendor/local/share/man/man1/gdk-pixbuf-query-loaders.1 +1 -1
- metadata +4 -4
@@ -8,15 +8,14 @@
|
|
8
8
|
<link rel="up" href="rn01.html" title="API Reference">
|
9
9
|
<link rel="prev" href="gdk-pixbuf-gdk-pixbuf-Xlib-initialization.html" title="gdk-pixbuf Xlib initialization">
|
10
10
|
<link rel="next" href="gdk-pixbuf-X-Drawables-to-Pixbufs.html" title="X Drawables to Pixbufs">
|
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-Xlib-Rendering.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-Xlib-Rendering.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,364 +29,410 @@
|
|
30
29
|
<h2><span class="refentrytitle"><a name="gdk-pixbuf-Xlib-Rendering.top_of_page"></a>Xlib Rendering</span></h2>
|
31
30
|
<p>Xlib Rendering — Rendering a pixbuf to an X drawable.</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-Xlib-Rendering.
|
37
|
-
<
|
38
|
-
|
39
|
-
|
40
|
-
<
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
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
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
34
|
+
<div class="refsect1">
|
35
|
+
<a name="gdk-pixbuf-Xlib-Rendering.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
|
+
<span class="returnvalue">void</span>
|
45
|
+
</td>
|
46
|
+
<td class="function_name">
|
47
|
+
<a class="link" href="gdk-pixbuf-Xlib-Rendering.html#gdk-pixbuf-xlib-render-threshold-alpha" title="gdk_pixbuf_xlib_render_threshold_alpha ()">gdk_pixbuf_xlib_render_threshold_alpha</a> <span class="c_punctuation">()</span>
|
48
|
+
</td>
|
49
|
+
</tr>
|
50
|
+
<tr>
|
51
|
+
<td class="function_type">
|
52
|
+
<span class="returnvalue">void</span>
|
53
|
+
</td>
|
54
|
+
<td class="function_name">
|
55
|
+
<a class="link" href="gdk-pixbuf-Xlib-Rendering.html#gdk-pixbuf-xlib-render-to-drawable" title="gdk_pixbuf_xlib_render_to_drawable ()">gdk_pixbuf_xlib_render_to_drawable</a> <span class="c_punctuation">()</span>
|
56
|
+
</td>
|
57
|
+
</tr>
|
58
|
+
<tr>
|
59
|
+
<td class="function_type">
|
60
|
+
<span class="returnvalue">void</span>
|
61
|
+
</td>
|
62
|
+
<td class="function_name">
|
63
|
+
<a class="link" href="gdk-pixbuf-Xlib-Rendering.html#gdk-pixbuf-xlib-render-to-drawable-alpha" title="gdk_pixbuf_xlib_render_to_drawable_alpha ()">gdk_pixbuf_xlib_render_to_drawable_alpha</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-Xlib-Rendering.html#gdk-pixbuf-xlib-render-pixmap-and-mask" title="gdk_pixbuf_xlib_render_pixmap_and_mask ()">gdk_pixbuf_xlib_render_pixmap_and_mask</a> <span class="c_punctuation">()</span>
|
72
|
+
</td>
|
73
|
+
</tr>
|
74
|
+
</tbody>
|
75
|
+
</table></div>
|
76
|
+
</div>
|
77
|
+
<div class="refsect1">
|
78
|
+
<a name="gdk-pixbuf-Xlib-Rendering.includes"></a><h2>Includes</h2>
|
79
|
+
<pre class="synopsis">#include <gdk-pixbuf/gdk-pixbuf.h>
|
81
80
|
</pre>
|
82
81
|
</div>
|
83
82
|
<div class="refsect1">
|
84
83
|
<a name="gdk-pixbuf-Xlib-Rendering.description"></a><h2>Description</h2>
|
85
|
-
<p>
|
86
|
-
The &gdk-pixbuf; Xlib library provides several convenience
|
84
|
+
<p>The &gdk-pixbuf; Xlib library provides several convenience
|
87
85
|
functions to render pixbufs to X drawables. It uses XlibRGB to
|
88
|
-
render the image data
|
89
|
-
|
90
|
-
|
91
|
-
These functions are analogous to those for the GDK version of
|
92
|
-
&gdk-pixbuf;.
|
93
|
-
</p>
|
86
|
+
render the image data.</p>
|
87
|
+
<p>These functions are analogous to those for the GDK version of
|
88
|
+
&gdk-pixbuf;.</p>
|
94
89
|
</div>
|
95
90
|
<div class="refsect1">
|
96
|
-
<a name="gdk-pixbuf-Xlib-Rendering.
|
91
|
+
<a name="gdk-pixbuf-Xlib-Rendering.functions_details"></a><h2>Functions</h2>
|
97
92
|
<div class="refsect2">
|
98
|
-
<a name="gdk-pixbuf-xlib-render-threshold-alpha"></a><h3>gdk_pixbuf_xlib_render_threshold_alpha
|
99
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
<
|
110
|
-
Takes the opacity values in a rectangular portion of a pixbuf and thresholds
|
93
|
+
<a name="gdk-pixbuf-xlib-render-threshold-alpha"></a><h3>gdk_pixbuf_xlib_render_threshold_alpha ()</h3>
|
94
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
95
|
+
gdk_pixbuf_xlib_render_threshold_alpha
|
96
|
+
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
97
|
+
<em class="parameter"><code><span class="type">Pixmap</span> bitmap</code></em>,
|
98
|
+
<em class="parameter"><code><span class="type">int</span> src_x</code></em>,
|
99
|
+
<em class="parameter"><code><span class="type">int</span> src_y</code></em>,
|
100
|
+
<em class="parameter"><code><span class="type">int</span> dest_x</code></em>,
|
101
|
+
<em class="parameter"><code><span class="type">int</span> dest_y</code></em>,
|
102
|
+
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
103
|
+
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
104
|
+
<em class="parameter"><code><span class="type">int</span> alpha_threshold</code></em>);</pre>
|
105
|
+
<p>Takes the opacity values in a rectangular portion of a pixbuf and thresholds
|
111
106
|
them to produce a bi-level alpha mask that can be used as a clipping mask for
|
112
|
-
a drawable
|
113
|
-
|
114
|
-
<
|
107
|
+
a drawable.</p>
|
108
|
+
<div class="refsect3">
|
109
|
+
<a name="id-1.2.18.6.2.5"></a><h4>Parameters</h4>
|
110
|
+
<div class="informaltable"><table width="100%" border="0">
|
115
111
|
<colgroup>
|
116
|
-
<col
|
117
|
-
<col>
|
112
|
+
<col width="150px" class="parameters_name">
|
113
|
+
<col class="parameters_description">
|
114
|
+
<col width="200px" class="parameters_annotations">
|
118
115
|
</colgroup>
|
119
116
|
<tbody>
|
120
117
|
<tr>
|
121
|
-
<td
|
122
|
-
<td>A pixbuf.</td>
|
118
|
+
<td class="parameter_name"><p>pixbuf</p></td>
|
119
|
+
<td class="parameter_description"><p>A pixbuf.</p></td>
|
120
|
+
<td class="parameter_annotations"> </td>
|
123
121
|
</tr>
|
124
122
|
<tr>
|
125
|
-
<td
|
126
|
-
<td>Bitmap where the bilevel mask will be painted to.</td>
|
123
|
+
<td class="parameter_name"><p>bitmap</p></td>
|
124
|
+
<td class="parameter_description"><p>Bitmap where the bilevel mask will be painted to.</p></td>
|
125
|
+
<td class="parameter_annotations"> </td>
|
127
126
|
</tr>
|
128
127
|
<tr>
|
129
|
-
<td
|
130
|
-
<td>Source X coordinate.</td>
|
128
|
+
<td class="parameter_name"><p>src_x</p></td>
|
129
|
+
<td class="parameter_description"><p>Source X coordinate.</p></td>
|
130
|
+
<td class="parameter_annotations"> </td>
|
131
131
|
</tr>
|
132
132
|
<tr>
|
133
|
-
<td
|
134
|
-
<td>source Y coordinate.</td>
|
133
|
+
<td class="parameter_name"><p>src_y</p></td>
|
134
|
+
<td class="parameter_description"><p>source Y coordinate.</p></td>
|
135
|
+
<td class="parameter_annotations"> </td>
|
135
136
|
</tr>
|
136
137
|
<tr>
|
137
|
-
<td
|
138
|
-
<td>Destination X coordinate.</td>
|
138
|
+
<td class="parameter_name"><p>dest_x</p></td>
|
139
|
+
<td class="parameter_description"><p>Destination X coordinate.</p></td>
|
140
|
+
<td class="parameter_annotations"> </td>
|
139
141
|
</tr>
|
140
142
|
<tr>
|
141
|
-
<td
|
142
|
-
<td>Destination Y coordinate.</td>
|
143
|
+
<td class="parameter_name"><p>dest_y</p></td>
|
144
|
+
<td class="parameter_description"><p>Destination Y coordinate.</p></td>
|
145
|
+
<td class="parameter_annotations"> </td>
|
143
146
|
</tr>
|
144
147
|
<tr>
|
145
|
-
<td
|
146
|
-
<td>Width of region to threshold.</td>
|
148
|
+
<td class="parameter_name"><p>width</p></td>
|
149
|
+
<td class="parameter_description"><p>Width of region to threshold.</p></td>
|
150
|
+
<td class="parameter_annotations"> </td>
|
147
151
|
</tr>
|
148
152
|
<tr>
|
149
|
-
<td
|
150
|
-
<td>Height of region to threshold.</td>
|
153
|
+
<td class="parameter_name"><p>height</p></td>
|
154
|
+
<td class="parameter_description"><p>Height of region to threshold.</p></td>
|
155
|
+
<td class="parameter_annotations"> </td>
|
151
156
|
</tr>
|
152
157
|
<tr>
|
153
|
-
<td
|
154
|
-
<td>Opacity values below this will be painted as zero; all
|
155
|
-
other values will be painted as one.</td>
|
158
|
+
<td class="parameter_name"><p>alpha_threshold</p></td>
|
159
|
+
<td class="parameter_description"><p>Opacity values below this will be painted as zero; all
|
160
|
+
other values will be painted as one.</p></td>
|
161
|
+
<td class="parameter_annotations"> </td>
|
156
162
|
</tr>
|
157
163
|
</tbody>
|
158
164
|
</table></div>
|
159
165
|
</div>
|
166
|
+
</div>
|
160
167
|
<hr>
|
161
168
|
<div class="refsect2">
|
162
|
-
<a name="gdk-pixbuf-xlib-render-to-drawable"></a><h3>gdk_pixbuf_xlib_render_to_drawable
|
163
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
<
|
176
|
-
Renders a rectangular portion of a pixbuf to a drawable while using the
|
169
|
+
<a name="gdk-pixbuf-xlib-render-to-drawable"></a><h3>gdk_pixbuf_xlib_render_to_drawable ()</h3>
|
170
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
171
|
+
gdk_pixbuf_xlib_render_to_drawable (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
172
|
+
<em class="parameter"><code><span class="type">Drawable</span> drawable</code></em>,
|
173
|
+
<em class="parameter"><code><span class="type">GC</span> gc</code></em>,
|
174
|
+
<em class="parameter"><code><span class="type">int</span> src_x</code></em>,
|
175
|
+
<em class="parameter"><code><span class="type">int</span> src_y</code></em>,
|
176
|
+
<em class="parameter"><code><span class="type">int</span> dest_x</code></em>,
|
177
|
+
<em class="parameter"><code><span class="type">int</span> dest_y</code></em>,
|
178
|
+
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
179
|
+
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
180
|
+
<em class="parameter"><code><a class="link" href="gdk-pixbuf-XlibRGB.html#XlibRgbDither" title="enum XlibRgbDither"><span class="type">XlibRgbDither</span></a> dither</code></em>,
|
181
|
+
<em class="parameter"><code><span class="type">int</span> x_dither</code></em>,
|
182
|
+
<em class="parameter"><code><span class="type">int</span> y_dither</code></em>);</pre>
|
183
|
+
<p>Renders a rectangular portion of a pixbuf to a drawable while using the
|
177
184
|
specified GC. This is done using XlibRGB, so the specified drawable must
|
178
185
|
have the XlibRGB visual and colormap. Note that this function will ignore
|
179
186
|
the opacity information for images with an alpha channel; the GC must already
|
180
|
-
have the clipping mask set if you want transparent regions to show through
|
181
|
-
|
182
|
-
<p>
|
183
|
-
For an explanation of dither offsets, see the XlibRGB documentation. In
|
187
|
+
have the clipping mask set if you want transparent regions to show through.</p>
|
188
|
+
<p>For an explanation of dither offsets, see the XlibRGB documentation. In
|
184
189
|
brief, the dither offset is important when re-rendering partial regions of an
|
185
190
|
image to a rendered version of the full image, or for when the offsets to a
|
186
191
|
base position change, as in scrolling. The dither matrix has to be shifted
|
187
192
|
for consistent visual results. If you do not have any of these cases, the
|
188
|
-
dither offsets can be both zero
|
189
|
-
|
190
|
-
<
|
193
|
+
dither offsets can be both zero.</p>
|
194
|
+
<div class="refsect3">
|
195
|
+
<a name="id-1.2.18.6.3.6"></a><h4>Parameters</h4>
|
196
|
+
<div class="informaltable"><table width="100%" border="0">
|
191
197
|
<colgroup>
|
192
|
-
<col
|
193
|
-
<col>
|
198
|
+
<col width="150px" class="parameters_name">
|
199
|
+
<col class="parameters_description">
|
200
|
+
<col width="200px" class="parameters_annotations">
|
194
201
|
</colgroup>
|
195
202
|
<tbody>
|
196
203
|
<tr>
|
197
|
-
<td
|
198
|
-
<td>A pixbuf.</td>
|
204
|
+
<td class="parameter_name"><p>pixbuf</p></td>
|
205
|
+
<td class="parameter_description"><p>A pixbuf.</p></td>
|
206
|
+
<td class="parameter_annotations"> </td>
|
199
207
|
</tr>
|
200
208
|
<tr>
|
201
|
-
<td
|
202
|
-
<td>Destination drawable.</td>
|
209
|
+
<td class="parameter_name"><p>drawable</p></td>
|
210
|
+
<td class="parameter_description"><p>Destination drawable.</p></td>
|
211
|
+
<td class="parameter_annotations"> </td>
|
203
212
|
</tr>
|
204
213
|
<tr>
|
205
|
-
<td
|
206
|
-
<td>GC used for rendering.</td>
|
214
|
+
<td class="parameter_name"><p>gc</p></td>
|
215
|
+
<td class="parameter_description"><p>GC used for rendering.</p></td>
|
216
|
+
<td class="parameter_annotations"> </td>
|
207
217
|
</tr>
|
208
218
|
<tr>
|
209
|
-
<td
|
210
|
-
<td>Source X coordinate within pixbuf.</td>
|
219
|
+
<td class="parameter_name"><p>src_x</p></td>
|
220
|
+
<td class="parameter_description"><p>Source X coordinate within pixbuf.</p></td>
|
221
|
+
<td class="parameter_annotations"> </td>
|
211
222
|
</tr>
|
212
223
|
<tr>
|
213
|
-
<td
|
214
|
-
<td>Source Y coordinate within pixbuf.</td>
|
224
|
+
<td class="parameter_name"><p>src_y</p></td>
|
225
|
+
<td class="parameter_description"><p>Source Y coordinate within pixbuf.</p></td>
|
226
|
+
<td class="parameter_annotations"> </td>
|
215
227
|
</tr>
|
216
228
|
<tr>
|
217
|
-
<td
|
218
|
-
<td>Destination X coordinate within drawable.</td>
|
229
|
+
<td class="parameter_name"><p>dest_x</p></td>
|
230
|
+
<td class="parameter_description"><p>Destination X coordinate within drawable.</p></td>
|
231
|
+
<td class="parameter_annotations"> </td>
|
219
232
|
</tr>
|
220
233
|
<tr>
|
221
|
-
<td
|
222
|
-
<td>Destination Y coordinate within drawable.</td>
|
234
|
+
<td class="parameter_name"><p>dest_y</p></td>
|
235
|
+
<td class="parameter_description"><p>Destination Y coordinate within drawable.</p></td>
|
236
|
+
<td class="parameter_annotations"> </td>
|
223
237
|
</tr>
|
224
238
|
<tr>
|
225
|
-
<td
|
226
|
-
<td>Width of region to render, in pixels.</td>
|
239
|
+
<td class="parameter_name"><p>width</p></td>
|
240
|
+
<td class="parameter_description"><p>Width of region to render, in pixels.</p></td>
|
241
|
+
<td class="parameter_annotations"> </td>
|
227
242
|
</tr>
|
228
243
|
<tr>
|
229
|
-
<td
|
230
|
-
<td>Height of region to render, in pixels.</td>
|
244
|
+
<td class="parameter_name"><p>height</p></td>
|
245
|
+
<td class="parameter_description"><p>Height of region to render, in pixels.</p></td>
|
246
|
+
<td class="parameter_annotations"> </td>
|
231
247
|
</tr>
|
232
248
|
<tr>
|
233
|
-
<td
|
234
|
-
<td>Dithering mode for XlibRGB.</td>
|
249
|
+
<td class="parameter_name"><p>dither</p></td>
|
250
|
+
<td class="parameter_description"><p>Dithering mode for XlibRGB.</p></td>
|
251
|
+
<td class="parameter_annotations"> </td>
|
235
252
|
</tr>
|
236
253
|
<tr>
|
237
|
-
<td
|
238
|
-
<td>X offset for dither.</td>
|
254
|
+
<td class="parameter_name"><p>x_dither</p></td>
|
255
|
+
<td class="parameter_description"><p>X offset for dither.</p></td>
|
256
|
+
<td class="parameter_annotations"> </td>
|
239
257
|
</tr>
|
240
258
|
<tr>
|
241
|
-
<td
|
242
|
-
<td>Y offset for dither.</td>
|
259
|
+
<td class="parameter_name"><p>y_dither</p></td>
|
260
|
+
<td class="parameter_description"><p>Y offset for dither.</p></td>
|
261
|
+
<td class="parameter_annotations"> </td>
|
243
262
|
</tr>
|
244
263
|
</tbody>
|
245
264
|
</table></div>
|
246
265
|
</div>
|
266
|
+
</div>
|
247
267
|
<hr>
|
248
268
|
<div class="refsect2">
|
249
|
-
<a name="gdk-pixbuf-xlib-render-to-drawable-alpha"></a><h3>gdk_pixbuf_xlib_render_to_drawable_alpha
|
250
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
<
|
265
|
-
Renders a rectangular portion of a pixbuf to a drawable. This is done using
|
266
|
-
XlibRGB, so the specified drawable must have the XlibRGB visual and colormap
|
267
|
-
|
268
|
-
<p>
|
269
|
-
When used with <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ALPHA-BILEVEL:CAPS"><span class="type">GDK_PIXBUF_ALPHA_BILEVEL</span></a>, this function has to create a bitmap
|
269
|
+
<a name="gdk-pixbuf-xlib-render-to-drawable-alpha"></a><h3>gdk_pixbuf_xlib_render_to_drawable_alpha ()</h3>
|
270
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
271
|
+
gdk_pixbuf_xlib_render_to_drawable_alpha
|
272
|
+
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
273
|
+
<em class="parameter"><code><span class="type">Drawable</span> drawable</code></em>,
|
274
|
+
<em class="parameter"><code><span class="type">int</span> src_x</code></em>,
|
275
|
+
<em class="parameter"><code><span class="type">int</span> src_y</code></em>,
|
276
|
+
<em class="parameter"><code><span class="type">int</span> dest_x</code></em>,
|
277
|
+
<em class="parameter"><code><span class="type">int</span> dest_y</code></em>,
|
278
|
+
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
279
|
+
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
280
|
+
<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbufAlphaMode" title="enum GdkPixbufAlphaMode"><span class="type">GdkPixbufAlphaMode</span></a> alpha_mode</code></em>,
|
281
|
+
<em class="parameter"><code><span class="type">int</span> alpha_threshold</code></em>,
|
282
|
+
<em class="parameter"><code><a class="link" href="gdk-pixbuf-XlibRGB.html#XlibRgbDither" title="enum XlibRgbDither"><span class="type">XlibRgbDither</span></a> dither</code></em>,
|
283
|
+
<em class="parameter"><code><span class="type">int</span> x_dither</code></em>,
|
284
|
+
<em class="parameter"><code><span class="type">int</span> y_dither</code></em>);</pre>
|
285
|
+
<p>Renders a rectangular portion of a pixbuf to a drawable. This is done using
|
286
|
+
XlibRGB, so the specified drawable must have the XlibRGB visual and colormap.</p>
|
287
|
+
<p>When used with <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ALPHA-BILEVEL:CAPS"><span class="type">GDK_PIXBUF_ALPHA_BILEVEL</span></a>, this function has to create a bitmap
|
270
288
|
out of the thresholded alpha channel of the image and, it has to set this
|
271
289
|
bitmap as the clipping mask for the GC used for drawing. This can be a
|
272
290
|
significant performance penalty depending on the size and the complexity of
|
273
291
|
the alpha channel of the image. If performance is crucial, consider handling
|
274
292
|
the alpha channel yourself (possibly by caching it in your application) and
|
275
|
-
using <a class="link" href="gdk-pixbuf-Xlib-Rendering.html#gdk-pixbuf-xlib-render-to-drawable" title="gdk_pixbuf_xlib_render_to_drawable
|
276
|
-
|
277
|
-
<
|
293
|
+
using <a class="link" href="gdk-pixbuf-Xlib-Rendering.html#gdk-pixbuf-xlib-render-to-drawable" title="gdk_pixbuf_xlib_render_to_drawable ()"><code class="function">gdk_pixbuf_xlib_render_to_drawable()</code></a> or GdkRGB directly instead.</p>
|
294
|
+
<div class="refsect3">
|
295
|
+
<a name="id-1.2.18.6.4.6"></a><h4>Parameters</h4>
|
296
|
+
<div class="informaltable"><table width="100%" border="0">
|
278
297
|
<colgroup>
|
279
|
-
<col
|
280
|
-
<col>
|
298
|
+
<col width="150px" class="parameters_name">
|
299
|
+
<col class="parameters_description">
|
300
|
+
<col width="200px" class="parameters_annotations">
|
281
301
|
</colgroup>
|
282
302
|
<tbody>
|
283
303
|
<tr>
|
284
|
-
<td
|
285
|
-
<td>A pixbuf.</td>
|
304
|
+
<td class="parameter_name"><p>pixbuf</p></td>
|
305
|
+
<td class="parameter_description"><p>A pixbuf.</p></td>
|
306
|
+
<td class="parameter_annotations"> </td>
|
286
307
|
</tr>
|
287
308
|
<tr>
|
288
|
-
<td
|
289
|
-
<td>Destination drawable.</td>
|
309
|
+
<td class="parameter_name"><p>drawable</p></td>
|
310
|
+
<td class="parameter_description"><p>Destination drawable.</p></td>
|
311
|
+
<td class="parameter_annotations"> </td>
|
290
312
|
</tr>
|
291
313
|
<tr>
|
292
|
-
<td
|
293
|
-
<td>Source X coordinate within pixbuf.</td>
|
314
|
+
<td class="parameter_name"><p>src_x</p></td>
|
315
|
+
<td class="parameter_description"><p>Source X coordinate within pixbuf.</p></td>
|
316
|
+
<td class="parameter_annotations"> </td>
|
294
317
|
</tr>
|
295
318
|
<tr>
|
296
|
-
<td
|
297
|
-
<td>Source Y coordinates within pixbuf.</td>
|
319
|
+
<td class="parameter_name"><p>src_y</p></td>
|
320
|
+
<td class="parameter_description"><p>Source Y coordinates within pixbuf.</p></td>
|
321
|
+
<td class="parameter_annotations"> </td>
|
298
322
|
</tr>
|
299
323
|
<tr>
|
300
|
-
<td
|
301
|
-
<td>Destination X coordinate within drawable.</td>
|
324
|
+
<td class="parameter_name"><p>dest_x</p></td>
|
325
|
+
<td class="parameter_description"><p>Destination X coordinate within drawable.</p></td>
|
326
|
+
<td class="parameter_annotations"> </td>
|
302
327
|
</tr>
|
303
328
|
<tr>
|
304
|
-
<td
|
305
|
-
<td>Destination Y coordinate within drawable.</td>
|
329
|
+
<td class="parameter_name"><p>dest_y</p></td>
|
330
|
+
<td class="parameter_description"><p>Destination Y coordinate within drawable.</p></td>
|
331
|
+
<td class="parameter_annotations"> </td>
|
306
332
|
</tr>
|
307
333
|
<tr>
|
308
|
-
<td
|
309
|
-
<td>Width of region to render, in pixels.</td>
|
334
|
+
<td class="parameter_name"><p>width</p></td>
|
335
|
+
<td class="parameter_description"><p>Width of region to render, in pixels.</p></td>
|
336
|
+
<td class="parameter_annotations"> </td>
|
310
337
|
</tr>
|
311
338
|
<tr>
|
312
|
-
<td
|
313
|
-
<td>Height of region to render, in pixels.</td>
|
339
|
+
<td class="parameter_name"><p>height</p></td>
|
340
|
+
<td class="parameter_description"><p>Height of region to render, in pixels.</p></td>
|
341
|
+
<td class="parameter_annotations"> </td>
|
314
342
|
</tr>
|
315
343
|
<tr>
|
316
|
-
<td
|
317
|
-
<td>If the image does not have opacity information, this is ignored.
|
318
|
-
Otherwise, specifies how to handle transparency when rendering.</td>
|
344
|
+
<td class="parameter_name"><p>alpha_mode</p></td>
|
345
|
+
<td class="parameter_description"><p>If the image does not have opacity information, this is ignored.
|
346
|
+
Otherwise, specifies how to handle transparency when rendering.</p></td>
|
347
|
+
<td class="parameter_annotations"> </td>
|
319
348
|
</tr>
|
320
349
|
<tr>
|
321
|
-
<td
|
322
|
-
<td>If the image does have opacity information and <em class="parameter"><code>alpha_mode</code></em>
|
350
|
+
<td class="parameter_name"><p>alpha_threshold</p></td>
|
351
|
+
<td class="parameter_description"><p>If the image does have opacity information and <em class="parameter"><code>alpha_mode</code></em>
|
323
352
|
is GDK_PIXBUF_ALPHA_BILEVEL, specifies the threshold value for opacity
|
324
|
-
values.</td>
|
353
|
+
values.</p></td>
|
354
|
+
<td class="parameter_annotations"> </td>
|
325
355
|
</tr>
|
326
356
|
<tr>
|
327
|
-
<td
|
328
|
-
<td>Dithering mode for XlibRGB.</td>
|
357
|
+
<td class="parameter_name"><p>dither</p></td>
|
358
|
+
<td class="parameter_description"><p>Dithering mode for XlibRGB.</p></td>
|
359
|
+
<td class="parameter_annotations"> </td>
|
329
360
|
</tr>
|
330
361
|
<tr>
|
331
|
-
<td
|
332
|
-
<td>X offset for dither.</td>
|
362
|
+
<td class="parameter_name"><p>x_dither</p></td>
|
363
|
+
<td class="parameter_description"><p>X offset for dither.</p></td>
|
364
|
+
<td class="parameter_annotations"> </td>
|
333
365
|
</tr>
|
334
366
|
<tr>
|
335
|
-
<td
|
336
|
-
<td>Y offset for dither.</td>
|
367
|
+
<td class="parameter_name"><p>y_dither</p></td>
|
368
|
+
<td class="parameter_description"><p>Y offset for dither.</p></td>
|
369
|
+
<td class="parameter_annotations"> </td>
|
337
370
|
</tr>
|
338
371
|
</tbody>
|
339
372
|
</table></div>
|
340
373
|
</div>
|
374
|
+
</div>
|
341
375
|
<hr>
|
342
376
|
<div class="refsect2">
|
343
|
-
<a name="gdk-pixbuf-xlib-render-pixmap-and-mask"></a><h3>gdk_pixbuf_xlib_render_pixmap_and_mask
|
344
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
<
|
350
|
-
Creates a pixmap and a mask bitmap which are returned in the <em class="parameter"><code>pixmap_return</code></em>
|
351
|
-
|
377
|
+
<a name="gdk-pixbuf-xlib-render-pixmap-and-mask"></a><h3>gdk_pixbuf_xlib_render_pixmap_and_mask ()</h3>
|
378
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
379
|
+
gdk_pixbuf_xlib_render_pixmap_and_mask
|
380
|
+
(<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
381
|
+
<em class="parameter"><code><span class="type">Pixmap</span> *pixmap_return</code></em>,
|
382
|
+
<em class="parameter"><code><span class="type">Pixmap</span> *mask_return</code></em>,
|
383
|
+
<em class="parameter"><code><span class="type">int</span> alpha_threshold</code></em>);</pre>
|
384
|
+
<p>Creates a pixmap and a mask bitmap which are returned in the <em class="parameter"><code>pixmap_return</code></em>
|
385
|
+
|
386
|
+
and <em class="parameter"><code>mask_return</code></em>
|
387
|
+
arguments, respectively, and renders a pixbuf and its
|
352
388
|
corresponding tresholded alpha mask to them. This is merely a convenience
|
353
389
|
function; applications that need to render pixbufs with dither offsets or to
|
354
|
-
given drawables should use <a class="link" href="gdk-pixbuf-Xlib-Rendering.html#gdk-pixbuf-xlib-render-to-drawable-alpha" title="gdk_pixbuf_xlib_render_to_drawable_alpha
|
355
|
-
<a class="link" href="gdk-pixbuf-Xlib-Rendering.html#gdk-pixbuf-xlib-render-to-drawable" title="gdk_pixbuf_xlib_render_to_drawable
|
356
|
-
<a class="link" href="gdk-pixbuf-Xlib-Rendering.html#gdk-pixbuf-xlib-render-threshold-alpha" title="gdk_pixbuf_xlib_render_threshold_alpha
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
</
|
362
|
-
<div class="
|
390
|
+
given drawables should use <a class="link" href="gdk-pixbuf-Xlib-Rendering.html#gdk-pixbuf-xlib-render-to-drawable-alpha" title="gdk_pixbuf_xlib_render_to_drawable_alpha ()"><code class="function">gdk_pixbuf_xlib_render_to_drawable_alpha()</code></a> or
|
391
|
+
<a class="link" href="gdk-pixbuf-Xlib-Rendering.html#gdk-pixbuf-xlib-render-to-drawable" title="gdk_pixbuf_xlib_render_to_drawable ()"><code class="function">gdk_pixbuf_xlib_render_to_drawable()</code></a>, and
|
392
|
+
<a class="link" href="gdk-pixbuf-Xlib-Rendering.html#gdk-pixbuf-xlib-render-threshold-alpha" title="gdk_pixbuf_xlib_render_threshold_alpha ()"><code class="function">gdk_pixbuf_xlib_render_threshold_alpha()</code></a>.</p>
|
393
|
+
<p>If the pixbuf does not have an alpha channel, then *<em class="parameter"><code>mask_return</code></em>
|
394
|
+
will be set
|
395
|
+
to None.</p>
|
396
|
+
<div class="refsect3">
|
397
|
+
<a name="id-1.2.18.6.5.6"></a><h4>Parameters</h4>
|
398
|
+
<div class="informaltable"><table width="100%" border="0">
|
363
399
|
<colgroup>
|
364
|
-
<col
|
365
|
-
<col>
|
400
|
+
<col width="150px" class="parameters_name">
|
401
|
+
<col class="parameters_description">
|
402
|
+
<col width="200px" class="parameters_annotations">
|
366
403
|
</colgroup>
|
367
404
|
<tbody>
|
368
405
|
<tr>
|
369
|
-
<td
|
370
|
-
<td>A pixbuf.</td>
|
406
|
+
<td class="parameter_name"><p>pixbuf</p></td>
|
407
|
+
<td class="parameter_description"><p>A pixbuf.</p></td>
|
408
|
+
<td class="parameter_annotations"> </td>
|
371
409
|
</tr>
|
372
410
|
<tr>
|
373
|
-
<td
|
374
|
-
<td>Return value for the created pixmap.</td>
|
411
|
+
<td class="parameter_name"><p>pixmap_return</p></td>
|
412
|
+
<td class="parameter_description"><p>Return value for the created pixmap.</p></td>
|
413
|
+
<td class="parameter_annotations"> </td>
|
375
414
|
</tr>
|
376
415
|
<tr>
|
377
|
-
<td
|
378
|
-
<td>Return value for the created mask.</td>
|
416
|
+
<td class="parameter_name"><p>mask_return</p></td>
|
417
|
+
<td class="parameter_description"><p>Return value for the created mask.</p></td>
|
418
|
+
<td class="parameter_annotations"> </td>
|
379
419
|
</tr>
|
380
420
|
<tr>
|
381
|
-
<td
|
382
|
-
<td>Threshold value for opacity values.</td>
|
421
|
+
<td class="parameter_name"><p>alpha_threshold</p></td>
|
422
|
+
<td class="parameter_description"><p>Threshold value for opacity values.</p></td>
|
423
|
+
<td class="parameter_annotations"> </td>
|
383
424
|
</tr>
|
384
425
|
</tbody>
|
385
426
|
</table></div>
|
386
427
|
</div>
|
387
428
|
</div>
|
388
429
|
</div>
|
430
|
+
<div class="refsect1">
|
431
|
+
<a name="gdk-pixbuf-Xlib-Rendering.other_details"></a><h2>Types and Values</h2>
|
432
|
+
</div>
|
433
|
+
</div>
|
389
434
|
<div class="footer">
|
390
435
|
<hr>
|
391
|
-
Generated by GTK-Doc V1.
|
436
|
+
Generated by GTK-Doc V1.20.1</div>
|
392
437
|
</body>
|
393
438
|
</html>
|