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="gdk-pixbuf-X-Drawables-to-Pixbufs.html" title="X Drawables to Pixbufs">
|
10
10
|
<link rel="next" href="rn02.html" title="Tools Reference">
|
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-XlibRGB.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-XlibRGB.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,883 +29,1087 @@
|
|
30
29
|
<h2><span class="refentrytitle"><a name="gdk-pixbuf-XlibRGB.top_of_page"></a>XlibRGB</span></h2>
|
31
30
|
<p>XlibRGB — Rendering RGB buffers to X drawables.</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="refsynopsisdiv">
|
36
|
-
<a name="gdk-pixbuf-XlibRGB.synopsis"></a><h2>Synopsis</h2>
|
37
|
-
<pre class="synopsis">
|
38
|
-
#include <gdk-pixbuf/gdk-pixbuf.h>
|
39
|
-
|
40
|
-
struct <a class="link" href="gdk-pixbuf-XlibRGB.html#XlibRgbCmap" title="struct XlibRgbCmap">XlibRgbCmap</a>;
|
41
|
-
enum <a class="link" href="gdk-pixbuf-XlibRGB.html#XlibRgbDither" title="enum XlibRgbDither">XlibRgbDither</a>;
|
42
|
-
<span class="returnvalue">void</span> <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-init" title="xlib_rgb_init ()">xlib_rgb_init</a> (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
43
|
-
<em class="parameter"><code><span class="type">Screen</span> *screen</code></em>);
|
44
|
-
<span class="returnvalue">void</span> <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-init-with-depth" title="xlib_rgb_init_with_depth ()">xlib_rgb_init_with_depth</a> (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
45
|
-
<em class="parameter"><code><span class="type">Screen</span> *screen</code></em>,
|
46
|
-
<em class="parameter"><code><span class="type">int</span> prefDepth</code></em>);
|
47
|
-
unsigned <span class="returnvalue">long</span> <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-xpixel-from-rgb" title="xlib_rgb_xpixel_from_rgb ()">xlib_rgb_xpixel_from_rgb</a> (<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#guint32"><span class="type">guint32</span></a> rgb</code></em>);
|
48
|
-
<span class="returnvalue">void</span> <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-gc-set-foreground" title="xlib_rgb_gc_set_foreground ()">xlib_rgb_gc_set_foreground</a> (<em class="parameter"><code><span class="type">GC</span> gc</code></em>,
|
49
|
-
<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#guint32"><span class="type">guint32</span></a> rgb</code></em>);
|
50
|
-
<span class="returnvalue">void</span> <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-gc-set-background" title="xlib_rgb_gc_set_background ()">xlib_rgb_gc_set_background</a> (<em class="parameter"><code><span class="type">GC</span> gc</code></em>,
|
51
|
-
<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#guint32"><span class="type">guint32</span></a> rgb</code></em>);
|
52
|
-
<span class="returnvalue">void</span> <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-draw-rgb-image" title="xlib_draw_rgb_image ()">xlib_draw_rgb_image</a> (<em class="parameter"><code><span class="type">Drawable</span> drawable</code></em>,
|
53
|
-
<em class="parameter"><code><span class="type">GC</span> gc</code></em>,
|
54
|
-
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
55
|
-
<em class="parameter"><code><span class="type">int</span> y</code></em>,
|
56
|
-
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
57
|
-
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
58
|
-
<em class="parameter"><code><a class="link" href="gdk-pixbuf-XlibRGB.html#XlibRgbDither" title="enum XlibRgbDither"><span class="type">XlibRgbDither</span></a> dith</code></em>,
|
59
|
-
<em class="parameter"><code>unsigned <span class="type">char</span> *rgb_buf</code></em>,
|
60
|
-
<em class="parameter"><code><span class="type">int</span> rowstride</code></em>);
|
61
|
-
<span class="returnvalue">void</span> <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-draw-rgb-image-dithalign" title="xlib_draw_rgb_image_dithalign ()">xlib_draw_rgb_image_dithalign</a> (<em class="parameter"><code><span class="type">Drawable</span> drawable</code></em>,
|
62
|
-
<em class="parameter"><code><span class="type">GC</span> gc</code></em>,
|
63
|
-
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
64
|
-
<em class="parameter"><code><span class="type">int</span> y</code></em>,
|
65
|
-
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
66
|
-
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
67
|
-
<em class="parameter"><code><a class="link" href="gdk-pixbuf-XlibRGB.html#XlibRgbDither" title="enum XlibRgbDither"><span class="type">XlibRgbDither</span></a> dith</code></em>,
|
68
|
-
<em class="parameter"><code>unsigned <span class="type">char</span> *rgb_buf</code></em>,
|
69
|
-
<em class="parameter"><code><span class="type">int</span> rowstride</code></em>,
|
70
|
-
<em class="parameter"><code><span class="type">int</span> xdith</code></em>,
|
71
|
-
<em class="parameter"><code><span class="type">int</span> ydith</code></em>);
|
72
|
-
<span class="returnvalue">void</span> <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-draw-rgb-32-image" title="xlib_draw_rgb_32_image ()">xlib_draw_rgb_32_image</a> (<em class="parameter"><code><span class="type">Drawable</span> drawable</code></em>,
|
73
|
-
<em class="parameter"><code><span class="type">GC</span> gc</code></em>,
|
74
|
-
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
75
|
-
<em class="parameter"><code><span class="type">int</span> y</code></em>,
|
76
|
-
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
77
|
-
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
78
|
-
<em class="parameter"><code><a class="link" href="gdk-pixbuf-XlibRGB.html#XlibRgbDither" title="enum XlibRgbDither"><span class="type">XlibRgbDither</span></a> dith</code></em>,
|
79
|
-
<em class="parameter"><code>unsigned <span class="type">char</span> *buf</code></em>,
|
80
|
-
<em class="parameter"><code><span class="type">int</span> rowstride</code></em>);
|
81
|
-
<span class="returnvalue">void</span> <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-draw-gray-image" title="xlib_draw_gray_image ()">xlib_draw_gray_image</a> (<em class="parameter"><code><span class="type">Drawable</span> drawable</code></em>,
|
82
|
-
<em class="parameter"><code><span class="type">GC</span> gc</code></em>,
|
83
|
-
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
84
|
-
<em class="parameter"><code><span class="type">int</span> y</code></em>,
|
85
|
-
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
86
|
-
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
87
|
-
<em class="parameter"><code><a class="link" href="gdk-pixbuf-XlibRGB.html#XlibRgbDither" title="enum XlibRgbDither"><span class="type">XlibRgbDither</span></a> dith</code></em>,
|
88
|
-
<em class="parameter"><code>unsigned <span class="type">char</span> *buf</code></em>,
|
89
|
-
<em class="parameter"><code><span class="type">int</span> rowstride</code></em>);
|
90
|
-
<a class="link" href="gdk-pixbuf-XlibRGB.html#XlibRgbCmap" title="struct XlibRgbCmap"><span class="returnvalue">XlibRgbCmap</span></a> * <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-cmap-new" title="xlib_rgb_cmap_new ()">xlib_rgb_cmap_new</a> (<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#guint32"><span class="type">guint32</span></a> *colors</code></em>,
|
91
|
-
<em class="parameter"><code><span class="type">int</span> n_colors</code></em>);
|
92
|
-
<span class="returnvalue">void</span> <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-cmap-free" title="xlib_rgb_cmap_free ()">xlib_rgb_cmap_free</a> (<em class="parameter"><code><a class="link" href="gdk-pixbuf-XlibRGB.html#XlibRgbCmap" title="struct XlibRgbCmap"><span class="type">XlibRgbCmap</span></a> *cmap</code></em>);
|
93
|
-
<span class="returnvalue">void</span> <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-draw-indexed-image" title="xlib_draw_indexed_image ()">xlib_draw_indexed_image</a> (<em class="parameter"><code><span class="type">Drawable</span> drawable</code></em>,
|
94
|
-
<em class="parameter"><code><span class="type">GC</span> gc</code></em>,
|
95
|
-
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
96
|
-
<em class="parameter"><code><span class="type">int</span> y</code></em>,
|
97
|
-
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
98
|
-
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
99
|
-
<em class="parameter"><code><a class="link" href="gdk-pixbuf-XlibRGB.html#XlibRgbDither" title="enum XlibRgbDither"><span class="type">XlibRgbDither</span></a> dith</code></em>,
|
100
|
-
<em class="parameter"><code>unsigned <span class="type">char</span> *buf</code></em>,
|
101
|
-
<em class="parameter"><code><span class="type">int</span> rowstride</code></em>,
|
102
|
-
<em class="parameter"><code><a class="link" href="gdk-pixbuf-XlibRGB.html#XlibRgbCmap" title="struct XlibRgbCmap"><span class="type">XlibRgbCmap</span></a> *cmap</code></em>);
|
103
|
-
<span class="returnvalue">Bool</span> <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-ditherable" title="xlib_rgb_ditherable ()">xlib_rgb_ditherable</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
104
|
-
<span class="returnvalue">void</span> <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-set-verbose" title="xlib_rgb_set_verbose ()">xlib_rgb_set_verbose</a> (<em class="parameter"><code><span class="type">Bool</span> verbose</code></em>);
|
105
|
-
<span class="returnvalue">void</span> <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-set-install" title="xlib_rgb_set_install ()">xlib_rgb_set_install</a> (<em class="parameter"><code><span class="type">Bool</span> install</code></em>);
|
106
|
-
<span class="returnvalue">void</span> <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-set-min-colors" title="xlib_rgb_set_min_colors ()">xlib_rgb_set_min_colors</a> (<em class="parameter"><code><span class="type">int</span> min_colors</code></em>);
|
107
|
-
<span class="returnvalue">Colormap</span> <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-get-cmap" title="xlib_rgb_get_cmap ()">xlib_rgb_get_cmap</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
108
|
-
<span class="returnvalue">Visual</span> * <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-get-visual" title="xlib_rgb_get_visual ()">xlib_rgb_get_visual</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
109
|
-
<span class="returnvalue">XVisualInfo</span> * <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-get-visual-info" title="xlib_rgb_get_visual_info ()">xlib_rgb_get_visual_info</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
110
|
-
<span class="returnvalue">int</span> <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-get-depth" title="xlib_rgb_get_depth ()">xlib_rgb_get_depth</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
111
|
-
<span class="returnvalue">Display</span> * <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-get-display" title="xlib_rgb_get_display ()">xlib_rgb_get_display</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
112
|
-
<span class="returnvalue">Screen</span> * <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-get-screen" title="xlib_rgb_get_screen ()">xlib_rgb_get_screen</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
113
|
-
</pre>
|
114
|
-
</div>
|
115
|
-
<div class="refsect1">
|
116
|
-
<a name="gdk-pixbuf-XlibRGB.description"></a><h2>Description</h2>
|
117
|
-
<p>
|
118
|
-
The XlibRGB set of functions is a port of the <span class="type">GdkRGB</span> library to
|
119
|
-
use plain Xlib and X drawables. You can use these functions to
|
120
|
-
render RGB buffers into drawables very quickly with high-quality
|
121
|
-
dithering.
|
122
|
-
</p>
|
123
|
-
</div>
|
124
34
|
<div class="refsect1">
|
125
|
-
<a name="gdk-pixbuf-XlibRGB.
|
126
|
-
<div class="
|
127
|
-
<a name="XlibRgbCmap"></a><h3>struct XlibRgbCmap</h3>
|
128
|
-
<pre class="programlisting">struct XlibRgbCmap {
|
129
|
-
unsigned int colors[256];
|
130
|
-
unsigned char lut[256]; /* for 8-bit modes */
|
131
|
-
};
|
132
|
-
</pre>
|
133
|
-
<p>
|
134
|
-
FIXME: Describe this.
|
135
|
-
</p>
|
136
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
35
|
+
<a name="gdk-pixbuf-XlibRGB.functions"></a><h2>Functions</h2>
|
36
|
+
<div class="informaltable"><table width="100%" border="0">
|
137
37
|
<colgroup>
|
138
|
-
<col
|
139
|
-
<col>
|
38
|
+
<col width="150px" class="functions_return">
|
39
|
+
<col class="functions_name">
|
140
40
|
</colgroup>
|
141
41
|
<tbody>
|
142
42
|
<tr>
|
143
|
-
<td
|
144
|
-
<
|
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-XlibRGB.html#xlib-rgb-init" title="xlib_rgb_init ()">xlib_rgb_init</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-XlibRGB.html#xlib-rgb-init-with-depth" title="xlib_rgb_init_with_depth ()">xlib_rgb_init_with_depth</a> <span class="c_punctuation">()</span>
|
56
|
+
</td>
|
57
|
+
</tr>
|
58
|
+
<tr>
|
59
|
+
<td class="function_type">unsigned <span class="returnvalue">long</span>
|
60
|
+
</td>
|
61
|
+
<td class="function_name">
|
62
|
+
<a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-xpixel-from-rgb" title="xlib_rgb_xpixel_from_rgb ()">xlib_rgb_xpixel_from_rgb</a> <span class="c_punctuation">()</span>
|
63
|
+
</td>
|
64
|
+
</tr>
|
65
|
+
<tr>
|
66
|
+
<td class="function_type">
|
67
|
+
<span class="returnvalue">void</span>
|
68
|
+
</td>
|
69
|
+
<td class="function_name">
|
70
|
+
<a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-gc-set-foreground" title="xlib_rgb_gc_set_foreground ()">xlib_rgb_gc_set_foreground</a> <span class="c_punctuation">()</span>
|
71
|
+
</td>
|
72
|
+
</tr>
|
73
|
+
<tr>
|
74
|
+
<td class="function_type">
|
75
|
+
<span class="returnvalue">void</span>
|
76
|
+
</td>
|
77
|
+
<td class="function_name">
|
78
|
+
<a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-gc-set-background" title="xlib_rgb_gc_set_background ()">xlib_rgb_gc_set_background</a> <span class="c_punctuation">()</span>
|
79
|
+
</td>
|
80
|
+
</tr>
|
81
|
+
<tr>
|
82
|
+
<td class="function_type">
|
83
|
+
<span class="returnvalue">void</span>
|
84
|
+
</td>
|
85
|
+
<td class="function_name">
|
86
|
+
<a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-draw-rgb-image" title="xlib_draw_rgb_image ()">xlib_draw_rgb_image</a> <span class="c_punctuation">()</span>
|
87
|
+
</td>
|
88
|
+
</tr>
|
89
|
+
<tr>
|
90
|
+
<td class="function_type">
|
91
|
+
<span class="returnvalue">void</span>
|
92
|
+
</td>
|
93
|
+
<td class="function_name">
|
94
|
+
<a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-draw-rgb-image-dithalign" title="xlib_draw_rgb_image_dithalign ()">xlib_draw_rgb_image_dithalign</a> <span class="c_punctuation">()</span>
|
95
|
+
</td>
|
96
|
+
</tr>
|
97
|
+
<tr>
|
98
|
+
<td class="function_type">
|
99
|
+
<span class="returnvalue">void</span>
|
100
|
+
</td>
|
101
|
+
<td class="function_name">
|
102
|
+
<a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-draw-rgb-32-image" title="xlib_draw_rgb_32_image ()">xlib_draw_rgb_32_image</a> <span class="c_punctuation">()</span>
|
103
|
+
</td>
|
104
|
+
</tr>
|
105
|
+
<tr>
|
106
|
+
<td class="function_type">
|
107
|
+
<span class="returnvalue">void</span>
|
108
|
+
</td>
|
109
|
+
<td class="function_name">
|
110
|
+
<a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-draw-gray-image" title="xlib_draw_gray_image ()">xlib_draw_gray_image</a> <span class="c_punctuation">()</span>
|
111
|
+
</td>
|
112
|
+
</tr>
|
113
|
+
<tr>
|
114
|
+
<td class="function_type">
|
115
|
+
<a class="link" href="gdk-pixbuf-XlibRGB.html#XlibRgbCmap" title="struct XlibRgbCmap"><span class="returnvalue">XlibRgbCmap</span></a> *
|
116
|
+
</td>
|
117
|
+
<td class="function_name">
|
118
|
+
<a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-cmap-new" title="xlib_rgb_cmap_new ()">xlib_rgb_cmap_new</a> <span class="c_punctuation">()</span>
|
119
|
+
</td>
|
120
|
+
</tr>
|
121
|
+
<tr>
|
122
|
+
<td class="function_type">
|
123
|
+
<span class="returnvalue">void</span>
|
124
|
+
</td>
|
125
|
+
<td class="function_name">
|
126
|
+
<a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-cmap-free" title="xlib_rgb_cmap_free ()">xlib_rgb_cmap_free</a> <span class="c_punctuation">()</span>
|
127
|
+
</td>
|
128
|
+
</tr>
|
129
|
+
<tr>
|
130
|
+
<td class="function_type">
|
131
|
+
<span class="returnvalue">void</span>
|
132
|
+
</td>
|
133
|
+
<td class="function_name">
|
134
|
+
<a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-draw-indexed-image" title="xlib_draw_indexed_image ()">xlib_draw_indexed_image</a> <span class="c_punctuation">()</span>
|
135
|
+
</td>
|
136
|
+
</tr>
|
137
|
+
<tr>
|
138
|
+
<td class="function_type">
|
139
|
+
<span class="returnvalue">Bool</span>
|
140
|
+
</td>
|
141
|
+
<td class="function_name">
|
142
|
+
<a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-ditherable" title="xlib_rgb_ditherable ()">xlib_rgb_ditherable</a> <span class="c_punctuation">()</span>
|
143
|
+
</td>
|
144
|
+
</tr>
|
145
|
+
<tr>
|
146
|
+
<td class="function_type">
|
147
|
+
<span class="returnvalue">void</span>
|
148
|
+
</td>
|
149
|
+
<td class="function_name">
|
150
|
+
<a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-set-verbose" title="xlib_rgb_set_verbose ()">xlib_rgb_set_verbose</a> <span class="c_punctuation">()</span>
|
151
|
+
</td>
|
152
|
+
</tr>
|
153
|
+
<tr>
|
154
|
+
<td class="function_type">
|
155
|
+
<span class="returnvalue">void</span>
|
156
|
+
</td>
|
157
|
+
<td class="function_name">
|
158
|
+
<a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-set-install" title="xlib_rgb_set_install ()">xlib_rgb_set_install</a> <span class="c_punctuation">()</span>
|
159
|
+
</td>
|
160
|
+
</tr>
|
161
|
+
<tr>
|
162
|
+
<td class="function_type">
|
163
|
+
<span class="returnvalue">void</span>
|
164
|
+
</td>
|
165
|
+
<td class="function_name">
|
166
|
+
<a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-set-min-colors" title="xlib_rgb_set_min_colors ()">xlib_rgb_set_min_colors</a> <span class="c_punctuation">()</span>
|
167
|
+
</td>
|
168
|
+
</tr>
|
169
|
+
<tr>
|
170
|
+
<td class="function_type">
|
171
|
+
<span class="returnvalue">Colormap</span>
|
172
|
+
</td>
|
173
|
+
<td class="function_name">
|
174
|
+
<a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-get-cmap" title="xlib_rgb_get_cmap ()">xlib_rgb_get_cmap</a> <span class="c_punctuation">()</span>
|
175
|
+
</td>
|
145
176
|
</tr>
|
146
177
|
<tr>
|
147
|
-
<td
|
148
|
-
<
|
178
|
+
<td class="function_type">
|
179
|
+
<span class="returnvalue">Visual</span> *
|
180
|
+
</td>
|
181
|
+
<td class="function_name">
|
182
|
+
<a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-get-visual" title="xlib_rgb_get_visual ()">xlib_rgb_get_visual</a> <span class="c_punctuation">()</span>
|
183
|
+
</td>
|
184
|
+
</tr>
|
185
|
+
<tr>
|
186
|
+
<td class="function_type">
|
187
|
+
<span class="returnvalue">XVisualInfo</span> *
|
188
|
+
</td>
|
189
|
+
<td class="function_name">
|
190
|
+
<a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-get-visual-info" title="xlib_rgb_get_visual_info ()">xlib_rgb_get_visual_info</a> <span class="c_punctuation">()</span>
|
191
|
+
</td>
|
192
|
+
</tr>
|
193
|
+
<tr>
|
194
|
+
<td class="function_type">
|
195
|
+
<span class="returnvalue">int</span>
|
196
|
+
</td>
|
197
|
+
<td class="function_name">
|
198
|
+
<a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-get-depth" title="xlib_rgb_get_depth ()">xlib_rgb_get_depth</a> <span class="c_punctuation">()</span>
|
199
|
+
</td>
|
200
|
+
</tr>
|
201
|
+
<tr>
|
202
|
+
<td class="function_type">
|
203
|
+
<span class="returnvalue">Display</span> *
|
204
|
+
</td>
|
205
|
+
<td class="function_name">
|
206
|
+
<a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-get-display" title="xlib_rgb_get_display ()">xlib_rgb_get_display</a> <span class="c_punctuation">()</span>
|
207
|
+
</td>
|
208
|
+
</tr>
|
209
|
+
<tr>
|
210
|
+
<td class="function_type">
|
211
|
+
<span class="returnvalue">Screen</span> *
|
212
|
+
</td>
|
213
|
+
<td class="function_name">
|
214
|
+
<a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-get-screen" title="xlib_rgb_get_screen ()">xlib_rgb_get_screen</a> <span class="c_punctuation">()</span>
|
215
|
+
</td>
|
149
216
|
</tr>
|
150
217
|
</tbody>
|
151
218
|
</table></div>
|
152
219
|
</div>
|
153
|
-
<
|
154
|
-
<
|
155
|
-
<
|
156
|
-
<pre class="programlisting">typedef enum {
|
157
|
-
XLIB_RGB_DITHER_NONE,
|
158
|
-
XLIB_RGB_DITHER_NORMAL,
|
159
|
-
XLIB_RGB_DITHER_MAX
|
160
|
-
} XlibRgbDither;
|
161
|
-
</pre>
|
162
|
-
<p>
|
163
|
-
These values are used to specify which dithering method should be
|
164
|
-
used. <span class="symbol">XLIB_RGB_DITHER_NONE</span> will use no dithering
|
165
|
-
and simply map the colors in an RGB buffer to the closest colors
|
166
|
-
that the display can provide.
|
167
|
-
<span class="symbol">XLIB_RGB_DITHER_NORMAL</span> will provide dithering
|
168
|
-
only on pseudocolor displays.
|
169
|
-
<span class="symbol">XLIB_RGB_DITHER_MAX</span> will provide dithering on
|
170
|
-
pseudocolor and 16-bit truecolor or “high color”
|
171
|
-
displays.
|
172
|
-
</p>
|
173
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
220
|
+
<div class="refsect1">
|
221
|
+
<a name="gdk-pixbuf-XlibRGB.other"></a><h2>Types and Values</h2>
|
222
|
+
<div class="informaltable"><table width="100%" border="0">
|
174
223
|
<colgroup>
|
175
|
-
<col
|
176
|
-
<col>
|
224
|
+
<col width="150px" class="name">
|
225
|
+
<col class="description">
|
177
226
|
</colgroup>
|
178
227
|
<tbody>
|
179
228
|
<tr>
|
180
|
-
<td
|
181
|
-
<td
|
182
|
-
</td>
|
183
|
-
</tr>
|
184
|
-
<tr>
|
185
|
-
<td><p><a name="XLIB-RGB-DITHER-NORMAL:CAPS"></a><span class="term"><code class="literal">XLIB_RGB_DITHER_NORMAL</code></span></p></td>
|
186
|
-
<td>Specifies dithering only on pseudocolor
|
187
|
-
displays.
|
188
|
-
</td>
|
229
|
+
<td class="datatype_keyword">struct</td>
|
230
|
+
<td class="function_name"><a class="link" href="gdk-pixbuf-XlibRGB.html#XlibRgbCmap" title="struct XlibRgbCmap">XlibRgbCmap</a></td>
|
189
231
|
</tr>
|
190
232
|
<tr>
|
191
|
-
<td
|
192
|
-
<td
|
193
|
-
</td>
|
233
|
+
<td class="datatype_keyword">enum</td>
|
234
|
+
<td class="function_name"><a class="link" href="gdk-pixbuf-XlibRGB.html#XlibRgbDither" title="enum XlibRgbDither">XlibRgbDither</a></td>
|
194
235
|
</tr>
|
195
236
|
</tbody>
|
196
237
|
</table></div>
|
197
238
|
</div>
|
198
|
-
<
|
239
|
+
<div class="refsect1">
|
240
|
+
<a name="gdk-pixbuf-XlibRGB.includes"></a><h2>Includes</h2>
|
241
|
+
<pre class="synopsis">#include <gdk-pixbuf/gdk-pixbuf.h>
|
242
|
+
</pre>
|
243
|
+
</div>
|
244
|
+
<div class="refsect1">
|
245
|
+
<a name="gdk-pixbuf-XlibRGB.description"></a><h2>Description</h2>
|
246
|
+
<p>The XlibRGB set of functions is a port of the <span class="type">GdkRGB</span> library to
|
247
|
+
use plain Xlib and X drawables. You can use these functions to
|
248
|
+
render RGB buffers into drawables very quickly with high-quality
|
249
|
+
dithering.</p>
|
250
|
+
</div>
|
251
|
+
<div class="refsect1">
|
252
|
+
<a name="gdk-pixbuf-XlibRGB.functions_details"></a><h2>Functions</h2>
|
199
253
|
<div class="refsect2">
|
200
|
-
<a name="xlib-rgb-init"></a><h3>xlib_rgb_init
|
201
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
202
|
-
|
203
|
-
<
|
204
|
-
Initializes the XlibRGB machinery with the default depth. If you use this
|
254
|
+
<a name="xlib-rgb-init"></a><h3>xlib_rgb_init ()</h3>
|
255
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
256
|
+
xlib_rgb_init (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
257
|
+
<em class="parameter"><code><span class="type">Screen</span> *screen</code></em>);</pre>
|
258
|
+
<p>Initializes the XlibRGB machinery with the default depth. If you use this
|
205
259
|
function XlibRGB will automatically pick the best visual available on your
|
206
|
-
display. This function or <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-init-with-depth" title="xlib_rgb_init_with_depth
|
207
|
-
using any of the other functions in XlibRGB
|
208
|
-
|
209
|
-
<
|
260
|
+
display. This function or <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-init-with-depth" title="xlib_rgb_init_with_depth ()"><code class="function">xlib_rgb_init_with_depth()</code></a> must be called before
|
261
|
+
using any of the other functions in XlibRGB.</p>
|
262
|
+
<div class="refsect3">
|
263
|
+
<a name="id-1.2.20.7.2.5"></a><h4>Parameters</h4>
|
264
|
+
<div class="informaltable"><table width="100%" border="0">
|
210
265
|
<colgroup>
|
211
|
-
<col
|
212
|
-
<col>
|
266
|
+
<col width="150px" class="parameters_name">
|
267
|
+
<col class="parameters_description">
|
268
|
+
<col width="200px" class="parameters_annotations">
|
213
269
|
</colgroup>
|
214
270
|
<tbody>
|
215
271
|
<tr>
|
216
|
-
<td
|
217
|
-
<td>X Display to use.</td>
|
272
|
+
<td class="parameter_name"><p>display</p></td>
|
273
|
+
<td class="parameter_description"><p>X Display to use.</p></td>
|
274
|
+
<td class="parameter_annotations"> </td>
|
218
275
|
</tr>
|
219
276
|
<tr>
|
220
|
-
<td
|
221
|
-
<td>Screen to use.</td>
|
277
|
+
<td class="parameter_name"><p>screen</p></td>
|
278
|
+
<td class="parameter_description"><p>Screen to use.</p></td>
|
279
|
+
<td class="parameter_annotations"> </td>
|
222
280
|
</tr>
|
223
281
|
</tbody>
|
224
282
|
</table></div>
|
225
283
|
</div>
|
284
|
+
</div>
|
226
285
|
<hr>
|
227
286
|
<div class="refsect2">
|
228
|
-
<a name="xlib-rgb-init-with-depth"></a><h3>xlib_rgb_init_with_depth
|
229
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
230
|
-
|
231
|
-
|
232
|
-
<
|
233
|
-
Initializes the XlibRGB machinery with a particular depth you specify,
|
287
|
+
<a name="xlib-rgb-init-with-depth"></a><h3>xlib_rgb_init_with_depth ()</h3>
|
288
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
289
|
+
xlib_rgb_init_with_depth (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
290
|
+
<em class="parameter"><code><span class="type">Screen</span> *screen</code></em>,
|
291
|
+
<em class="parameter"><code><span class="type">int</span> prefDepth</code></em>);</pre>
|
292
|
+
<p>Initializes the XlibRGB machinery with a particular depth you specify,
|
234
293
|
instead of automatically picking the best depth in the display. This
|
235
|
-
function or <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-init" title="xlib_rgb_init
|
236
|
-
functions in XlibRGB
|
237
|
-
|
238
|
-
<
|
294
|
+
function or <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-init" title="xlib_rgb_init ()"><code class="function">xlib_rgb_init()</code></a> must be called before using any of the other
|
295
|
+
functions in XlibRGB.</p>
|
296
|
+
<div class="refsect3">
|
297
|
+
<a name="id-1.2.20.7.3.5"></a><h4>Parameters</h4>
|
298
|
+
<div class="informaltable"><table width="100%" border="0">
|
239
299
|
<colgroup>
|
240
|
-
<col
|
241
|
-
<col>
|
300
|
+
<col width="150px" class="parameters_name">
|
301
|
+
<col class="parameters_description">
|
302
|
+
<col width="200px" class="parameters_annotations">
|
242
303
|
</colgroup>
|
243
304
|
<tbody>
|
244
305
|
<tr>
|
245
|
-
<td
|
246
|
-
<td>X display to use.</td>
|
306
|
+
<td class="parameter_name"><p>display</p></td>
|
307
|
+
<td class="parameter_description"><p>X display to use.</p></td>
|
308
|
+
<td class="parameter_annotations"> </td>
|
247
309
|
</tr>
|
248
310
|
<tr>
|
249
|
-
<td
|
250
|
-
<td>Screen to use.</td>
|
311
|
+
<td class="parameter_name"><p>screen</p></td>
|
312
|
+
<td class="parameter_description"><p>Screen to use.</p></td>
|
313
|
+
<td class="parameter_annotations"> </td>
|
251
314
|
</tr>
|
252
315
|
<tr>
|
253
|
-
<td
|
254
|
-
<td>Visual depth to use for color substitution tables. This must
|
255
|
-
be one of the supported visual depths in the specified <em class="parameter"><code>display</code></em
|
316
|
+
<td class="parameter_name"><p>prefDepth</p></td>
|
317
|
+
<td class="parameter_description"><p>Visual depth to use for color substitution tables. This must
|
318
|
+
be one of the supported visual depths in the specified <em class="parameter"><code>display</code></em>
|
319
|
+
.</p></td>
|
320
|
+
<td class="parameter_annotations"> </td>
|
256
321
|
</tr>
|
257
322
|
</tbody>
|
258
323
|
</table></div>
|
259
324
|
</div>
|
325
|
+
</div>
|
260
326
|
<hr>
|
261
327
|
<div class="refsect2">
|
262
|
-
<a name="xlib-rgb-xpixel-from-rgb"></a><h3>xlib_rgb_xpixel_from_rgb
|
263
|
-
<pre class="programlisting">unsigned <span class="returnvalue">long</span>
|
264
|
-
<
|
265
|
-
Converts an RGB triplet into the closest color that XlibRGB visual can
|
266
|
-
handle
|
267
|
-
|
268
|
-
<
|
328
|
+
<a name="xlib-rgb-xpixel-from-rgb"></a><h3>xlib_rgb_xpixel_from_rgb ()</h3>
|
329
|
+
<pre class="programlisting">unsigned <span class="returnvalue">long</span>
|
330
|
+
xlib_rgb_xpixel_from_rgb (<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#guint32"><span class="type">guint32</span></a> rgb</code></em>);</pre>
|
331
|
+
<p>Converts an RGB triplet into the closest color that XlibRGB visual can
|
332
|
+
handle.</p>
|
333
|
+
<div class="refsect3">
|
334
|
+
<a name="id-1.2.20.7.4.5"></a><h4>Parameters</h4>
|
335
|
+
<div class="informaltable"><table width="100%" border="0">
|
269
336
|
<colgroup>
|
270
|
-
<col
|
271
|
-
<col>
|
337
|
+
<col width="150px" class="parameters_name">
|
338
|
+
<col class="parameters_description">
|
339
|
+
<col width="200px" class="parameters_annotations">
|
272
340
|
</colgroup>
|
273
|
-
<tbody>
|
274
|
-
<
|
275
|
-
<td
|
276
|
-
<td>
|
277
|
-
</tr>
|
278
|
-
<tr>
|
279
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
280
|
-
<td>X pixel value that corresponds to the closest color in the
|
281
|
-
XlibRGB visual and colormap.</td>
|
282
|
-
</tr>
|
283
|
-
</tbody>
|
341
|
+
<tbody><tr>
|
342
|
+
<td class="parameter_name"><p>rgb</p></td>
|
343
|
+
<td class="parameter_description"><p>32-bit representation of an RGB value, specified as 0x00RRGGBB.</p></td>
|
344
|
+
<td class="parameter_annotations"> </td>
|
345
|
+
</tr></tbody>
|
284
346
|
</table></div>
|
285
347
|
</div>
|
348
|
+
<div class="refsect3">
|
349
|
+
<a name="id-1.2.20.7.4.6"></a><h4>Returns</h4>
|
350
|
+
<p> X pixel value that corresponds to the closest color in the
|
351
|
+
XlibRGB visual and colormap.</p>
|
352
|
+
<p></p>
|
353
|
+
</div>
|
354
|
+
</div>
|
286
355
|
<hr>
|
287
356
|
<div class="refsect2">
|
288
|
-
<a name="xlib-rgb-gc-set-foreground"></a><h3>xlib_rgb_gc_set_foreground
|
289
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
290
|
-
|
291
|
-
<
|
292
|
-
This is a convenience function to set the foreground of a GC from an RGB
|
293
|
-
triplet. It calls <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-xpixel-from-rgb" title="xlib_rgb_xpixel_from_rgb
|
294
|
-
returned pixel value to set the GC's foreground
|
295
|
-
|
296
|
-
<
|
357
|
+
<a name="xlib-rgb-gc-set-foreground"></a><h3>xlib_rgb_gc_set_foreground ()</h3>
|
358
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
359
|
+
xlib_rgb_gc_set_foreground (<em class="parameter"><code><span class="type">GC</span> gc</code></em>,
|
360
|
+
<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#guint32"><span class="type">guint32</span></a> rgb</code></em>);</pre>
|
361
|
+
<p>This is a convenience function to set the foreground of a GC from an RGB
|
362
|
+
triplet. It calls <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-xpixel-from-rgb" title="xlib_rgb_xpixel_from_rgb ()"><code class="function">xlib_rgb_xpixel_from_rgb()</code></a> internally and uses the
|
363
|
+
returned pixel value to set the GC's foreground.</p>
|
364
|
+
<div class="refsect3">
|
365
|
+
<a name="id-1.2.20.7.5.5"></a><h4>Parameters</h4>
|
366
|
+
<div class="informaltable"><table width="100%" border="0">
|
297
367
|
<colgroup>
|
298
|
-
<col
|
299
|
-
<col>
|
368
|
+
<col width="150px" class="parameters_name">
|
369
|
+
<col class="parameters_description">
|
370
|
+
<col width="200px" class="parameters_annotations">
|
300
371
|
</colgroup>
|
301
372
|
<tbody>
|
302
373
|
<tr>
|
303
|
-
<td
|
304
|
-
<td>A graphic context.</td>
|
374
|
+
<td class="parameter_name"><p>gc</p></td>
|
375
|
+
<td class="parameter_description"><p>A graphic context.</p></td>
|
376
|
+
<td class="parameter_annotations"> </td>
|
305
377
|
</tr>
|
306
378
|
<tr>
|
307
|
-
<td
|
308
|
-
<td>32-bit representation of an RGB value, specified as 0x00RRGGBB.</td>
|
379
|
+
<td class="parameter_name"><p>rgb</p></td>
|
380
|
+
<td class="parameter_description"><p>32-bit representation of an RGB value, specified as 0x00RRGGBB.</p></td>
|
381
|
+
<td class="parameter_annotations"> </td>
|
309
382
|
</tr>
|
310
383
|
</tbody>
|
311
384
|
</table></div>
|
312
385
|
</div>
|
386
|
+
</div>
|
313
387
|
<hr>
|
314
388
|
<div class="refsect2">
|
315
|
-
<a name="xlib-rgb-gc-set-background"></a><h3>xlib_rgb_gc_set_background
|
316
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
317
|
-
|
318
|
-
<
|
319
|
-
This is a convenience function to set the background of a GC from an RGB
|
320
|
-
triplet. It calls <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-xpixel-from-rgb" title="xlib_rgb_xpixel_from_rgb
|
321
|
-
returned pixel value to set the GC's background
|
322
|
-
|
323
|
-
<
|
389
|
+
<a name="xlib-rgb-gc-set-background"></a><h3>xlib_rgb_gc_set_background ()</h3>
|
390
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
391
|
+
xlib_rgb_gc_set_background (<em class="parameter"><code><span class="type">GC</span> gc</code></em>,
|
392
|
+
<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#guint32"><span class="type">guint32</span></a> rgb</code></em>);</pre>
|
393
|
+
<p>This is a convenience function to set the background of a GC from an RGB
|
394
|
+
triplet. It calls <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-xpixel-from-rgb" title="xlib_rgb_xpixel_from_rgb ()"><code class="function">xlib_rgb_xpixel_from_rgb()</code></a> internally and uses the
|
395
|
+
returned pixel value to set the GC's background.</p>
|
396
|
+
<div class="refsect3">
|
397
|
+
<a name="id-1.2.20.7.6.5"></a><h4>Parameters</h4>
|
398
|
+
<div class="informaltable"><table width="100%" border="0">
|
324
399
|
<colgroup>
|
325
|
-
<col
|
326
|
-
<col>
|
400
|
+
<col width="150px" class="parameters_name">
|
401
|
+
<col class="parameters_description">
|
402
|
+
<col width="200px" class="parameters_annotations">
|
327
403
|
</colgroup>
|
328
404
|
<tbody>
|
329
405
|
<tr>
|
330
|
-
<td
|
331
|
-
<td>A graphic context.</td>
|
406
|
+
<td class="parameter_name"><p>gc</p></td>
|
407
|
+
<td class="parameter_description"><p>A graphic context.</p></td>
|
408
|
+
<td class="parameter_annotations"> </td>
|
332
409
|
</tr>
|
333
410
|
<tr>
|
334
|
-
<td
|
335
|
-
<td>32-bit representation of an RGB value, specified as 0x00RRGGBB.</td>
|
411
|
+
<td class="parameter_name"><p>rgb</p></td>
|
412
|
+
<td class="parameter_description"><p>32-bit representation of an RGB value, specified as 0x00RRGGBB.</p></td>
|
413
|
+
<td class="parameter_annotations"> </td>
|
336
414
|
</tr>
|
337
415
|
</tbody>
|
338
416
|
</table></div>
|
339
417
|
</div>
|
418
|
+
</div>
|
340
419
|
<hr>
|
341
420
|
<div class="refsect2">
|
342
|
-
<a name="xlib-draw-rgb-image"></a><h3>xlib_draw_rgb_image
|
343
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
<
|
353
|
-
Renders an RGB buffer to a drawable. Pixels are specified as RGB triplets
|
421
|
+
<a name="xlib-draw-rgb-image"></a><h3>xlib_draw_rgb_image ()</h3>
|
422
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
423
|
+
xlib_draw_rgb_image (<em class="parameter"><code><span class="type">Drawable</span> drawable</code></em>,
|
424
|
+
<em class="parameter"><code><span class="type">GC</span> gc</code></em>,
|
425
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
426
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>,
|
427
|
+
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
428
|
+
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
429
|
+
<em class="parameter"><code><a class="link" href="gdk-pixbuf-XlibRGB.html#XlibRgbDither" title="enum XlibRgbDither"><span class="type">XlibRgbDither</span></a> dith</code></em>,
|
430
|
+
<em class="parameter"><code>unsigned <span class="type">char</span> *rgb_buf</code></em>,
|
431
|
+
<em class="parameter"><code><span class="type">int</span> rowstride</code></em>);</pre>
|
432
|
+
<p>Renders an RGB buffer to a drawable. Pixels are specified as RGB triplets
|
354
433
|
with 8 bits per channel. An image will thus look like an RGBRGBRGBRGB
|
355
434
|
sequence of 8-bit values. This function does not let you specify dither
|
356
435
|
offsets; applications that need to render partial regions of a buffer to
|
357
|
-
build the final image should use <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-draw-rgb-image-dithalign" title="xlib_draw_rgb_image_dithalign
|
358
|
-
|
359
|
-
<
|
436
|
+
build the final image should use <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-draw-rgb-image-dithalign" title="xlib_draw_rgb_image_dithalign ()"><code class="function">xlib_draw_rgb_image_dithalign()</code></a> instead.</p>
|
437
|
+
<div class="refsect3">
|
438
|
+
<a name="id-1.2.20.7.7.5"></a><h4>Parameters</h4>
|
439
|
+
<div class="informaltable"><table width="100%" border="0">
|
360
440
|
<colgroup>
|
361
|
-
<col
|
362
|
-
<col>
|
441
|
+
<col width="150px" class="parameters_name">
|
442
|
+
<col class="parameters_description">
|
443
|
+
<col width="200px" class="parameters_annotations">
|
363
444
|
</colgroup>
|
364
445
|
<tbody>
|
365
446
|
<tr>
|
366
|
-
<td
|
367
|
-
<td>Destination drawable.</td>
|
447
|
+
<td class="parameter_name"><p>drawable</p></td>
|
448
|
+
<td class="parameter_description"><p>Destination drawable.</p></td>
|
449
|
+
<td class="parameter_annotations"> </td>
|
368
450
|
</tr>
|
369
451
|
<tr>
|
370
|
-
<td
|
371
|
-
<td>A graphic context.</td>
|
452
|
+
<td class="parameter_name"><p>gc</p></td>
|
453
|
+
<td class="parameter_description"><p>A graphic context.</p></td>
|
454
|
+
<td class="parameter_annotations"> </td>
|
372
455
|
</tr>
|
373
456
|
<tr>
|
374
|
-
<td
|
375
|
-
<td>Leftmost coordinate of the destination rectangle.</td>
|
457
|
+
<td class="parameter_name"><p>x</p></td>
|
458
|
+
<td class="parameter_description"><p>Leftmost coordinate of the destination rectangle.</p></td>
|
459
|
+
<td class="parameter_annotations"> </td>
|
376
460
|
</tr>
|
377
461
|
<tr>
|
378
|
-
<td
|
379
|
-
<td>Upper coordinate of the destination rectangle.</td>
|
462
|
+
<td class="parameter_name"><p>y</p></td>
|
463
|
+
<td class="parameter_description"><p>Upper coordinate of the destination rectangle.</p></td>
|
464
|
+
<td class="parameter_annotations"> </td>
|
380
465
|
</tr>
|
381
466
|
<tr>
|
382
|
-
<td
|
383
|
-
<td>Width of the destination rectangle, in pixels.</td>
|
467
|
+
<td class="parameter_name"><p>width</p></td>
|
468
|
+
<td class="parameter_description"><p>Width of the destination rectangle, in pixels.</p></td>
|
469
|
+
<td class="parameter_annotations"> </td>
|
384
470
|
</tr>
|
385
471
|
<tr>
|
386
|
-
<td
|
387
|
-
<td>Height of the destination rectangle, in pixels.</td>
|
472
|
+
<td class="parameter_name"><p>height</p></td>
|
473
|
+
<td class="parameter_description"><p>Height of the destination rectangle, in pixels.</p></td>
|
474
|
+
<td class="parameter_annotations"> </td>
|
388
475
|
</tr>
|
389
476
|
<tr>
|
390
|
-
<td
|
391
|
-
<td>Dithering method to use.</td>
|
477
|
+
<td class="parameter_name"><p>dith</p></td>
|
478
|
+
<td class="parameter_description"><p>Dithering method to use.</p></td>
|
479
|
+
<td class="parameter_annotations"> </td>
|
392
480
|
</tr>
|
393
481
|
<tr>
|
394
|
-
<td
|
395
|
-
<td>Pointer to the pixel in the RGB buffer that corresponds to the
|
396
|
-
upper-left corner of the rectangular region to render.</td>
|
482
|
+
<td class="parameter_name"><p>rgb_buf</p></td>
|
483
|
+
<td class="parameter_description"><p>Pointer to the pixel in the RGB buffer that corresponds to the
|
484
|
+
upper-left corner of the rectangular region to render.</p></td>
|
485
|
+
<td class="parameter_annotations"> </td>
|
397
486
|
</tr>
|
398
487
|
<tr>
|
399
|
-
<td
|
400
|
-
<td>Offset between pixel rows in the RGB buffer, in bytes.</td>
|
488
|
+
<td class="parameter_name"><p>rowstride</p></td>
|
489
|
+
<td class="parameter_description"><p>Offset between pixel rows in the RGB buffer, in bytes.</p></td>
|
490
|
+
<td class="parameter_annotations"> </td>
|
401
491
|
</tr>
|
402
492
|
</tbody>
|
403
493
|
</table></div>
|
404
494
|
</div>
|
495
|
+
</div>
|
405
496
|
<hr>
|
406
497
|
<div class="refsect2">
|
407
|
-
<a name="xlib-draw-rgb-image-dithalign"></a><h3>xlib_draw_rgb_image_dithalign
|
408
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
<
|
420
|
-
Renders an RGB buffer to a drawable. Pixels are specified as RGB triplets
|
498
|
+
<a name="xlib-draw-rgb-image-dithalign"></a><h3>xlib_draw_rgb_image_dithalign ()</h3>
|
499
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
500
|
+
xlib_draw_rgb_image_dithalign (<em class="parameter"><code><span class="type">Drawable</span> drawable</code></em>,
|
501
|
+
<em class="parameter"><code><span class="type">GC</span> gc</code></em>,
|
502
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
503
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>,
|
504
|
+
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
505
|
+
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
506
|
+
<em class="parameter"><code><a class="link" href="gdk-pixbuf-XlibRGB.html#XlibRgbDither" title="enum XlibRgbDither"><span class="type">XlibRgbDither</span></a> dith</code></em>,
|
507
|
+
<em class="parameter"><code>unsigned <span class="type">char</span> *rgb_buf</code></em>,
|
508
|
+
<em class="parameter"><code><span class="type">int</span> rowstride</code></em>,
|
509
|
+
<em class="parameter"><code><span class="type">int</span> xdith</code></em>,
|
510
|
+
<em class="parameter"><code><span class="type">int</span> ydith</code></em>);</pre>
|
511
|
+
<p>Renders an RGB buffer to a drawable. Pixels are specified as RGB triplets
|
421
512
|
with 8 bits per channel. An image will thus look like an RGBRGBRGBRGB
|
422
513
|
sequence of 8-bit values. This function lets you specify a pair of dither
|
423
514
|
offsets. It should be used when you need to render regions of an RGB buffer
|
424
515
|
separately to form the final image; the dither offsets let you align the
|
425
|
-
dither mask appropriately
|
426
|
-
|
427
|
-
<
|
516
|
+
dither mask appropriately.</p>
|
517
|
+
<div class="refsect3">
|
518
|
+
<a name="id-1.2.20.7.8.5"></a><h4>Parameters</h4>
|
519
|
+
<div class="informaltable"><table width="100%" border="0">
|
428
520
|
<colgroup>
|
429
|
-
<col
|
430
|
-
<col>
|
521
|
+
<col width="150px" class="parameters_name">
|
522
|
+
<col class="parameters_description">
|
523
|
+
<col width="200px" class="parameters_annotations">
|
431
524
|
</colgroup>
|
432
525
|
<tbody>
|
433
526
|
<tr>
|
434
|
-
<td
|
435
|
-
<td>Destination drawable.</td>
|
527
|
+
<td class="parameter_name"><p>drawable</p></td>
|
528
|
+
<td class="parameter_description"><p>Destination drawable.</p></td>
|
529
|
+
<td class="parameter_annotations"> </td>
|
436
530
|
</tr>
|
437
531
|
<tr>
|
438
|
-
<td
|
439
|
-
<td>A graphic context.</td>
|
532
|
+
<td class="parameter_name"><p>gc</p></td>
|
533
|
+
<td class="parameter_description"><p>A graphic context.</p></td>
|
534
|
+
<td class="parameter_annotations"> </td>
|
440
535
|
</tr>
|
441
536
|
<tr>
|
442
|
-
<td
|
443
|
-
<td>Leftmost coordinate of the destination rectangle.</td>
|
537
|
+
<td class="parameter_name"><p>x</p></td>
|
538
|
+
<td class="parameter_description"><p>Leftmost coordinate of the destination rectangle.</p></td>
|
539
|
+
<td class="parameter_annotations"> </td>
|
444
540
|
</tr>
|
445
541
|
<tr>
|
446
|
-
<td
|
447
|
-
<td>Upper coordinate of the destination rectangle.</td>
|
542
|
+
<td class="parameter_name"><p>y</p></td>
|
543
|
+
<td class="parameter_description"><p>Upper coordinate of the destination rectangle.</p></td>
|
544
|
+
<td class="parameter_annotations"> </td>
|
448
545
|
</tr>
|
449
546
|
<tr>
|
450
|
-
<td
|
451
|
-
<td>Width of the destination rectangle, in pixels.</td>
|
547
|
+
<td class="parameter_name"><p>width</p></td>
|
548
|
+
<td class="parameter_description"><p>Width of the destination rectangle, in pixels.</p></td>
|
549
|
+
<td class="parameter_annotations"> </td>
|
452
550
|
</tr>
|
453
551
|
<tr>
|
454
|
-
<td
|
455
|
-
<td>Height of the destination rectangle, in pixels.</td>
|
552
|
+
<td class="parameter_name"><p>height</p></td>
|
553
|
+
<td class="parameter_description"><p>Height of the destination rectangle, in pixels.</p></td>
|
554
|
+
<td class="parameter_annotations"> </td>
|
456
555
|
</tr>
|
457
556
|
<tr>
|
458
|
-
<td
|
459
|
-
<td>Dithering method to use.</td>
|
557
|
+
<td class="parameter_name"><p>dith</p></td>
|
558
|
+
<td class="parameter_description"><p>Dithering method to use.</p></td>
|
559
|
+
<td class="parameter_annotations"> </td>
|
460
560
|
</tr>
|
461
561
|
<tr>
|
462
|
-
<td
|
463
|
-
<td>Pointer to the pixel in the RGB buffer that corresponds to the
|
464
|
-
upper-left corner of the rectangular region to render.</td>
|
562
|
+
<td class="parameter_name"><p>rgb_buf</p></td>
|
563
|
+
<td class="parameter_description"><p>Pointer to the pixel in the RGB buffer that corresponds to the
|
564
|
+
upper-left corner of the rectangular region to render.</p></td>
|
565
|
+
<td class="parameter_annotations"> </td>
|
465
566
|
</tr>
|
466
567
|
<tr>
|
467
|
-
<td
|
468
|
-
<td>Offset between pixel rows in the RGB buffer, in bytes.</td>
|
568
|
+
<td class="parameter_name"><p>rowstride</p></td>
|
569
|
+
<td class="parameter_description"><p>Offset between pixel rows in the RGB buffer, in bytes.</p></td>
|
570
|
+
<td class="parameter_annotations"> </td>
|
469
571
|
</tr>
|
470
572
|
<tr>
|
471
|
-
<td
|
472
|
-
<td>X offset for the dither mask.</td>
|
573
|
+
<td class="parameter_name"><p>xdith</p></td>
|
574
|
+
<td class="parameter_description"><p>X offset for the dither mask.</p></td>
|
575
|
+
<td class="parameter_annotations"> </td>
|
473
576
|
</tr>
|
474
577
|
<tr>
|
475
|
-
<td
|
476
|
-
<td>Y offset for the dither mask.</td>
|
578
|
+
<td class="parameter_name"><p>ydith</p></td>
|
579
|
+
<td class="parameter_description"><p>Y offset for the dither mask.</p></td>
|
580
|
+
<td class="parameter_annotations"> </td>
|
477
581
|
</tr>
|
478
582
|
</tbody>
|
479
583
|
</table></div>
|
480
584
|
</div>
|
585
|
+
</div>
|
481
586
|
<hr>
|
482
587
|
<div class="refsect2">
|
483
|
-
<a name="xlib-draw-rgb-32-image"></a><h3>xlib_draw_rgb_32_image
|
484
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
<
|
494
|
-
This function is analogous to <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-draw-rgb-image" title="xlib_draw_rgb_image
|
588
|
+
<a name="xlib-draw-rgb-32-image"></a><h3>xlib_draw_rgb_32_image ()</h3>
|
589
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
590
|
+
xlib_draw_rgb_32_image (<em class="parameter"><code><span class="type">Drawable</span> drawable</code></em>,
|
591
|
+
<em class="parameter"><code><span class="type">GC</span> gc</code></em>,
|
592
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
593
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>,
|
594
|
+
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
595
|
+
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
596
|
+
<em class="parameter"><code><a class="link" href="gdk-pixbuf-XlibRGB.html#XlibRgbDither" title="enum XlibRgbDither"><span class="type">XlibRgbDither</span></a> dith</code></em>,
|
597
|
+
<em class="parameter"><code>unsigned <span class="type">char</span> *buf</code></em>,
|
598
|
+
<em class="parameter"><code><span class="type">int</span> rowstride</code></em>);</pre>
|
599
|
+
<p>This function is analogous to <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-draw-rgb-image" title="xlib_draw_rgb_image ()"><code class="function">xlib_draw_rgb_image()</code></a>, but it lets you use
|
495
600
|
32-bit RGB buffers with pixels specified as 0xRRGGBB00. The
|
496
601
|
least-significant 8 bits are actually discarded. This function can lead to
|
497
|
-
faster results than <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-draw-rgb-image" title="xlib_draw_rgb_image
|
498
|
-
32-bit boundaries
|
499
|
-
|
500
|
-
<
|
602
|
+
faster results than <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-draw-rgb-image" title="xlib_draw_rgb_image ()"><code class="function">xlib_draw_rgb_image()</code></a> since the pixels are aligned on
|
603
|
+
32-bit boundaries.</p>
|
604
|
+
<div class="refsect3">
|
605
|
+
<a name="id-1.2.20.7.9.5"></a><h4>Parameters</h4>
|
606
|
+
<div class="informaltable"><table width="100%" border="0">
|
501
607
|
<colgroup>
|
502
|
-
<col
|
503
|
-
<col>
|
608
|
+
<col width="150px" class="parameters_name">
|
609
|
+
<col class="parameters_description">
|
610
|
+
<col width="200px" class="parameters_annotations">
|
504
611
|
</colgroup>
|
505
612
|
<tbody>
|
506
613
|
<tr>
|
507
|
-
<td
|
508
|
-
<td>Destination drawable.</td>
|
614
|
+
<td class="parameter_name"><p>drawable</p></td>
|
615
|
+
<td class="parameter_description"><p>Destination drawable.</p></td>
|
616
|
+
<td class="parameter_annotations"> </td>
|
509
617
|
</tr>
|
510
618
|
<tr>
|
511
|
-
<td
|
512
|
-
<td>A graphic context.</td>
|
619
|
+
<td class="parameter_name"><p>gc</p></td>
|
620
|
+
<td class="parameter_description"><p>A graphic context.</p></td>
|
621
|
+
<td class="parameter_annotations"> </td>
|
513
622
|
</tr>
|
514
623
|
<tr>
|
515
|
-
<td
|
516
|
-
<td>Leftmost coordinate of the destination rectangle.</td>
|
624
|
+
<td class="parameter_name"><p>x</p></td>
|
625
|
+
<td class="parameter_description"><p>Leftmost coordinate of the destination rectangle.</p></td>
|
626
|
+
<td class="parameter_annotations"> </td>
|
517
627
|
</tr>
|
518
628
|
<tr>
|
519
|
-
<td
|
520
|
-
<td>Upper coordinate of the destination rectangle.</td>
|
629
|
+
<td class="parameter_name"><p>y</p></td>
|
630
|
+
<td class="parameter_description"><p>Upper coordinate of the destination rectangle.</p></td>
|
631
|
+
<td class="parameter_annotations"> </td>
|
521
632
|
</tr>
|
522
633
|
<tr>
|
523
|
-
<td
|
524
|
-
<td>Width of the destination rectangle, in pixels.</td>
|
634
|
+
<td class="parameter_name"><p>width</p></td>
|
635
|
+
<td class="parameter_description"><p>Width of the destination rectangle, in pixels.</p></td>
|
636
|
+
<td class="parameter_annotations"> </td>
|
525
637
|
</tr>
|
526
638
|
<tr>
|
527
|
-
<td
|
528
|
-
<td>Height of the destination rectangle, in pixels.</td>
|
639
|
+
<td class="parameter_name"><p>height</p></td>
|
640
|
+
<td class="parameter_description"><p>Height of the destination rectangle, in pixels.</p></td>
|
641
|
+
<td class="parameter_annotations"> </td>
|
529
642
|
</tr>
|
530
643
|
<tr>
|
531
|
-
<td
|
532
|
-
<td>Dithering method to use.</td>
|
644
|
+
<td class="parameter_name"><p>dith</p></td>
|
645
|
+
<td class="parameter_description"><p>Dithering method to use.</p></td>
|
646
|
+
<td class="parameter_annotations"> </td>
|
533
647
|
</tr>
|
534
648
|
<tr>
|
535
|
-
<td
|
536
|
-
<td>Pointer to the pixel in the RGB buffer that corresponds to the
|
537
|
-
upper-left corner of the rectangular region to render.</td>
|
649
|
+
<td class="parameter_name"><p>buf</p></td>
|
650
|
+
<td class="parameter_description"><p>Pointer to the pixel in the RGB buffer that corresponds to the
|
651
|
+
upper-left corner of the rectangular region to render.</p></td>
|
652
|
+
<td class="parameter_annotations"> </td>
|
538
653
|
</tr>
|
539
654
|
<tr>
|
540
|
-
<td
|
541
|
-
<td>Offset between pixel rows in the RGB buffer, in bytes.</td>
|
655
|
+
<td class="parameter_name"><p>rowstride</p></td>
|
656
|
+
<td class="parameter_description"><p>Offset between pixel rows in the RGB buffer, in bytes.</p></td>
|
657
|
+
<td class="parameter_annotations"> </td>
|
542
658
|
</tr>
|
543
659
|
</tbody>
|
544
660
|
</table></div>
|
545
661
|
</div>
|
662
|
+
</div>
|
546
663
|
<hr>
|
547
664
|
<div class="refsect2">
|
548
|
-
<a name="xlib-draw-gray-image"></a><h3>xlib_draw_gray_image
|
549
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
<
|
559
|
-
Renders a grayscale buffer to a drawable. Pixels are specified as 8-bit
|
665
|
+
<a name="xlib-draw-gray-image"></a><h3>xlib_draw_gray_image ()</h3>
|
666
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
667
|
+
xlib_draw_gray_image (<em class="parameter"><code><span class="type">Drawable</span> drawable</code></em>,
|
668
|
+
<em class="parameter"><code><span class="type">GC</span> gc</code></em>,
|
669
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
670
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>,
|
671
|
+
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
672
|
+
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
673
|
+
<em class="parameter"><code><a class="link" href="gdk-pixbuf-XlibRGB.html#XlibRgbDither" title="enum XlibRgbDither"><span class="type">XlibRgbDither</span></a> dith</code></em>,
|
674
|
+
<em class="parameter"><code>unsigned <span class="type">char</span> *buf</code></em>,
|
675
|
+
<em class="parameter"><code><span class="type">int</span> rowstride</code></em>);</pre>
|
676
|
+
<p>Renders a grayscale buffer to a drawable. Pixels are specified as 8-bit
|
560
677
|
intensity values. An image will thus look as a GGGGGG sequence of 8-bit
|
561
|
-
values
|
562
|
-
|
563
|
-
<
|
678
|
+
values.</p>
|
679
|
+
<div class="refsect3">
|
680
|
+
<a name="id-1.2.20.7.10.5"></a><h4>Parameters</h4>
|
681
|
+
<div class="informaltable"><table width="100%" border="0">
|
564
682
|
<colgroup>
|
565
|
-
<col
|
566
|
-
<col>
|
683
|
+
<col width="150px" class="parameters_name">
|
684
|
+
<col class="parameters_description">
|
685
|
+
<col width="200px" class="parameters_annotations">
|
567
686
|
</colgroup>
|
568
687
|
<tbody>
|
569
688
|
<tr>
|
570
|
-
<td
|
571
|
-
<td>Destination drawable.</td>
|
689
|
+
<td class="parameter_name"><p>drawable</p></td>
|
690
|
+
<td class="parameter_description"><p>Destination drawable.</p></td>
|
691
|
+
<td class="parameter_annotations"> </td>
|
572
692
|
</tr>
|
573
693
|
<tr>
|
574
|
-
<td
|
575
|
-
<td>A graphic context.</td>
|
694
|
+
<td class="parameter_name"><p>gc</p></td>
|
695
|
+
<td class="parameter_description"><p>A graphic context.</p></td>
|
696
|
+
<td class="parameter_annotations"> </td>
|
576
697
|
</tr>
|
577
698
|
<tr>
|
578
|
-
<td
|
579
|
-
<td>Leftmost coordinate of the destination rectangle.</td>
|
699
|
+
<td class="parameter_name"><p>x</p></td>
|
700
|
+
<td class="parameter_description"><p>Leftmost coordinate of the destination rectangle.</p></td>
|
701
|
+
<td class="parameter_annotations"> </td>
|
580
702
|
</tr>
|
581
703
|
<tr>
|
582
|
-
<td
|
583
|
-
<td>Upper coordinate of the destination rectangle.</td>
|
704
|
+
<td class="parameter_name"><p>y</p></td>
|
705
|
+
<td class="parameter_description"><p>Upper coordinate of the destination rectangle.</p></td>
|
706
|
+
<td class="parameter_annotations"> </td>
|
584
707
|
</tr>
|
585
708
|
<tr>
|
586
|
-
<td
|
587
|
-
<td>Width of the destination rectangle, in pixels.</td>
|
709
|
+
<td class="parameter_name"><p>width</p></td>
|
710
|
+
<td class="parameter_description"><p>Width of the destination rectangle, in pixels.</p></td>
|
711
|
+
<td class="parameter_annotations"> </td>
|
588
712
|
</tr>
|
589
713
|
<tr>
|
590
|
-
<td
|
591
|
-
<td>Height of thd destination rectangle, in pixels.</td>
|
714
|
+
<td class="parameter_name"><p>height</p></td>
|
715
|
+
<td class="parameter_description"><p>Height of thd destination rectangle, in pixels.</p></td>
|
716
|
+
<td class="parameter_annotations"> </td>
|
592
717
|
</tr>
|
593
718
|
<tr>
|
594
|
-
<td
|
595
|
-
<td>Dithering method to use.</td>
|
719
|
+
<td class="parameter_name"><p>dith</p></td>
|
720
|
+
<td class="parameter_description"><p>Dithering method to use.</p></td>
|
721
|
+
<td class="parameter_annotations"> </td>
|
596
722
|
</tr>
|
597
723
|
<tr>
|
598
|
-
<td
|
599
|
-
<td>Pointer to the pixel in the grayscale buffer that corresponds to the
|
600
|
-
upper-left corner of the rectangular region to render.</td>
|
724
|
+
<td class="parameter_name"><p>buf</p></td>
|
725
|
+
<td class="parameter_description"><p>Pointer to the pixel in the grayscale buffer that corresponds to the
|
726
|
+
upper-left corner of the rectangular region to render.</p></td>
|
727
|
+
<td class="parameter_annotations"> </td>
|
601
728
|
</tr>
|
602
729
|
<tr>
|
603
|
-
<td
|
604
|
-
<td>Offset between pixel rows in the grayscale buffer, in pixels.</td>
|
730
|
+
<td class="parameter_name"><p>rowstride</p></td>
|
731
|
+
<td class="parameter_description"><p>Offset between pixel rows in the grayscale buffer, in pixels.</p></td>
|
732
|
+
<td class="parameter_annotations"> </td>
|
605
733
|
</tr>
|
606
734
|
</tbody>
|
607
735
|
</table></div>
|
608
736
|
</div>
|
737
|
+
</div>
|
609
738
|
<hr>
|
610
739
|
<div class="refsect2">
|
611
|
-
<a name="xlib-rgb-cmap-new"></a><h3>xlib_rgb_cmap_new
|
612
|
-
<pre class="programlisting"><a class="link" href="gdk-pixbuf-XlibRGB.html#XlibRgbCmap" title="struct XlibRgbCmap"><span class="returnvalue">XlibRgbCmap</span></a>
|
613
|
-
|
614
|
-
<
|
615
|
-
FIXME
|
616
|
-
|
617
|
-
<
|
740
|
+
<a name="xlib-rgb-cmap-new"></a><h3>xlib_rgb_cmap_new ()</h3>
|
741
|
+
<pre class="programlisting"><a class="link" href="gdk-pixbuf-XlibRGB.html#XlibRgbCmap" title="struct XlibRgbCmap"><span class="returnvalue">XlibRgbCmap</span></a> *
|
742
|
+
xlib_rgb_cmap_new (<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#guint32"><span class="type">guint32</span></a> *colors</code></em>,
|
743
|
+
<em class="parameter"><code><span class="type">int</span> n_colors</code></em>);</pre>
|
744
|
+
<p>FIXME</p>
|
745
|
+
<div class="refsect3">
|
746
|
+
<a name="id-1.2.20.7.11.5"></a><h4>Parameters</h4>
|
747
|
+
<div class="informaltable"><table width="100%" border="0">
|
618
748
|
<colgroup>
|
619
|
-
<col
|
620
|
-
<col>
|
749
|
+
<col width="150px" class="parameters_name">
|
750
|
+
<col class="parameters_description">
|
751
|
+
<col width="200px" class="parameters_annotations">
|
621
752
|
</colgroup>
|
622
753
|
<tbody>
|
623
754
|
<tr>
|
624
|
-
<td
|
625
|
-
<td>FIXME</td>
|
626
|
-
</
|
627
|
-
<tr>
|
628
|
-
<td><p><span class="term"><em class="parameter"><code>n_colors</code></em> :</span></p></td>
|
629
|
-
<td>FIXME</td>
|
755
|
+
<td class="parameter_name"><p>colors</p></td>
|
756
|
+
<td class="parameter_description"><p>FIXME</p></td>
|
757
|
+
<td class="parameter_annotations"> </td>
|
630
758
|
</tr>
|
631
759
|
<tr>
|
632
|
-
<td
|
633
|
-
<td>FIXME</td>
|
760
|
+
<td class="parameter_name"><p>n_colors</p></td>
|
761
|
+
<td class="parameter_description"><p>FIXME</p></td>
|
762
|
+
<td class="parameter_annotations"> </td>
|
634
763
|
</tr>
|
635
764
|
</tbody>
|
636
765
|
</table></div>
|
637
766
|
</div>
|
767
|
+
<div class="refsect3">
|
768
|
+
<a name="id-1.2.20.7.11.6"></a><h4>Returns</h4>
|
769
|
+
<p> FIXME</p>
|
770
|
+
<p></p>
|
771
|
+
</div>
|
772
|
+
</div>
|
638
773
|
<hr>
|
639
774
|
<div class="refsect2">
|
640
|
-
<a name="xlib-rgb-cmap-free"></a><h3>xlib_rgb_cmap_free
|
641
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
642
|
-
<
|
643
|
-
Frees an XlibRGB colormap
|
644
|
-
|
645
|
-
<
|
775
|
+
<a name="xlib-rgb-cmap-free"></a><h3>xlib_rgb_cmap_free ()</h3>
|
776
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
777
|
+
xlib_rgb_cmap_free (<em class="parameter"><code><a class="link" href="gdk-pixbuf-XlibRGB.html#XlibRgbCmap" title="struct XlibRgbCmap"><span class="type">XlibRgbCmap</span></a> *cmap</code></em>);</pre>
|
778
|
+
<p>Frees an XlibRGB colormap.</p>
|
779
|
+
<div class="refsect3">
|
780
|
+
<a name="id-1.2.20.7.12.5"></a><h4>Parameters</h4>
|
781
|
+
<div class="informaltable"><table width="100%" border="0">
|
646
782
|
<colgroup>
|
647
|
-
<col
|
648
|
-
<col>
|
783
|
+
<col width="150px" class="parameters_name">
|
784
|
+
<col class="parameters_description">
|
785
|
+
<col width="200px" class="parameters_annotations">
|
649
786
|
</colgroup>
|
650
787
|
<tbody><tr>
|
651
|
-
<td
|
652
|
-
<td>An XlibRGB colormap.</td>
|
788
|
+
<td class="parameter_name"><p>cmap</p></td>
|
789
|
+
<td class="parameter_description"><p>An XlibRGB colormap.</p></td>
|
790
|
+
<td class="parameter_annotations"> </td>
|
653
791
|
</tr></tbody>
|
654
792
|
</table></div>
|
655
793
|
</div>
|
794
|
+
</div>
|
656
795
|
<hr>
|
657
796
|
<div class="refsect2">
|
658
|
-
<a name="xlib-draw-indexed-image"></a><h3>xlib_draw_indexed_image
|
659
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
<
|
670
|
-
FIXME
|
671
|
-
|
672
|
-
<
|
797
|
+
<a name="xlib-draw-indexed-image"></a><h3>xlib_draw_indexed_image ()</h3>
|
798
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
799
|
+
xlib_draw_indexed_image (<em class="parameter"><code><span class="type">Drawable</span> drawable</code></em>,
|
800
|
+
<em class="parameter"><code><span class="type">GC</span> gc</code></em>,
|
801
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
802
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>,
|
803
|
+
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
804
|
+
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
805
|
+
<em class="parameter"><code><a class="link" href="gdk-pixbuf-XlibRGB.html#XlibRgbDither" title="enum XlibRgbDither"><span class="type">XlibRgbDither</span></a> dith</code></em>,
|
806
|
+
<em class="parameter"><code>unsigned <span class="type">char</span> *buf</code></em>,
|
807
|
+
<em class="parameter"><code><span class="type">int</span> rowstride</code></em>,
|
808
|
+
<em class="parameter"><code><a class="link" href="gdk-pixbuf-XlibRGB.html#XlibRgbCmap" title="struct XlibRgbCmap"><span class="type">XlibRgbCmap</span></a> *cmap</code></em>);</pre>
|
809
|
+
<p>FIXME</p>
|
810
|
+
<div class="refsect3">
|
811
|
+
<a name="id-1.2.20.7.13.5"></a><h4>Parameters</h4>
|
812
|
+
<div class="informaltable"><table width="100%" border="0">
|
673
813
|
<colgroup>
|
674
|
-
<col
|
675
|
-
<col>
|
814
|
+
<col width="150px" class="parameters_name">
|
815
|
+
<col class="parameters_description">
|
816
|
+
<col width="200px" class="parameters_annotations">
|
676
817
|
</colgroup>
|
677
818
|
<tbody>
|
678
819
|
<tr>
|
679
|
-
<td
|
680
|
-
<td>FIXME</td>
|
820
|
+
<td class="parameter_name"><p>drawable</p></td>
|
821
|
+
<td class="parameter_description"><p>FIXME</p></td>
|
822
|
+
<td class="parameter_annotations"> </td>
|
681
823
|
</tr>
|
682
824
|
<tr>
|
683
|
-
<td
|
684
|
-
<td>FIXME</td>
|
825
|
+
<td class="parameter_name"><p>gc</p></td>
|
826
|
+
<td class="parameter_description"><p>FIXME</p></td>
|
827
|
+
<td class="parameter_annotations"> </td>
|
685
828
|
</tr>
|
686
829
|
<tr>
|
687
|
-
<td
|
688
|
-
<td>FIXME</td>
|
830
|
+
<td class="parameter_name"><p>x</p></td>
|
831
|
+
<td class="parameter_description"><p>FIXME</p></td>
|
832
|
+
<td class="parameter_annotations"> </td>
|
689
833
|
</tr>
|
690
834
|
<tr>
|
691
|
-
<td
|
692
|
-
<td>FIXME</td>
|
835
|
+
<td class="parameter_name"><p>y</p></td>
|
836
|
+
<td class="parameter_description"><p>FIXME</p></td>
|
837
|
+
<td class="parameter_annotations"> </td>
|
693
838
|
</tr>
|
694
839
|
<tr>
|
695
|
-
<td
|
696
|
-
<td>FIXME</td>
|
840
|
+
<td class="parameter_name"><p>width</p></td>
|
841
|
+
<td class="parameter_description"><p>FIXME</p></td>
|
842
|
+
<td class="parameter_annotations"> </td>
|
697
843
|
</tr>
|
698
844
|
<tr>
|
699
|
-
<td
|
700
|
-
<td>FIXME</td>
|
845
|
+
<td class="parameter_name"><p>height</p></td>
|
846
|
+
<td class="parameter_description"><p>FIXME</p></td>
|
847
|
+
<td class="parameter_annotations"> </td>
|
701
848
|
</tr>
|
702
849
|
<tr>
|
703
|
-
<td
|
704
|
-
<td>FIXME</td>
|
850
|
+
<td class="parameter_name"><p>dith</p></td>
|
851
|
+
<td class="parameter_description"><p>FIXME</p></td>
|
852
|
+
<td class="parameter_annotations"> </td>
|
705
853
|
</tr>
|
706
854
|
<tr>
|
707
|
-
<td
|
708
|
-
<td>FIXME</td>
|
855
|
+
<td class="parameter_name"><p>buf</p></td>
|
856
|
+
<td class="parameter_description"><p>FIXME</p></td>
|
857
|
+
<td class="parameter_annotations"> </td>
|
709
858
|
</tr>
|
710
859
|
<tr>
|
711
|
-
<td
|
712
|
-
<td>FIXME</td>
|
860
|
+
<td class="parameter_name"><p>rowstride</p></td>
|
861
|
+
<td class="parameter_description"><p>FIXME</p></td>
|
862
|
+
<td class="parameter_annotations"> </td>
|
713
863
|
</tr>
|
714
864
|
<tr>
|
715
|
-
<td
|
716
|
-
<td>FIXME</td>
|
865
|
+
<td class="parameter_name"><p>cmap</p></td>
|
866
|
+
<td class="parameter_description"><p>FIXME</p></td>
|
867
|
+
<td class="parameter_annotations"> </td>
|
717
868
|
</tr>
|
718
869
|
</tbody>
|
719
870
|
</table></div>
|
720
871
|
</div>
|
872
|
+
</div>
|
721
873
|
<hr>
|
722
874
|
<div class="refsect2">
|
723
|
-
<a name="xlib-rgb-ditherable"></a><h3>xlib_rgb_ditherable
|
724
|
-
<pre class="programlisting"><span class="returnvalue">Bool</span>
|
725
|
-
<
|
726
|
-
Queries whether XlibRGB supports dithering for its chosen visual
|
727
|
-
|
728
|
-
<
|
729
|
-
<
|
730
|
-
|
731
|
-
<
|
732
|
-
</
|
733
|
-
<tbody><tr>
|
734
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
735
|
-
<td>TRUE if dithering can be performed for the visual that XlibRGB
|
736
|
-
is using, FALSE otherwise.</td>
|
737
|
-
</tr></tbody>
|
738
|
-
</table></div>
|
875
|
+
<a name="xlib-rgb-ditherable"></a><h3>xlib_rgb_ditherable ()</h3>
|
876
|
+
<pre class="programlisting"><span class="returnvalue">Bool</span>
|
877
|
+
xlib_rgb_ditherable (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
878
|
+
<p>Queries whether XlibRGB supports dithering for its chosen visual.</p>
|
879
|
+
<div class="refsect3">
|
880
|
+
<a name="id-1.2.20.7.14.5"></a><h4>Returns</h4>
|
881
|
+
<p> TRUE if dithering can be performed for the visual that XlibRGB
|
882
|
+
is using, FALSE otherwise.</p>
|
883
|
+
<p></p>
|
884
|
+
</div>
|
739
885
|
</div>
|
740
886
|
<hr>
|
741
887
|
<div class="refsect2">
|
742
|
-
<a name="xlib-rgb-set-verbose"></a><h3>xlib_rgb_set_verbose
|
743
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
744
|
-
<
|
745
|
-
Enables/disables debug spew
|
746
|
-
|
747
|
-
<
|
888
|
+
<a name="xlib-rgb-set-verbose"></a><h3>xlib_rgb_set_verbose ()</h3>
|
889
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
890
|
+
xlib_rgb_set_verbose (<em class="parameter"><code><span class="type">Bool</span> verbose</code></em>);</pre>
|
891
|
+
<p>Enables/disables debug spew.</p>
|
892
|
+
<div class="refsect3">
|
893
|
+
<a name="id-1.2.20.7.15.5"></a><h4>Parameters</h4>
|
894
|
+
<div class="informaltable"><table width="100%" border="0">
|
748
895
|
<colgroup>
|
749
|
-
<col
|
750
|
-
<col>
|
896
|
+
<col width="150px" class="parameters_name">
|
897
|
+
<col class="parameters_description">
|
898
|
+
<col width="200px" class="parameters_annotations">
|
751
899
|
</colgroup>
|
752
900
|
<tbody><tr>
|
753
|
-
<td
|
754
|
-
<td>True to be verbose</td>
|
901
|
+
<td class="parameter_name"><p>verbose</p></td>
|
902
|
+
<td class="parameter_description"><p>True to be verbose</p></td>
|
903
|
+
<td class="parameter_annotations"> </td>
|
755
904
|
</tr></tbody>
|
756
905
|
</table></div>
|
757
906
|
</div>
|
907
|
+
</div>
|
758
908
|
<hr>
|
759
909
|
<div class="refsect2">
|
760
|
-
<a name="xlib-rgb-set-install"></a><h3>xlib_rgb_set_install
|
761
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
762
|
-
<
|
763
|
-
Sets whether we install an RGB colormap
|
764
|
-
|
765
|
-
<
|
910
|
+
<a name="xlib-rgb-set-install"></a><h3>xlib_rgb_set_install ()</h3>
|
911
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
912
|
+
xlib_rgb_set_install (<em class="parameter"><code><span class="type">Bool</span> install</code></em>);</pre>
|
913
|
+
<p>Sets whether we install an RGB colormap.</p>
|
914
|
+
<div class="refsect3">
|
915
|
+
<a name="id-1.2.20.7.16.5"></a><h4>Parameters</h4>
|
916
|
+
<div class="informaltable"><table width="100%" border="0">
|
766
917
|
<colgroup>
|
767
|
-
<col
|
768
|
-
<col>
|
918
|
+
<col width="150px" class="parameters_name">
|
919
|
+
<col class="parameters_description">
|
920
|
+
<col width="200px" class="parameters_annotations">
|
769
921
|
</colgroup>
|
770
922
|
<tbody><tr>
|
771
|
-
<td
|
772
|
-
<td>True to install a colormap</td>
|
923
|
+
<td class="parameter_name"><p>install</p></td>
|
924
|
+
<td class="parameter_description"><p>True to install a colormap</p></td>
|
925
|
+
<td class="parameter_annotations"> </td>
|
773
926
|
</tr></tbody>
|
774
927
|
</table></div>
|
775
928
|
</div>
|
929
|
+
</div>
|
776
930
|
<hr>
|
777
931
|
<div class="refsect2">
|
778
|
-
<a name="xlib-rgb-set-min-colors"></a><h3>xlib_rgb_set_min_colors
|
779
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
780
|
-
<
|
781
|
-
Sets the minimum number of colors in the color cube
|
782
|
-
|
783
|
-
<
|
932
|
+
<a name="xlib-rgb-set-min-colors"></a><h3>xlib_rgb_set_min_colors ()</h3>
|
933
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
934
|
+
xlib_rgb_set_min_colors (<em class="parameter"><code><span class="type">int</span> min_colors</code></em>);</pre>
|
935
|
+
<p>Sets the minimum number of colors in the color cube.</p>
|
936
|
+
<div class="refsect3">
|
937
|
+
<a name="id-1.2.20.7.17.5"></a><h4>Parameters</h4>
|
938
|
+
<div class="informaltable"><table width="100%" border="0">
|
784
939
|
<colgroup>
|
785
|
-
<col
|
786
|
-
<col>
|
940
|
+
<col width="150px" class="parameters_name">
|
941
|
+
<col class="parameters_description">
|
942
|
+
<col width="200px" class="parameters_annotations">
|
787
943
|
</colgroup>
|
788
944
|
<tbody><tr>
|
789
|
-
<td
|
790
|
-
<td>minimum colors to use</td>
|
945
|
+
<td class="parameter_name"><p>min_colors</p></td>
|
946
|
+
<td class="parameter_description"><p>minimum colors to use</p></td>
|
947
|
+
<td class="parameter_annotations"> </td>
|
791
948
|
</tr></tbody>
|
792
949
|
</table></div>
|
793
950
|
</div>
|
951
|
+
</div>
|
794
952
|
<hr>
|
795
953
|
<div class="refsect2">
|
796
|
-
<a name="xlib-rgb-get-cmap"></a><h3>xlib_rgb_get_cmap
|
797
|
-
<pre class="programlisting"><span class="returnvalue">Colormap</span>
|
798
|
-
<
|
799
|
-
Queries the X colormap that XlibRGB is using
|
800
|
-
|
801
|
-
<
|
802
|
-
<
|
803
|
-
<
|
804
|
-
|
805
|
-
</colgroup>
|
806
|
-
<tbody><tr>
|
807
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
808
|
-
<td>An X colormap.</td>
|
809
|
-
</tr></tbody>
|
810
|
-
</table></div>
|
954
|
+
<a name="xlib-rgb-get-cmap"></a><h3>xlib_rgb_get_cmap ()</h3>
|
955
|
+
<pre class="programlisting"><span class="returnvalue">Colormap</span>
|
956
|
+
xlib_rgb_get_cmap (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
957
|
+
<p>Queries the X colormap that XlibRGB is using.</p>
|
958
|
+
<div class="refsect3">
|
959
|
+
<a name="id-1.2.20.7.18.5"></a><h4>Returns</h4>
|
960
|
+
<p> An X colormap.</p>
|
961
|
+
<p></p>
|
962
|
+
</div>
|
811
963
|
</div>
|
812
964
|
<hr>
|
813
965
|
<div class="refsect2">
|
814
|
-
<a name="xlib-rgb-get-visual"></a><h3>xlib_rgb_get_visual
|
815
|
-
<pre class="programlisting"><span class="returnvalue">Visual</span>
|
816
|
-
<
|
817
|
-
Queries the visual that XlibRGB is using
|
818
|
-
|
819
|
-
<
|
820
|
-
<
|
821
|
-
<
|
822
|
-
|
823
|
-
</colgroup>
|
824
|
-
<tbody><tr>
|
825
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
826
|
-
<td>An X visual.</td>
|
827
|
-
</tr></tbody>
|
828
|
-
</table></div>
|
966
|
+
<a name="xlib-rgb-get-visual"></a><h3>xlib_rgb_get_visual ()</h3>
|
967
|
+
<pre class="programlisting"><span class="returnvalue">Visual</span> *
|
968
|
+
xlib_rgb_get_visual (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
969
|
+
<p>Queries the visual that XlibRGB is using.</p>
|
970
|
+
<div class="refsect3">
|
971
|
+
<a name="id-1.2.20.7.19.5"></a><h4>Returns</h4>
|
972
|
+
<p> An X visual.</p>
|
973
|
+
<p></p>
|
974
|
+
</div>
|
829
975
|
</div>
|
830
976
|
<hr>
|
831
977
|
<div class="refsect2">
|
832
|
-
<a name="xlib-rgb-get-visual-info"></a><h3>xlib_rgb_get_visual_info
|
833
|
-
<pre class="programlisting"><span class="returnvalue">XVisualInfo</span>
|
834
|
-
<
|
835
|
-
Queries the visual info structure for the visual that XlibRGB is using
|
836
|
-
|
837
|
-
<
|
838
|
-
<
|
839
|
-
<
|
840
|
-
|
841
|
-
</colgroup>
|
842
|
-
<tbody><tr>
|
843
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
844
|
-
<td>An XVisualInfo structure.</td>
|
845
|
-
</tr></tbody>
|
846
|
-
</table></div>
|
978
|
+
<a name="xlib-rgb-get-visual-info"></a><h3>xlib_rgb_get_visual_info ()</h3>
|
979
|
+
<pre class="programlisting"><span class="returnvalue">XVisualInfo</span> *
|
980
|
+
xlib_rgb_get_visual_info (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
981
|
+
<p>Queries the visual info structure for the visual that XlibRGB is using.</p>
|
982
|
+
<div class="refsect3">
|
983
|
+
<a name="id-1.2.20.7.20.5"></a><h4>Returns</h4>
|
984
|
+
<p> An XVisualInfo structure.</p>
|
985
|
+
<p></p>
|
986
|
+
</div>
|
847
987
|
</div>
|
848
988
|
<hr>
|
849
989
|
<div class="refsect2">
|
850
|
-
<a name="xlib-rgb-get-depth"></a><h3>xlib_rgb_get_depth
|
851
|
-
<pre class="programlisting"><span class="returnvalue">int</span>
|
852
|
-
<
|
853
|
-
Queries the depth of the visual that XlibRGB is using
|
854
|
-
|
855
|
-
<
|
856
|
-
<
|
857
|
-
<
|
858
|
-
|
859
|
-
</
|
860
|
-
<
|
861
|
-
<
|
862
|
-
<
|
863
|
-
</
|
864
|
-
</
|
990
|
+
<a name="xlib-rgb-get-depth"></a><h3>xlib_rgb_get_depth ()</h3>
|
991
|
+
<pre class="programlisting"><span class="returnvalue">int</span>
|
992
|
+
xlib_rgb_get_depth (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
993
|
+
<p>Queries the depth of the visual that XlibRGB is using.</p>
|
994
|
+
<div class="refsect3">
|
995
|
+
<a name="id-1.2.20.7.21.5"></a><h4>Returns</h4>
|
996
|
+
<p> Bit depth.</p>
|
997
|
+
<p></p>
|
998
|
+
</div>
|
999
|
+
</div>
|
1000
|
+
<hr>
|
1001
|
+
<div class="refsect2">
|
1002
|
+
<a name="xlib-rgb-get-display"></a><h3>xlib_rgb_get_display ()</h3>
|
1003
|
+
<pre class="programlisting"><span class="returnvalue">Display</span> *
|
1004
|
+
xlib_rgb_get_display (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1005
|
+
<p>Queries the X display that XlibRGB is using.</p>
|
1006
|
+
<div class="refsect3">
|
1007
|
+
<a name="id-1.2.20.7.22.5"></a><h4>Returns</h4>
|
1008
|
+
<p> An X display.</p>
|
1009
|
+
<p></p>
|
1010
|
+
</div>
|
865
1011
|
</div>
|
866
1012
|
<hr>
|
867
1013
|
<div class="refsect2">
|
868
|
-
<a name="xlib-rgb-get-
|
869
|
-
<pre class="programlisting"><span class="returnvalue">
|
870
|
-
<
|
871
|
-
Queries the
|
872
|
-
|
873
|
-
<
|
1014
|
+
<a name="xlib-rgb-get-screen"></a><h3>xlib_rgb_get_screen ()</h3>
|
1015
|
+
<pre class="programlisting"><span class="returnvalue">Screen</span> *
|
1016
|
+
xlib_rgb_get_screen (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1017
|
+
<p>Queries the screen that XlibRGB is using.</p>
|
1018
|
+
<div class="refsect3">
|
1019
|
+
<a name="id-1.2.20.7.23.5"></a><h4>Returns</h4>
|
1020
|
+
<p> An X screen.</p>
|
1021
|
+
<p></p>
|
1022
|
+
</div>
|
1023
|
+
</div>
|
1024
|
+
</div>
|
1025
|
+
<div class="refsect1">
|
1026
|
+
<a name="gdk-pixbuf-XlibRGB.other_details"></a><h2>Types and Values</h2>
|
1027
|
+
<div class="refsect2">
|
1028
|
+
<a name="XlibRgbCmap"></a><h3>struct XlibRgbCmap</h3>
|
1029
|
+
<pre class="programlisting">struct XlibRgbCmap {
|
1030
|
+
unsigned int colors[256];
|
1031
|
+
unsigned char lut[256]; /* for 8-bit modes */
|
1032
|
+
};
|
1033
|
+
</pre>
|
1034
|
+
<p>FIXME: Describe this.</p>
|
1035
|
+
<div class="refsect3">
|
1036
|
+
<a name="id-1.2.20.8.2.5"></a><h4>Members</h4>
|
1037
|
+
<div class="informaltable"><table width="100%" border="0">
|
874
1038
|
<colgroup>
|
875
|
-
<col
|
876
|
-
<col>
|
1039
|
+
<col width="300px" class="struct_members_name">
|
1040
|
+
<col class="struct_members_description">
|
1041
|
+
<col width="200px" class="struct_members_annotations">
|
877
1042
|
</colgroup>
|
878
|
-
<tbody
|
879
|
-
<
|
880
|
-
<td>
|
881
|
-
|
1043
|
+
<tbody>
|
1044
|
+
<tr>
|
1045
|
+
<td class="struct_member_name"><p>unsigned <span class="type">int</span> <em class="structfield"><code><a name="XlibRgbCmap.colors"></a>colors</code></em>[256];</p></td>
|
1046
|
+
<td class="struct_member_description"><p>FIXME.</p></td>
|
1047
|
+
<td class="struct_member_annotations"> </td>
|
1048
|
+
</tr>
|
1049
|
+
<tr>
|
1050
|
+
<td class="struct_member_name"><p>unsigned <span class="type">char</span> <em class="structfield"><code><a name="XlibRgbCmap.lut"></a>lut</code></em>[256];</p></td>
|
1051
|
+
<td class="struct_member_description"><p>FIXME.</p></td>
|
1052
|
+
<td class="struct_member_annotations"> </td>
|
1053
|
+
</tr>
|
1054
|
+
</tbody>
|
882
1055
|
</table></div>
|
883
1056
|
</div>
|
1057
|
+
</div>
|
884
1058
|
<hr>
|
885
1059
|
<div class="refsect2">
|
886
|
-
<a name="
|
887
|
-
<
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
|
1060
|
+
<a name="XlibRgbDither"></a><h3>enum XlibRgbDither</h3>
|
1061
|
+
<p>These values are used to specify which dithering method should be
|
1062
|
+
used. <symbol>XLIB_RGB_DITHER_NONE</symbol> will use no dithering
|
1063
|
+
and simply map the colors in an RGB buffer to the closest colors
|
1064
|
+
that the display can provide.
|
1065
|
+
<symbol>XLIB_RGB_DITHER_NORMAL</symbol> will provide dithering
|
1066
|
+
only on pseudocolor displays.
|
1067
|
+
<symbol>XLIB_RGB_DITHER_MAX</symbol> will provide dithering on
|
1068
|
+
pseudocolor and 16-bit truecolor or &ldquo;high color&rdquo;
|
1069
|
+
displays.</p>
|
1070
|
+
<div class="refsect3">
|
1071
|
+
<a name="id-1.2.20.8.3.4"></a><h4>Members</h4>
|
1072
|
+
<div class="informaltable"><table width="100%" border="0">
|
892
1073
|
<colgroup>
|
893
|
-
<col
|
894
|
-
<col>
|
1074
|
+
<col width="300px" class="enum_members_name">
|
1075
|
+
<col class="enum_members_description">
|
1076
|
+
<col width="200px" class="enum_members_annotations">
|
895
1077
|
</colgroup>
|
896
|
-
<tbody
|
897
|
-
<
|
898
|
-
<td
|
899
|
-
|
1078
|
+
<tbody>
|
1079
|
+
<tr>
|
1080
|
+
<td class="enum_member_name"><p><a name="XLIB-RGB-DITHER-NONE:CAPS"></a>XLIB_RGB_DITHER_NONE</p></td>
|
1081
|
+
<td class="enum_member_description">
|
1082
|
+
<p>Specifies no dithering.</p>
|
1083
|
+
</td>
|
1084
|
+
<td class="enum_member_annotations"> </td>
|
1085
|
+
</tr>
|
1086
|
+
<tr>
|
1087
|
+
<td class="enum_member_name"><p><a name="XLIB-RGB-DITHER-NORMAL:CAPS"></a>XLIB_RGB_DITHER_NORMAL</p></td>
|
1088
|
+
<td class="enum_member_description">
|
1089
|
+
<p>Specifies dithering only on pseudocolor
|
1090
|
+
displays.</p>
|
1091
|
+
</td>
|
1092
|
+
<td class="enum_member_annotations"> </td>
|
1093
|
+
</tr>
|
1094
|
+
<tr>
|
1095
|
+
<td class="enum_member_name"><p><a name="XLIB-RGB-DITHER-MAX:CAPS"></a>XLIB_RGB_DITHER_MAX</p></td>
|
1096
|
+
<td class="enum_member_description">
|
1097
|
+
<p>Specifies dithering on high color displays.</p>
|
1098
|
+
</td>
|
1099
|
+
<td class="enum_member_annotations"> </td>
|
1100
|
+
</tr>
|
1101
|
+
</tbody>
|
900
1102
|
</table></div>
|
901
1103
|
</div>
|
902
1104
|
</div>
|
1105
|
+
</div>
|
903
1106
|
<div class="refsect1">
|
904
1107
|
<a name="gdk-pixbuf-XlibRGB.see-also"></a><h2>See Also</h2>
|
905
|
-
GdkRGB
|
1108
|
+
<p>GdkRGB</p>
|
906
1109
|
</div>
|
907
1110
|
</div>
|
908
1111
|
<div class="footer">
|
909
1112
|
<hr>
|
910
|
-
Generated by GTK-Doc V1.
|
1113
|
+
Generated by GTK-Doc V1.20.1</div>
|
911
1114
|
</body>
|
912
1115
|
</html>
|