summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/gdk-pixbuf-util.c
diff options
context:
space:
mode:
authorBjörn Lindqvist <bjourne@gmail.com>2007-08-16 22:24:59 +0000
committerBjörn Lindqvist <bjornl@src.gnome.org>2007-08-16 22:24:59 +0000
commit3ae8570936c18718f5a8d570352715756f2f4895 (patch)
tree63b0cae0583ac475f0645f1a2022ecc00be2f6f2 /gdk-pixbuf/gdk-pixbuf-util.c
parent72b0eb528a4965e82ccaa951233f058fb9a0a2d4 (diff)
downloadgdk-pixbuf-3ae8570936c18718f5a8d570352715756f2f4895.tar.gz
Note in docstrings that these two functions does not preserve the source
2007-08-17 Björn Lindqvist <bjourne@gmail.com> * gdk-pixbuf/gdk-pixbuf-scale.c (gdk_pixbuf_scale): * gdk-pixbuf/gdk-pixbuf-util.c (gdk_pixbuf_copy_area): Note in docstrings that these two functions does not preserve the source rectangle when copying. (#464840). svn path=/trunk/; revision=18636
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-util.c')
-rw-r--r--gdk-pixbuf/gdk-pixbuf-util.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-util.c b/gdk-pixbuf/gdk-pixbuf-util.c
index aeee33dbe..1b0de51f3 100644
--- a/gdk-pixbuf/gdk-pixbuf-util.c
+++ b/gdk-pixbuf/gdk-pixbuf-util.c
@@ -119,6 +119,10 @@ gdk_pixbuf_add_alpha (const GdkPixbuf *pixbuf,
*
* Copies a rectangular area from @src_pixbuf to @dest_pixbuf. Conversion of
* pixbuf formats is done automatically.
+ *
+ * If the source rectangle overlaps the destination rectangle on the
+ * same pixbuf, it will be overwritten during the copy operation.
+ * Therefore, you can not use this function to scroll a pixbuf.
**/
void
gdk_pixbuf_copy_area (const GdkPixbuf *src_pixbuf,