gdkPixbufScaleSimple          package:RGtk2          R Documentation

_g_d_k_P_i_x_b_u_f_S_c_a_l_e_S_i_m_p_l_e

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

     Create a new 'GdkPixbuf' containing a copy of 'src' scaled to
     'dest.width' x 'dest.height'. Leaves 'src' unaffected. 
     'interp.type' should be 'GDK_INTERP_NEAREST' if you want maximum
     speed (but when scaling down 'GDK_INTERP_NEAREST' is usually
     unusably ugly).  The default 'interp.type' should be
     'GDK_INTERP_BILINEAR' which offers reasonable quality and speed.

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

     gdkPixbufScaleSimple(object, dest.width, dest.height, interp.type)

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

'object': ['GdkPixbuf']  a 'GdkPixbuf'

'dest.width': [integer]  the width of destination image

'dest.height': [integer]  the height of destination image

'interp.type': ['GdkInterpType']  the interpolation type for the
          transformation.

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

     You can scale a sub-portion of 'src' by creating a sub-pixbuf
     pointing into 'src'; see 'gdkPixbufNewSubpixbuf'.

     For more complicated scaling/compositing see 'gdkPixbufScale' and
     'gdkPixbufComposite'.

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

     ['GdkPixbuf']  the new 'GdkPixbuf', or 'NULL' if not enough memory
     could be allocated for it.

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

     Derived by RGtkGen from GTK+ documentation

