1 #ifndef __GDK_PIXBUF_H__
2 #define __GDK_PIXBUF_H__
4 #include <gdk/gdktypes.h>
5 #include <gdk/gdkrgb.h>
6 #include <gdk-pixbuf/gdk-pixbuf.h>
10 #endif /* __cplusplus */
12 /* Rendering to a drawable */
14 void gdk_pixbuf_render_threshold_alpha (GdkPixbuf *pixbuf,
23 #ifndef GDK_DISABLE_DEPRECATED
24 void gdk_pixbuf_render_to_drawable (GdkPixbuf *pixbuf,
25 GdkDrawable *drawable,
36 void gdk_pixbuf_render_to_drawable_alpha (GdkPixbuf *pixbuf,
37 GdkDrawable *drawable,
44 GdkPixbufAlphaMode alpha_mode,
49 #endif /* GDK_DISABLE_DEPRECATED */
50 void gdk_pixbuf_render_pixmap_and_mask_for_colormap (GdkPixbuf *pixbuf,
51 GdkColormap *colormap,
52 GdkPixmap **pixmap_return,
53 GdkBitmap **mask_return,
55 #ifndef GDK_MULTIHEAD_SAFE
56 void gdk_pixbuf_render_pixmap_and_mask (GdkPixbuf *pixbuf,
57 GdkPixmap **pixmap_return,
58 GdkBitmap **mask_return,
63 /* Fetching a region from a drawable */
64 GdkPixbuf *gdk_pixbuf_get_from_drawable (GdkPixbuf *dest,
74 GdkPixbuf *gdk_pixbuf_get_from_image (GdkPixbuf *dest,
84 void gdk_pixbuf_set_as_cairo_source (GdkPixbuf *pixbuf,
89 #endif /* __cplusplus */
91 #endif /* __GDK_PIXBUF_H__ */