+Sat Jun 19 01:42:20 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gdk-pixbuf/composite.png: Add a figure which tries
+ to expain pixbuf compositing.
+
+ * gdk-pixbuf/composite.dia:
+ * gdk-pixbuf/apple-red-1a.png:
+ * gdk-pixbuf/apple-red-2c.png:
+ * gdk-pixbuf/gnome-gmush-1.png: Sources for composite.png.
+
+ * gdk-pixbuf/Makefile.am (HTML_IMAGES): Add composite.png.
+
Fri Jun 18 21:20:42 2004 Matthias Clasen <maclas@gmx.de>
* gtk/tmpl/gtktreemodelfilter.sgml: Fix the docs for
gdk-pixbuf-query-loaders.xml
# Images to copy into HTML directory
-HTML_IMAGES =
+HTML_IMAGES = composite.png
# Extra options to supply to gtkdoc-fixref
FIXXREF_OPTIONS=
include $(top_srcdir)/gtk-doc.make
# Other files to distribute
-EXTRA_DIST += version.xml.in
+EXTRA_DIST += version.xml.in \
+ composite.png \
+ composite.dia \
+ apple-red-1a.png \
+ apple-red-2c.png \
+ gnome-gmush-1.png
########################################################################
+Sat Jun 19 01:44:12 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gdk-pixbuf-scale.c (gdk_pixbuf_composite): Add a figure which
+ explains pixbuf compositing.
+
2004-06-16 Matthias Clasen <mclasen@redhat.com>
* io-tiff.c: Make the tiff loader work with both
* @overall_alpha: overall alpha for source image (0..255)
*
* Creates a transformation of the source image @src by scaling by
- * @scale_x and @scale_y then translating by @offset_x and @offset_y,
- * then composites the rectangle (@dest_x, @dest_y, @dest_width,
- * @dest_height) of the resulting image onto the destination image.
+ * @scale_x and @scale_y then translating by @offset_x and @offset_y.
+ * This gives an image in the coordinates of the destination pixbuf.
+ * The rectangle (@dest_x, @dest_y, @dest_width, @dest_height)
+ * is then composited onto the corresponding rectangle of the
+ * original destination image.
+ *
+ * When the destination rectangle contains parts not in the source
+ * image, the data at the edges of the source image is replicated
+ * to infinity.
+ *
+ * <figure id="pixbuf-composite-diagram">
+ * <title>Compositing of pixbufs</title>
+ * <graphic fileref="composite.png" format="PNG"/>
+ * </figure>
**/
void
gdk_pixbuf_composite (const GdkPixbuf *src,