cairoPdfSurfaceSetSize         package:RGtk2         R Documentation

_c_a_i_r_o_P_d_f_S_u_r_f_a_c_e_S_e_t_S_i_z_e

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

     Changes the size of a PDF surface for the current (and subsequent)
     pages.

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

     cairoPdfSurfaceSetSize(surface, width.in.points, height.in.points)

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

'surface': ['CairoSurface']  a PDF 'CairoSurface'

'width.in.points': [numeric]  new surface width, in points (1 point ==
          1/72.0 inch)

'height.in.points': [numeric]  new surface height, in points (1 point
          == 1/72.0 inch)

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

     This function should only be called before any drawing operations
     have been performed on the current page. The simplest way to do
     this is to call this function immediately after creating the
     surface or immediately after completing a page with either
     'cairoShowPage' or 'cairoCopyPage'.  

     Since  1.2

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

     Derived by RGtkGen from GTK+ documentation

