From 21f89fcbf79ab51d7987e91664641db6b0855347 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 12 Jan 2006 20:19:06 +0000 Subject: [PATCH] Clarify the docs ("darkened/brightened" is not "saturation"). 2006-01-12 Federico Mena Quintero * gdk-pixbuf-util.c (gdk_pixbuf_saturate_and_pixelate): Clarify the docs ("darkened/brightened" is not "saturation"). --- gdk-pixbuf/ChangeLog | 5 +++++ gdk-pixbuf/gdk-pixbuf-util.c | 16 ++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog index 7132110f9e..5573dc4757 100644 --- a/gdk-pixbuf/ChangeLog +++ b/gdk-pixbuf/ChangeLog @@ -1,3 +1,8 @@ +2006-01-12 Federico Mena Quintero + + * gdk-pixbuf-util.c (gdk_pixbuf_saturate_and_pixelate): Clarify + the docs ("darkened/brightened" is not "saturation"). + Fri Dec 30 00:59:21 2005 Jonathan Blandford * gdk-pixbuf-io.c (gdk_pixbuf_format_get_license): minor doc edit. diff --git a/gdk-pixbuf/gdk-pixbuf-util.c b/gdk-pixbuf/gdk-pixbuf-util.c index e6fa6f4df9..c25576546c 100644 --- a/gdk-pixbuf/gdk-pixbuf-util.c +++ b/gdk-pixbuf/gdk-pixbuf-util.c @@ -159,14 +159,14 @@ gdk_pixbuf_copy_area (const GdkPixbuf *src_pixbuf, * @saturation: saturation factor * @pixelate: whether to pixelate * - * Modifies saturation and optionally pixelates @src, placing the - * result in @dest. @src and @dest may be the same pixbuf with no ill - * effects. If @saturation is 1.0 then saturation is not changed. If - * it's less than 1.0, saturation is reduced (the image is darkened); - * if greater than 1.0, saturation is increased (the image is - * brightened). If @pixelate is %TRUE, then pixels are faded in a - * checkerboard pattern to create a pixelated image. @src and @dest - * must have the same image format, size, and rowstride. + * Modifies saturation and optionally pixelates @src, placing the result in + * @dest. @src and @dest may be the same pixbuf with no ill effects. If + * @saturation is 1.0 then saturation is not changed. If it's less than 1.0, + * saturation is reduced (the image turns toward grayscale); if greater than + * 1.0, saturation is increased (the image gets more vivid colors). If @pixelate + * is %TRUE, then pixels are faded in a checkerboard pattern to create a + * pixelated image. @src and @dest must have the same image format, size, and + * rowstride. * **/ void