This patch implements three new functions: void gdk_draw_rectangles (GdkDrawable *drawable, GdkGC *gc, gint filled, GdkRectangle *rectangles, gint nrectangles) In the x11 implementation, this is a wrapper for XDrawRectangles and XFillRectangles. In the other implementations, it simply calls gdk_draw_rectangle multiple times. void gdk_region_get_rectangles (GdkRegion *region, GdkRectangle **rectangles, gint *nrectangles) Returns a list of nonoverlaping rectangles which cover the region. (equivalent to the region's private data, should this be a private function?) void gdk_draw_region (GdkDrawable *drawable, GdkGC *gc, GdkRegion *region) This one just calls the previous two functions. This patch, together with gtk-rsteinke-001205-1.patch, replaces gtk-rsteinke-001130-0.patch. Ron Steinke