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
This commit is contained in:

committed by
Björn Lindqvist

parent
dfdd057390
commit
95a708a9e7
@ -52,6 +52,10 @@
|
|||||||
* Try to use gdk_pixbuf_scale_simple() first, this function is
|
* Try to use gdk_pixbuf_scale_simple() first, this function is
|
||||||
* the industrial-strength power tool you can fall back to if
|
* the industrial-strength power tool you can fall back to if
|
||||||
* gdk_pixbuf_scale_simple() isn't powerful enough.
|
* gdk_pixbuf_scale_simple() isn't powerful enough.
|
||||||
|
*
|
||||||
|
* If the source rectangle overlaps the destination rectangle on the
|
||||||
|
* same pixbuf, it will be overwritten during the scaling which
|
||||||
|
* results in rendering artifacts.
|
||||||
**/
|
**/
|
||||||
void
|
void
|
||||||
gdk_pixbuf_scale (const GdkPixbuf *src,
|
gdk_pixbuf_scale (const GdkPixbuf *src,
|
||||||
|
@ -119,6 +119,10 @@ gdk_pixbuf_add_alpha (const GdkPixbuf *pixbuf,
|
|||||||
*
|
*
|
||||||
* Copies a rectangular area from @src_pixbuf to @dest_pixbuf. Conversion of
|
* Copies a rectangular area from @src_pixbuf to @dest_pixbuf. Conversion of
|
||||||
* pixbuf formats is done automatically.
|
* 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
|
void
|
||||||
gdk_pixbuf_copy_area (const GdkPixbuf *src_pixbuf,
|
gdk_pixbuf_copy_area (const GdkPixbuf *src_pixbuf,
|
||||||
|
Reference in New Issue
Block a user