diff options
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-scale.c')
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-scale.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-scale.c b/gdk-pixbuf/gdk-pixbuf-scale.c index e6b78c247..202e433ac 100644 --- a/gdk-pixbuf/gdk-pixbuf-scale.c +++ b/gdk-pixbuf/gdk-pixbuf-scale.c @@ -261,6 +261,9 @@ gdk_pixbuf_composite (const GdkPixbuf *src, * colors @color1 and @color2 and renders it onto the destination * image. * + * If the source image has no alpha channel, and @overall_alpha is 255, a fast + * path is used which omits the alpha blending and just performs the scaling. + * * See gdk_pixbuf_composite_color_simple() for a simpler variant of this * function suitable for many tasks. * @@ -414,6 +417,8 @@ gdk_pixbuf_composite_color_simple (const GdkPixbuf *src, * Rotates a pixbuf by a multiple of 90 degrees, and returns the * result in a new pixbuf. * + * If @angle is 0, a copy of @src is returned, avoiding any rotation. + * * Returns: (nullable) (transfer full): the new #GdkPixbuf, or %NULL * if not enough memory could be allocated for it. * |