1
<!-- ##### SECTION Title ##### -->
4
<!-- ##### SECTION Short_Description ##### -->
5
Rendering RGB buffers to X drawables.
7
<!-- ##### SECTION Long_Description ##### -->
9
The XlibRGB set of functions is a port of the #GdkRGB library to
10
use plain Xlib and X drawables. You can use these functions to
11
render RGB buffers into drawables very quickly with high-quality
15
<!-- ##### SECTION See_Also ##### -->
20
<!-- ##### SECTION Stability_Level ##### -->
23
<!-- ##### SECTION Image ##### -->
26
<!-- ##### STRUCT XlibRgbCmap ##### -->
34
<!-- ##### ENUM XlibRgbDither ##### -->
36
These values are used to specify which dithering method should be
37
used. <symbol>XLIB_RGB_DITHER_NONE</symbol> will use no dithering
38
and simply map the colors in an RGB buffer to the closest colors
39
that the display can provide.
40
<symbol>XLIB_RGB_DITHER_NORMAL</symbol> will provide dithering
41
only on pseudocolor displays.
42
<symbol>XLIB_RGB_DITHER_MAX</symbol> will provide dithering on
43
pseudocolor and 16-bit truecolor or “high color”
47
@XLIB_RGB_DITHER_NONE: Specifies no dithering.
48
@XLIB_RGB_DITHER_NORMAL: Specifies dithering only on pseudocolor
50
@XLIB_RGB_DITHER_MAX: Specifies dithering on high color displays.
52
<!-- ##### FUNCTION xlib_rgb_init ##### -->
61
<!-- ##### FUNCTION xlib_rgb_init_with_depth ##### -->
71
<!-- ##### FUNCTION xlib_rgb_xpixel_from_rgb ##### -->
80
<!-- ##### FUNCTION xlib_rgb_gc_set_foreground ##### -->
89
<!-- ##### FUNCTION xlib_rgb_gc_set_background ##### -->
98
<!-- ##### FUNCTION xlib_draw_rgb_image ##### -->
114
<!-- ##### FUNCTION xlib_draw_rgb_image_dithalign ##### -->
132
<!-- ##### FUNCTION xlib_draw_rgb_32_image ##### -->
148
<!-- ##### FUNCTION xlib_draw_gray_image ##### -->
164
<!-- ##### FUNCTION xlib_rgb_cmap_new ##### -->
174
<!-- ##### FUNCTION xlib_rgb_cmap_free ##### -->
182
<!-- ##### FUNCTION xlib_draw_indexed_image ##### -->
199
<!-- ##### FUNCTION xlib_rgb_ditherable ##### -->
208
<!-- ##### FUNCTION xlib_rgb_set_verbose ##### -->
216
<!-- ##### FUNCTION xlib_rgb_set_install ##### -->
224
<!-- ##### FUNCTION xlib_rgb_set_min_colors ##### -->
232
<!-- ##### FUNCTION xlib_rgb_get_cmap ##### -->
241
<!-- ##### FUNCTION xlib_rgb_get_visual ##### -->
250
<!-- ##### FUNCTION xlib_rgb_get_visual_info ##### -->
259
<!-- ##### FUNCTION xlib_rgb_get_depth ##### -->
268
<!-- ##### FUNCTION xlib_rgb_get_display ##### -->
277
<!-- ##### FUNCTION xlib_rgb_get_screen ##### -->
286
sgml-parent-document: ("../gdk-pixbuf.sgml" "book" "refsect2" "")