gdkPixbufRenderPixmapAndMask      package:RGtk2      R Documentation

_g_d_k_P_i_x_b_u_f_R_e_n_d_e_r_P_i_x_m_a_p_A_n_d_M_a_s_k

_D_e_s_c_r_i_p_t_i_o_n:

     Creates a pixmap and a mask bitmap which are returned in the
     'pixmap.return' and 'mask.return' arguments, respectively, and
     renders a pixbuf and its corresponding thresholded alpha mask to
     them.  This is merely a convenience function; applications that
     need to render pixbufs with dither offsets or to given drawables
     should use 'gdkDrawPixbuf' and 'gdkPixbufRenderThresholdAlpha'.

_U_s_a_g_e:

     gdkPixbufRenderPixmapAndMask(object, alpha.threshold = 127)

_A_r_g_u_m_e_n_t_s:

'object': ['GdkPixbuf']  A pixbuf.

'alpha.threshold': [integer]  Threshold value for opacity values.

_D_e_t_a_i_l_s:

     The pixmap that is created is created for the colormap returned by
     'gdkRgbGetColormap'. You normally will want to instead use the
     actual colormap for a widget, and use
     'gdkPixbufRenderPixmapAndMaskForColormap'.

     If the pixbuf does not have an alpha channel, then *'mask.return'
     will be set to 'NULL'.

_V_a_l_u_e:

     A list containing the following elements: 

'pixmap.return': ['GdkPixmap']  Location to store a pointer to the
          created pixmap, or 'NULL' if the pixmap is not needed.

'mask.return': ['GdkBitmap']  Location to store a pointer to the
          created mask, or 'NULL' if the mask is not needed.

_A_u_t_h_o_r(_s):

     Derived by RGtkGen from GTK+ documentation

