1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
5 Functions for 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 <!-- ##### STRUCT XlibRgbCmap ##### -->
28 <!-- ##### ENUM XlibRgbDither ##### -->
30 These values are used to specify which dithering method should be
31 used. <symbol>XLIB_RGB_DITHER_NONE</symbol> will use no dithering
32 and simply map the colors in an RGB buffer to the closest colors
33 that the display can provide.
34 <symbol>XLIB_RGB_DITHER_NORMAL</symbol> will provide dithering
35 only on pseudocolor displays.
36 <symbol>XLIB_RGB_DITHER_MAX</symbol> will provide dithering on
37 pseudocolor and 16-bit truecolor or “high color”
41 @XLIB_RGB_DITHER_NONE: Specifies no dithering.
42 @XLIB_RGB_DITHER_NORMAL: Specifies dithering only on pseudocolor
44 @XLIB_RGB_DITHER_MAX: Specifies dithering on high color displays.
46 <!-- ##### FUNCTION xlib_rgb_init ##### -->
55 <!-- ##### FUNCTION xlib_rgb_init_with_depth ##### -->
65 <!-- ##### FUNCTION xlib_rgb_gc_set_foreground ##### -->
74 <!-- ##### FUNCTION xlib_rgb_gc_set_background ##### -->
83 <!-- ##### FUNCTION xlib_draw_rgb_image ##### -->
99 <!-- ##### FUNCTION xlib_draw_rgb_image_dithalign ##### -->
117 <!-- ##### FUNCTION xlib_draw_rgb_32_image ##### -->
133 <!-- ##### FUNCTION xlib_draw_gray_image ##### -->
149 <!-- ##### FUNCTION xlib_rgb_cmap_new ##### -->
159 <!-- ##### FUNCTION xlib_rgb_cmap_free ##### -->
167 <!-- ##### FUNCTION xlib_draw_indexed_image ##### -->
184 <!-- ##### FUNCTION xlib_rgb_ditherable ##### -->
192 <!-- ##### FUNCTION xlib_rgb_set_verbose ##### -->
200 <!-- ##### FUNCTION xlib_rgb_set_install ##### -->
208 <!-- ##### FUNCTION xlib_rgb_set_min_colors ##### -->
216 <!-- ##### FUNCTION xlib_rgb_get_cmap ##### -->
224 <!-- ##### FUNCTION xlib_rgb_get_visual ##### -->
232 <!-- ##### FUNCTION xlib_rgb_get_visual_info ##### -->
240 <!-- ##### FUNCTION xlib_rgb_get_depth ##### -->
248 <!-- ##### FUNCTION xlib_rgb_get_display ##### -->
256 <!-- ##### FUNCTION xlib_rgb_get_screen ##### -->
264 sgml-parent-document: ("../gdk-pixbuf.sgml" "book" "refsect2" "")