From 1f48e45e54d4f2c529f6af91a082caefa5457b94 Mon Sep 17 00:00:00 2001 From: Jonathan Blandford Date: Fri, 14 Jan 2000 20:59:18 +0000 Subject: new function to let you create a gdk_pixmap from a gdk_pixbuf. 2000-01-14 Jonathan Blandford * gdk-pixbuf/gdk-pixbuf-render.c (gdk_pixbuf_render_pixmap): new function to let you create a gdk_pixmap from a gdk_pixbuf. --- gdk-pixbuf/gdk-pixbuf.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gdk-pixbuf/gdk-pixbuf.h') diff --git a/gdk-pixbuf/gdk-pixbuf.h b/gdk-pixbuf/gdk-pixbuf.h index 91898c1eec..9b5265bc49 100644 --- a/gdk-pixbuf/gdk-pixbuf.h +++ b/gdk-pixbuf/gdk-pixbuf.h @@ -147,6 +147,11 @@ void gdk_pixbuf_render_to_drawable (GdkPixbuf *pixbuf, GdkRgbDither dither, int x_dither, int y_dither); +void gdk_pixbuf_render_pixmap (GdkPixbuf *pixbuf, + GdkPixmap **pixmap, + GdkBitmap **mask, + gint alpha_threshold); + void gdk_pixbuf_render_to_drawable_alpha (GdkPixbuf *pixbuf, GdkDrawable *drawable, int src_x, int src_y, int dest_x, int dest_y, -- cgit v1.2.1