diff options
author | Federico Mena Quintero <federico@ximian.com> | 2006-01-12 20:19:06 +0000 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2006-01-12 20:19:06 +0000 |
commit | 21f89fcbf79ab51d7987e91664641db6b0855347 (patch) | |
tree | 6289e6aac69c6dece97584157ca271c795ba058d /gdk-pixbuf | |
parent | 37e804fe5a89e13bdcb91b52b3714a28fd8cf04d (diff) | |
download | gtk+-21f89fcbf79ab51d7987e91664641db6b0855347.tar.gz |
Clarify the docs ("darkened/brightened" is not "saturation").
2006-01-12 Federico Mena Quintero <federico@ximian.com>
* gdk-pixbuf-util.c (gdk_pixbuf_saturate_and_pixelate): Clarify
the docs ("darkened/brightened" is not "saturation").
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r-- | gdk-pixbuf/ChangeLog | 5 | ||||
-rw-r--r-- | 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 <federico@ximian.com> + + * 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 <jrb@redhat.com> * 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 |