gdk_pixbuf2 2.2.4-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README +29 -0
- data/Rakefile +34 -0
- data/ext/gdk_pixbuf2/depend +11 -0
- data/ext/gdk_pixbuf2/extconf.rb +66 -0
- data/ext/gdk_pixbuf2/gdk_pixbuf2.def +2 -0
- data/ext/gdk_pixbuf2/rbgdk-pixbuf-format.c +179 -0
- data/ext/gdk_pixbuf2/rbgdk-pixbuf-loader.c +164 -0
- data/ext/gdk_pixbuf2/rbgdk-pixbuf.c +737 -0
- data/ext/gdk_pixbuf2/rbgdk-pixbuf.h +41 -0
- data/ext/gdk_pixbuf2/rbgdk-pixbuf2conversions.h +42 -0
- data/ext/gdk_pixbuf2/rbgdk-pixbuf2private.h +35 -0
- data/ext/gdk_pixbuf2/rbgdk-pixbufanimation.c +93 -0
- data/ext/gdk_pixbuf2/rbgdk-pixbufanimationiter.c +71 -0
- data/ext/gdk_pixbuf2/rbgdk-pixbufsimpleanim.c +53 -0
- data/ext/gdk_pixbuf2/rbgdk-pixdata.c +213 -0
- data/extconf.rb +49 -0
- data/lib/2.0/gdk_pixbuf2.so +0 -0
- data/lib/2.1/gdk_pixbuf2.so +0 -0
- data/lib/2.2/gdk_pixbuf2.so +0 -0
- data/lib/gdk_pixbuf2.rb +57 -0
- data/sample/anim.rb +38 -0
- data/sample/composite.rb +45 -0
- data/sample/flip.rb +47 -0
- data/sample/floppybuddy.gif +0 -0
- data/sample/format.rb +39 -0
- data/sample/gnome-foot.png +0 -0
- data/sample/inline.rb +37 -0
- data/sample/loader.rb +20 -0
- data/sample/pixdata.rb +39 -0
- data/sample/rotate.rb +45 -0
- data/sample/save.rb +25 -0
- data/sample/scale.rb +45 -0
- data/sample/simpleanim.rb +34 -0
- data/sample/utils.rb +44 -0
- data/sample/xpm.rb +40 -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 +204 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +464 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h +33 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +120 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h +343 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h +108 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-marshal.h +36 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h +64 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h +158 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h +43 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h +168 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache +139 -0
- 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/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.la +41 -0
- data/vendor/local/lib/gdk_pixbuf-2.0.def +128 -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 +41 -0
- data/vendor/local/lib/pkgconfig/gdk-pixbuf-2.0.pc +19 -0
- data/vendor/local/share/gir-1.0/GdkPixbuf-2.0.gir +3443 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +827 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/annotation-glossary.html +65 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-12.html +35 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-14.html +46 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-2.html +108 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-26.html +50 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-28.html +47 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-30.html +35 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-4.html +72 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-6.html +65 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-8.html +39 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-deprecated.html +53 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-full.html +787 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/composite.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html +1068 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +794 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +864 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +491 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +639 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +1298 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +208 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Scaling.html +914 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +898 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Utilities.html +381 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Versioning.html +184 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-X-Drawables-to-Pixbufs.html +197 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Xlib-Rendering.html +438 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-XlibRGB.html +1115 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-csource.html +167 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-Xlib-initialization.html +159 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-from-drawables.html +45 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-rendering.html +44 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-query-loaders.html +85 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf.devhelp2 +226 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.html +150 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.sgml +322 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/license.html +59 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn01.html +101 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn02.html +50 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/up.png +0 -0
- data/vendor/local/share/license/gdk-pixbuf/AUTHORS +65 -0
- data/vendor/local/share/license/gdk-pixbuf/COPYING +482 -0
- data/vendor/local/share/locale/af/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ang/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/br/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/crh/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/csb/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/io/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/li/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/my/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nso/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/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 +135 -0
- data/vendor/local/share/man/man1/gdk-pixbuf-query-loaders.1 +73 -0
- metadata +273 -0
@@ -0,0 +1,1115 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>GDK-PixBuf Reference Manual: XlibRGB</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
|
+
<link rel="home" href="index.html" title="GDK-PixBuf Reference Manual">
|
8
|
+
<link rel="up" href="rn01.html" title="API Reference">
|
9
|
+
<link rel="prev" href="gdk-pixbuf-X-Drawables-to-Pixbufs.html" title="X Drawables to Pixbufs">
|
10
|
+
<link rel="next" href="rn02.html" title="Tools Reference">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.20.1 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
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="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>
|
19
|
+
</td>
|
20
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
21
|
+
<td><a accesskey="u" href="rn01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
22
|
+
<td><a accesskey="p" href="gdk-pixbuf-X-Drawables-to-Pixbufs.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
23
|
+
<td><a accesskey="n" href="rn02.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
24
|
+
</tr></table>
|
25
|
+
<div class="refentry">
|
26
|
+
<a name="gdk-pixbuf-XlibRGB"></a><div class="titlepage"></div>
|
27
|
+
<div class="refnamediv"><table width="100%"><tr>
|
28
|
+
<td valign="top">
|
29
|
+
<h2><span class="refentrytitle"><a name="gdk-pixbuf-XlibRGB.top_of_page"></a>XlibRGB</span></h2>
|
30
|
+
<p>XlibRGB — Rendering RGB buffers to X drawables.</p>
|
31
|
+
</td>
|
32
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
33
|
+
</tr></table></div>
|
34
|
+
<div class="refsect1">
|
35
|
+
<a name="gdk-pixbuf-XlibRGB.functions"></a><h2>Functions</h2>
|
36
|
+
<div class="informaltable"><table width="100%" border="0">
|
37
|
+
<colgroup>
|
38
|
+
<col width="150px" class="functions_return">
|
39
|
+
<col class="functions_name">
|
40
|
+
</colgroup>
|
41
|
+
<tbody>
|
42
|
+
<tr>
|
43
|
+
<td class="function_type">
|
44
|
+
<span class="returnvalue">void</span>
|
45
|
+
</td>
|
46
|
+
<td class="function_name">
|
47
|
+
<a class="link" href="gdk-pixbuf-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>
|
176
|
+
</tr>
|
177
|
+
<tr>
|
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>
|
216
|
+
</tr>
|
217
|
+
</tbody>
|
218
|
+
</table></div>
|
219
|
+
</div>
|
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">
|
223
|
+
<colgroup>
|
224
|
+
<col width="150px" class="name">
|
225
|
+
<col class="description">
|
226
|
+
</colgroup>
|
227
|
+
<tbody>
|
228
|
+
<tr>
|
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>
|
231
|
+
</tr>
|
232
|
+
<tr>
|
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>
|
235
|
+
</tr>
|
236
|
+
</tbody>
|
237
|
+
</table></div>
|
238
|
+
</div>
|
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>
|
253
|
+
<div class="refsect2">
|
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
|
259
|
+
function XlibRGB will automatically pick the best visual available on your
|
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">
|
265
|
+
<colgroup>
|
266
|
+
<col width="150px" class="parameters_name">
|
267
|
+
<col class="parameters_description">
|
268
|
+
<col width="200px" class="parameters_annotations">
|
269
|
+
</colgroup>
|
270
|
+
<tbody>
|
271
|
+
<tr>
|
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>
|
275
|
+
</tr>
|
276
|
+
<tr>
|
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>
|
280
|
+
</tr>
|
281
|
+
</tbody>
|
282
|
+
</table></div>
|
283
|
+
</div>
|
284
|
+
</div>
|
285
|
+
<hr>
|
286
|
+
<div class="refsect2">
|
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,
|
293
|
+
instead of automatically picking the best depth in the display. This
|
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">
|
299
|
+
<colgroup>
|
300
|
+
<col width="150px" class="parameters_name">
|
301
|
+
<col class="parameters_description">
|
302
|
+
<col width="200px" class="parameters_annotations">
|
303
|
+
</colgroup>
|
304
|
+
<tbody>
|
305
|
+
<tr>
|
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>
|
309
|
+
</tr>
|
310
|
+
<tr>
|
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>
|
314
|
+
</tr>
|
315
|
+
<tr>
|
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>
|
321
|
+
</tr>
|
322
|
+
</tbody>
|
323
|
+
</table></div>
|
324
|
+
</div>
|
325
|
+
</div>
|
326
|
+
<hr>
|
327
|
+
<div class="refsect2">
|
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="http://library.gnome.org/devel/glib/unstable/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">
|
336
|
+
<colgroup>
|
337
|
+
<col width="150px" class="parameters_name">
|
338
|
+
<col class="parameters_description">
|
339
|
+
<col width="200px" class="parameters_annotations">
|
340
|
+
</colgroup>
|
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>
|
346
|
+
</table></div>
|
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>
|
355
|
+
<hr>
|
356
|
+
<div class="refsect2">
|
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="http://library.gnome.org/devel/glib/unstable/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">
|
367
|
+
<colgroup>
|
368
|
+
<col width="150px" class="parameters_name">
|
369
|
+
<col class="parameters_description">
|
370
|
+
<col width="200px" class="parameters_annotations">
|
371
|
+
</colgroup>
|
372
|
+
<tbody>
|
373
|
+
<tr>
|
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>
|
377
|
+
</tr>
|
378
|
+
<tr>
|
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>
|
382
|
+
</tr>
|
383
|
+
</tbody>
|
384
|
+
</table></div>
|
385
|
+
</div>
|
386
|
+
</div>
|
387
|
+
<hr>
|
388
|
+
<div class="refsect2">
|
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="http://library.gnome.org/devel/glib/unstable/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">
|
399
|
+
<colgroup>
|
400
|
+
<col width="150px" class="parameters_name">
|
401
|
+
<col class="parameters_description">
|
402
|
+
<col width="200px" class="parameters_annotations">
|
403
|
+
</colgroup>
|
404
|
+
<tbody>
|
405
|
+
<tr>
|
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>
|
409
|
+
</tr>
|
410
|
+
<tr>
|
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>
|
414
|
+
</tr>
|
415
|
+
</tbody>
|
416
|
+
</table></div>
|
417
|
+
</div>
|
418
|
+
</div>
|
419
|
+
<hr>
|
420
|
+
<div class="refsect2">
|
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
|
433
|
+
with 8 bits per channel. An image will thus look like an RGBRGBRGBRGB
|
434
|
+
sequence of 8-bit values. This function does not let you specify dither
|
435
|
+
offsets; applications that need to render partial regions of a buffer to
|
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">
|
440
|
+
<colgroup>
|
441
|
+
<col width="150px" class="parameters_name">
|
442
|
+
<col class="parameters_description">
|
443
|
+
<col width="200px" class="parameters_annotations">
|
444
|
+
</colgroup>
|
445
|
+
<tbody>
|
446
|
+
<tr>
|
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>
|
450
|
+
</tr>
|
451
|
+
<tr>
|
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>
|
455
|
+
</tr>
|
456
|
+
<tr>
|
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>
|
460
|
+
</tr>
|
461
|
+
<tr>
|
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>
|
465
|
+
</tr>
|
466
|
+
<tr>
|
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>
|
470
|
+
</tr>
|
471
|
+
<tr>
|
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>
|
475
|
+
</tr>
|
476
|
+
<tr>
|
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>
|
480
|
+
</tr>
|
481
|
+
<tr>
|
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>
|
486
|
+
</tr>
|
487
|
+
<tr>
|
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>
|
491
|
+
</tr>
|
492
|
+
</tbody>
|
493
|
+
</table></div>
|
494
|
+
</div>
|
495
|
+
</div>
|
496
|
+
<hr>
|
497
|
+
<div class="refsect2">
|
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
|
512
|
+
with 8 bits per channel. An image will thus look like an RGBRGBRGBRGB
|
513
|
+
sequence of 8-bit values. This function lets you specify a pair of dither
|
514
|
+
offsets. It should be used when you need to render regions of an RGB buffer
|
515
|
+
separately to form the final image; the dither offsets let you align the
|
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">
|
520
|
+
<colgroup>
|
521
|
+
<col width="150px" class="parameters_name">
|
522
|
+
<col class="parameters_description">
|
523
|
+
<col width="200px" class="parameters_annotations">
|
524
|
+
</colgroup>
|
525
|
+
<tbody>
|
526
|
+
<tr>
|
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>
|
530
|
+
</tr>
|
531
|
+
<tr>
|
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>
|
535
|
+
</tr>
|
536
|
+
<tr>
|
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>
|
540
|
+
</tr>
|
541
|
+
<tr>
|
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>
|
545
|
+
</tr>
|
546
|
+
<tr>
|
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>
|
550
|
+
</tr>
|
551
|
+
<tr>
|
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>
|
555
|
+
</tr>
|
556
|
+
<tr>
|
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>
|
560
|
+
</tr>
|
561
|
+
<tr>
|
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>
|
566
|
+
</tr>
|
567
|
+
<tr>
|
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>
|
571
|
+
</tr>
|
572
|
+
<tr>
|
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>
|
576
|
+
</tr>
|
577
|
+
<tr>
|
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>
|
581
|
+
</tr>
|
582
|
+
</tbody>
|
583
|
+
</table></div>
|
584
|
+
</div>
|
585
|
+
</div>
|
586
|
+
<hr>
|
587
|
+
<div class="refsect2">
|
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
|
600
|
+
32-bit RGB buffers with pixels specified as 0xRRGGBB00. The
|
601
|
+
least-significant 8 bits are actually discarded. This function can lead to
|
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">
|
607
|
+
<colgroup>
|
608
|
+
<col width="150px" class="parameters_name">
|
609
|
+
<col class="parameters_description">
|
610
|
+
<col width="200px" class="parameters_annotations">
|
611
|
+
</colgroup>
|
612
|
+
<tbody>
|
613
|
+
<tr>
|
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>
|
617
|
+
</tr>
|
618
|
+
<tr>
|
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>
|
622
|
+
</tr>
|
623
|
+
<tr>
|
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>
|
627
|
+
</tr>
|
628
|
+
<tr>
|
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>
|
632
|
+
</tr>
|
633
|
+
<tr>
|
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>
|
637
|
+
</tr>
|
638
|
+
<tr>
|
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>
|
642
|
+
</tr>
|
643
|
+
<tr>
|
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>
|
647
|
+
</tr>
|
648
|
+
<tr>
|
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>
|
653
|
+
</tr>
|
654
|
+
<tr>
|
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>
|
658
|
+
</tr>
|
659
|
+
</tbody>
|
660
|
+
</table></div>
|
661
|
+
</div>
|
662
|
+
</div>
|
663
|
+
<hr>
|
664
|
+
<div class="refsect2">
|
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
|
677
|
+
intensity values. An image will thus look as a GGGGGG sequence of 8-bit
|
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">
|
682
|
+
<colgroup>
|
683
|
+
<col width="150px" class="parameters_name">
|
684
|
+
<col class="parameters_description">
|
685
|
+
<col width="200px" class="parameters_annotations">
|
686
|
+
</colgroup>
|
687
|
+
<tbody>
|
688
|
+
<tr>
|
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>
|
692
|
+
</tr>
|
693
|
+
<tr>
|
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>
|
697
|
+
</tr>
|
698
|
+
<tr>
|
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>
|
702
|
+
</tr>
|
703
|
+
<tr>
|
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>
|
707
|
+
</tr>
|
708
|
+
<tr>
|
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>
|
712
|
+
</tr>
|
713
|
+
<tr>
|
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>
|
717
|
+
</tr>
|
718
|
+
<tr>
|
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>
|
722
|
+
</tr>
|
723
|
+
<tr>
|
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>
|
728
|
+
</tr>
|
729
|
+
<tr>
|
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>
|
733
|
+
</tr>
|
734
|
+
</tbody>
|
735
|
+
</table></div>
|
736
|
+
</div>
|
737
|
+
</div>
|
738
|
+
<hr>
|
739
|
+
<div class="refsect2">
|
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="http://library.gnome.org/devel/glib/unstable/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">
|
748
|
+
<colgroup>
|
749
|
+
<col width="150px" class="parameters_name">
|
750
|
+
<col class="parameters_description">
|
751
|
+
<col width="200px" class="parameters_annotations">
|
752
|
+
</colgroup>
|
753
|
+
<tbody>
|
754
|
+
<tr>
|
755
|
+
<td class="parameter_name"><p>colors</p></td>
|
756
|
+
<td class="parameter_description"><p>FIXME</p></td>
|
757
|
+
<td class="parameter_annotations"> </td>
|
758
|
+
</tr>
|
759
|
+
<tr>
|
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>
|
763
|
+
</tr>
|
764
|
+
</tbody>
|
765
|
+
</table></div>
|
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>
|
773
|
+
<hr>
|
774
|
+
<div class="refsect2">
|
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">
|
782
|
+
<colgroup>
|
783
|
+
<col width="150px" class="parameters_name">
|
784
|
+
<col class="parameters_description">
|
785
|
+
<col width="200px" class="parameters_annotations">
|
786
|
+
</colgroup>
|
787
|
+
<tbody><tr>
|
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>
|
791
|
+
</tr></tbody>
|
792
|
+
</table></div>
|
793
|
+
</div>
|
794
|
+
</div>
|
795
|
+
<hr>
|
796
|
+
<div class="refsect2">
|
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">
|
813
|
+
<colgroup>
|
814
|
+
<col width="150px" class="parameters_name">
|
815
|
+
<col class="parameters_description">
|
816
|
+
<col width="200px" class="parameters_annotations">
|
817
|
+
</colgroup>
|
818
|
+
<tbody>
|
819
|
+
<tr>
|
820
|
+
<td class="parameter_name"><p>drawable</p></td>
|
821
|
+
<td class="parameter_description"><p>FIXME</p></td>
|
822
|
+
<td class="parameter_annotations"> </td>
|
823
|
+
</tr>
|
824
|
+
<tr>
|
825
|
+
<td class="parameter_name"><p>gc</p></td>
|
826
|
+
<td class="parameter_description"><p>FIXME</p></td>
|
827
|
+
<td class="parameter_annotations"> </td>
|
828
|
+
</tr>
|
829
|
+
<tr>
|
830
|
+
<td class="parameter_name"><p>x</p></td>
|
831
|
+
<td class="parameter_description"><p>FIXME</p></td>
|
832
|
+
<td class="parameter_annotations"> </td>
|
833
|
+
</tr>
|
834
|
+
<tr>
|
835
|
+
<td class="parameter_name"><p>y</p></td>
|
836
|
+
<td class="parameter_description"><p>FIXME</p></td>
|
837
|
+
<td class="parameter_annotations"> </td>
|
838
|
+
</tr>
|
839
|
+
<tr>
|
840
|
+
<td class="parameter_name"><p>width</p></td>
|
841
|
+
<td class="parameter_description"><p>FIXME</p></td>
|
842
|
+
<td class="parameter_annotations"> </td>
|
843
|
+
</tr>
|
844
|
+
<tr>
|
845
|
+
<td class="parameter_name"><p>height</p></td>
|
846
|
+
<td class="parameter_description"><p>FIXME</p></td>
|
847
|
+
<td class="parameter_annotations"> </td>
|
848
|
+
</tr>
|
849
|
+
<tr>
|
850
|
+
<td class="parameter_name"><p>dith</p></td>
|
851
|
+
<td class="parameter_description"><p>FIXME</p></td>
|
852
|
+
<td class="parameter_annotations"> </td>
|
853
|
+
</tr>
|
854
|
+
<tr>
|
855
|
+
<td class="parameter_name"><p>buf</p></td>
|
856
|
+
<td class="parameter_description"><p>FIXME</p></td>
|
857
|
+
<td class="parameter_annotations"> </td>
|
858
|
+
</tr>
|
859
|
+
<tr>
|
860
|
+
<td class="parameter_name"><p>rowstride</p></td>
|
861
|
+
<td class="parameter_description"><p>FIXME</p></td>
|
862
|
+
<td class="parameter_annotations"> </td>
|
863
|
+
</tr>
|
864
|
+
<tr>
|
865
|
+
<td class="parameter_name"><p>cmap</p></td>
|
866
|
+
<td class="parameter_description"><p>FIXME</p></td>
|
867
|
+
<td class="parameter_annotations"> </td>
|
868
|
+
</tr>
|
869
|
+
</tbody>
|
870
|
+
</table></div>
|
871
|
+
</div>
|
872
|
+
</div>
|
873
|
+
<hr>
|
874
|
+
<div class="refsect2">
|
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>
|
885
|
+
</div>
|
886
|
+
<hr>
|
887
|
+
<div class="refsect2">
|
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">
|
895
|
+
<colgroup>
|
896
|
+
<col width="150px" class="parameters_name">
|
897
|
+
<col class="parameters_description">
|
898
|
+
<col width="200px" class="parameters_annotations">
|
899
|
+
</colgroup>
|
900
|
+
<tbody><tr>
|
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>
|
904
|
+
</tr></tbody>
|
905
|
+
</table></div>
|
906
|
+
</div>
|
907
|
+
</div>
|
908
|
+
<hr>
|
909
|
+
<div class="refsect2">
|
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">
|
917
|
+
<colgroup>
|
918
|
+
<col width="150px" class="parameters_name">
|
919
|
+
<col class="parameters_description">
|
920
|
+
<col width="200px" class="parameters_annotations">
|
921
|
+
</colgroup>
|
922
|
+
<tbody><tr>
|
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>
|
926
|
+
</tr></tbody>
|
927
|
+
</table></div>
|
928
|
+
</div>
|
929
|
+
</div>
|
930
|
+
<hr>
|
931
|
+
<div class="refsect2">
|
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">
|
939
|
+
<colgroup>
|
940
|
+
<col width="150px" class="parameters_name">
|
941
|
+
<col class="parameters_description">
|
942
|
+
<col width="200px" class="parameters_annotations">
|
943
|
+
</colgroup>
|
944
|
+
<tbody><tr>
|
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>
|
948
|
+
</tr></tbody>
|
949
|
+
</table></div>
|
950
|
+
</div>
|
951
|
+
</div>
|
952
|
+
<hr>
|
953
|
+
<div class="refsect2">
|
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>
|
963
|
+
</div>
|
964
|
+
<hr>
|
965
|
+
<div class="refsect2">
|
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>
|
975
|
+
</div>
|
976
|
+
<hr>
|
977
|
+
<div class="refsect2">
|
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>
|
987
|
+
</div>
|
988
|
+
<hr>
|
989
|
+
<div class="refsect2">
|
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>
|
1011
|
+
</div>
|
1012
|
+
<hr>
|
1013
|
+
<div class="refsect2">
|
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">
|
1038
|
+
<colgroup>
|
1039
|
+
<col width="300px" class="struct_members_name">
|
1040
|
+
<col class="struct_members_description">
|
1041
|
+
<col width="200px" class="struct_members_annotations">
|
1042
|
+
</colgroup>
|
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>
|
1055
|
+
</table></div>
|
1056
|
+
</div>
|
1057
|
+
</div>
|
1058
|
+
<hr>
|
1059
|
+
<div class="refsect2">
|
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 “high color”
|
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">
|
1073
|
+
<colgroup>
|
1074
|
+
<col width="300px" class="enum_members_name">
|
1075
|
+
<col class="enum_members_description">
|
1076
|
+
<col width="200px" class="enum_members_annotations">
|
1077
|
+
</colgroup>
|
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>
|
1102
|
+
</table></div>
|
1103
|
+
</div>
|
1104
|
+
</div>
|
1105
|
+
</div>
|
1106
|
+
<div class="refsect1">
|
1107
|
+
<a name="gdk-pixbuf-XlibRGB.see-also"></a><h2>See Also</h2>
|
1108
|
+
<p>GdkRGB</p>
|
1109
|
+
</div>
|
1110
|
+
</div>
|
1111
|
+
<div class="footer">
|
1112
|
+
<hr>
|
1113
|
+
Generated by GTK-Doc V1.20.1</div>
|
1114
|
+
</body>
|
1115
|
+
</html>
|