diff options
author | Benjamin Otte <otte@redhat.com> | 2010-08-27 12:14:36 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-09-26 15:11:29 +0200 |
commit | 4a9c32dc36757d04d628f9193e95f09186ee3b65 (patch) | |
tree | 48b0c250af9617ba9dcef3bbd1cb6f8c7af54735 /gdk/gdkpixbuf.h | |
parent | 64537102664da8c5b1a7c994bfe14ec2a8cf6144 (diff) | |
download | gtk+-4a9c32dc36757d04d628f9193e95f09186ee3b65.tar.gz |
API: Remove APIs to generate pixmaps from pixbufs
The 3 functions in question were:
- gdk_pixbuf_render_threshold_alpha()
- gdk_pixbuf_render_pixmap_and_mask()
- gdk_pixbuf_render_pixmap_and_mask_for_colormap()
All of them can be replaced using Cairo if they have to. The
functionality is only needed to talk to old X interfaces and normal apps
do fine without them.
Diffstat (limited to 'gdk/gdkpixbuf.h')
-rw-r--r-- | gdk/gdkpixbuf.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/gdk/gdkpixbuf.h b/gdk/gdkpixbuf.h index 497c5bbba8..99e718df63 100644 --- a/gdk/gdkpixbuf.h +++ b/gdk/gdkpixbuf.h @@ -37,30 +37,6 @@ G_BEGIN_DECLS -/* Rendering to a drawable */ - -void gdk_pixbuf_render_threshold_alpha (GdkPixbuf *pixbuf, - GdkBitmap *bitmap, - int src_x, - int src_y, - int dest_x, - int dest_y, - int width, - int height, - int alpha_threshold); -void gdk_pixbuf_render_pixmap_and_mask_for_colormap (GdkPixbuf *pixbuf, - GdkColormap *colormap, - GdkPixmap **pixmap_return, - GdkBitmap **mask_return, - int alpha_threshold); -#ifndef GDK_MULTIHEAD_SAFE -void gdk_pixbuf_render_pixmap_and_mask (GdkPixbuf *pixbuf, - GdkPixmap **pixmap_return, - GdkBitmap **mask_return, - int alpha_threshold); -#endif - - /* Fetching a region from a drawable */ GdkPixbuf *gdk_pixbuf_get_from_drawable (GdkPixbuf *dest, GdkDrawable *src, |