summaryrefslogtreecommitdiff
path: root/gdk/gdkrgb.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2001-10-03 18:19:48 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-10-03 18:19:48 +0000
commiteacd03aef25cb0208d13c19e6a807a974c053cff (patch)
tree7c6d0c3f3b16a7267a85f7e14787270aed73d997 /gdk/gdkrgb.c
parenta8d54496fb0a642ff3dd6c3bf4c5ee8340e33669 (diff)
downloadgtk+-eacd03aef25cb0208d13c19e6a807a974c053cff.tar.gz
Throughout: assorted docs
2001-10-02 Havoc Pennington <hp@redhat.com> Throughout: assorted docs * gdk/gdkwindow.h: deprecate gdk_window_set_hints(), it's broken, gdk_window_set_geometry_hints() should be used instead. * gdk/gdkimage.h: deprecate gdk_image_ref, gdk_image_unref, and document them * gdk/x11/gdkx.h: remove gdk_get_client_window() since it doesn't seem to exist in any .c files * gdk/x11/gdkcolor-x11.c (gdk_colormap_query_color): docs, g_return_if_fail (pixel < colormap->size).
Diffstat (limited to 'gdk/gdkrgb.c')
-rw-r--r--gdk/gdkrgb.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/gdk/gdkrgb.c b/gdk/gdkrgb.c
index 4c178b2175..d7ce391cd2 100644
--- a/gdk/gdkrgb.c
+++ b/gdk/gdkrgb.c
@@ -3342,6 +3342,24 @@ gdk_draw_rgb_32_image (GdkDrawable *drawable,
image_info->conv_32_d, NULL, 0, 0);
}
+/**
+ * gdk_draw_rgb_32_image_dithalign:
+ * @drawable: a #GdkDrawable
+ * @gc: a #GdkGC
+ * @x: X coordinate on @drawable where image should go
+ * @y: Y coordinate on @drawable where image should go
+ * @width: width of area of image to draw
+ * @height: height of area of image to draw
+ * @dith: dithering mode
+ * @buf: RGB image data
+ * @rowstride: rowstride of RGB image data
+ * @xdith: X dither offset
+ * @ydith: Y dither offset
+ *
+ * Like gdk_draw_rgb_32_image(), but allows you to specify the dither
+ * offsets. See gdk_draw_rgb_image_dithalign() for more details.
+ *
+ **/
void
gdk_draw_rgb_32_image_dithalign (GdkDrawable *drawable,
GdkGC *gc,