]> Pileus Git - ~andy/gtk/commitdiff
Fix includes. (gdk_pixbuf_get_from_drawable): Implemented the zillion
authorFederico Mena Quintero <federico@redhat.com>
Wed, 8 Dec 1999 21:17:52 +0000 (21:17 +0000)
committerArturo Espinosa <unammx@src.gnome.org>
Wed, 8 Dec 1999 21:17:52 +0000 (21:17 +0000)
1999-12-08  Federico Mena Quintero  <federico@redhat.com>

* gdk-pixbuf/gdk-pixbuf-drawable.c: Fix includes.
(gdk_pixbuf_get_from_drawable): Implemented the zillion sanity
checks and API definition.  The body needs filling in and it needs
to do the Right Thing(tm) for pixmaps plus the given colormap and
windows and their own colormaps.

* gdk-pixbuf/gdk-pixbuf.h: Added prototype for
gdk_pixbuf_get_from_drawable().  Killed gdk-pixbuf-drawable.h.

* gdk-pixbuf/Makefile.am: Re-added the gdk-pixbuf-drawable sources.

* doc/tmpl/from-drawables.sgml: Populated.

* doc/gdk-pixbuf.sgml: Added the from-drawables section.

* doc/Makefile.am (tmpl_sources): Added tmpl/from-drawables.sgml.

* doc/gdk-pixbuf-sections.txt: Added a section for getting pixbufs
from drawables.

docs/reference/gdk-pixbuf/gdk-pixbuf-decl.txt
docs/reference/gdk-pixbuf/tmpl/gnome-canvas-pixbuf.sgml

index 04c1f85c9fcb2821851b78cca3a1e438aac35917..2413a24f95abc35daf6305a8bfb9d944ad49d935 100644 (file)
@@ -1,13 +1,3 @@
-<FUNCTION>
-<NAME>gdk_pixbuf_rgb_from_drawable</NAME>
-<RETURNS>GdkPixbuf  *</RETURNS>
-GdkWindow *window, gint x, gint y, gint width, gint height
-</FUNCTION>
-<FUNCTION>
-<NAME>gdk_pixbuf_rgba_from_drawable</NAME>
-<RETURNS>GdkPixbuf  *</RETURNS>
-GdkWindow *window, gint x, gint y, gint width, gint height
-</FUNCTION>
 <USER_FUNCTION>
 <NAME>ModulePreparedNotifyFunc</NAME>
 <RETURNS>void </RETURNS>
@@ -222,6 +212,11 @@ GdkPixbuf *pixbuf,GdkDrawable *drawable, GdkGC *gc,int src_x, int src_y,int dest
 <RETURNS>void  </RETURNS>
 GdkPixbuf *pixbuf, GdkDrawable *drawable,int src_x, int src_y,int dest_x, int dest_y,int width, int height,GdkPixbufAlphaMode alpha_mode,int alpha_threshold,GdkRgbDither dither,int x_dither, int y_dither
 </FUNCTION>
+<FUNCTION>
+<NAME>gdk_pixbuf_get_from_drawable</NAME>
+<RETURNS>GdkPixbuf  *</RETURNS>
+GdkPixbuf *dest,GdkDrawable *src, GdkColormap *cmap,int src_x, int src_y,int dest_x, int dest_y,int width, int height
+</FUNCTION>
 <MACRO>
 <NAME>GNOME_TYPE_CANVAS_PIXBUF</NAME>
 #define GNOME_TYPE_CANVAS_PIXBUF            (gnome_canvas_pixbuf_get_type ())
index 4aecde2f3adcddcc500b834e1dd12087e450ad4e..9ae9baeed4278a26e1c08489aa2ec54c0d7d0903 100644 (file)
@@ -325,3 +325,4 @@ mode: sgml
 sgml-parent-document: ("../gdk-pixbuf.sgml" "book" "refsect2" "")
 End:
 -->
+