Add a nice figure to the docs.

This commit is contained in:
Matthias Clasen 2004-06-19 05:45:55 +00:00
parent 92bed8d6d7
commit 6c21764997
9 changed files with 38 additions and 5 deletions

View File

@ -1,3 +1,15 @@
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

View File

@ -57,7 +57,7 @@ content_files = \
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=
@ -65,7 +65,12 @@ 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
########################################################################

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

View File

@ -1,3 +1,8 @@
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

View File

@ -97,9 +97,20 @@ gdk_pixbuf_scale (const GdkPixbuf *src,
* @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,