cairoSurfaceSetFallbackResolution   package:RGtk2   R Documentation

_c_a_i_r_o_S_u_r_f_a_c_e_S_e_t_F_a_l_l_b_a_c_k_R_e_s_o_l_u_t_i_o_n

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

     Set the horizontal and vertical resolution for image fallbacks.

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

     cairoSurfaceSetFallbackResolution(surface, x.pixels.per.inch, y.pixels.per.inch)

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

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

'x.pixels.per.inch': [numeric]  horizontal setting for pixels per inch

'y.pixels.per.inch': [numeric]  vertical setting for pixels per inch

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

     When certain operations aren't supported natively by a backend,
     cairo will fallback by rendering operations to an image and then
     overlaying that image onto the output. For backends that are
     natively vector-oriented, this function can be used to set the
     resolution used for these image fallbacks, (larger values will
     result in more detailed images, but also larger file sizes).

     Some examples of natively vector-oriented backends are the ps,
     pdf, and svg backends.

     For backends that are natively raster-oriented, image fallbacks
     are still possible, but they are always performed at the native
     device resolution. So this function has no effect on those
     backends.

     Note: The fallback resolution only takes effect at the time of
     completing a page (with 'cairoShowPage' or 'cairoCopyPage') so
     there is currently no way to have more than one fallback
     resolution in effect on a single page.  

     Since  1.2

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

     Derived by RGtkGen from GTK+ documentation

