- colormap
- a Gdk.Colormap
- pixmap_return
- a Gdk.Pixmap
- mask_return
- a Gdk.Pixmap
- alpha_threshold
- a int, threshold value for opacity.
This is merely a convenience function; applications that need to render pixbufs with dither offsets or to given drawables should use Pixbuf.RenderToDrawableAlpha or Pixbuf.RenderToDrawable and Pixbuf.RenderThresholdAlpha.
The pixmap that is created uses the Gdk.Colormap specified by colormap. This colormap must match the colormap of the window where the pixmap will eventually be used or an error will result. If the pixbuf does not have an alpha channel, then mask_return will be set to null.