1 #ifndef __GDK_PIXBUF_H__
2 #define __GDK_PIXBUF_H__
5 #include <gdk/gdktypes.h>
6 #include <gdk/gdkrgb.h>
7 #include <gdk-pixbuf/gdk-pixbuf.h>
11 /* Rendering to a drawable */
13 void gdk_pixbuf_render_threshold_alpha (GdkPixbuf *pixbuf,
22 #ifndef GDK_DISABLE_DEPRECATED
23 void gdk_pixbuf_render_to_drawable (GdkPixbuf *pixbuf,
24 GdkDrawable *drawable,
35 void gdk_pixbuf_render_to_drawable_alpha (GdkPixbuf *pixbuf,
36 GdkDrawable *drawable,
43 GdkPixbufAlphaMode alpha_mode,
48 #endif /* GDK_DISABLE_DEPRECATED */
49 void gdk_pixbuf_render_pixmap_and_mask_for_colormap (GdkPixbuf *pixbuf,
50 GdkColormap *colormap,
51 GdkPixmap **pixmap_return,
52 GdkBitmap **mask_return,
54 #ifndef GDK_MULTIHEAD_SAFE
55 void gdk_pixbuf_render_pixmap_and_mask (GdkPixbuf *pixbuf,
56 GdkPixmap **pixmap_return,
57 GdkBitmap **mask_return,
62 /* Fetching a region from a drawable */
63 GdkPixbuf *gdk_pixbuf_get_from_drawable (GdkPixbuf *dest,
73 GdkPixbuf *gdk_pixbuf_get_from_image (GdkPixbuf *dest,
83 void gdk_pixbuf_set_as_cairo_source (GdkPixbuf *pixbuf,
90 #endif /* __GDK_PIXBUF_H__ */