cairoPatternGetLinearPoints      package:RGtk2      R Documentation

_c_a_i_r_o_P_a_t_t_e_r_n_G_e_t_L_i_n_e_a_r_P_o_i_n_t_s

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

     Gets the gradient endpoints for a linear gradient.

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

     cairoPatternGetLinearPoints(pattern)

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

'pattern': ['CairoPattern']  a 'CairoPattern'

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

     Since  1.4

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

     A list containing the following elements: 

  retval: ['CairoStatus'] 'CAIRO_STATUS_SUCCESS', or
          'CAIRO_STATUS_PATTERN_TYPE_MISMATCH' if 'pattern' is not a
          linear gradient pattern.

    'x0': [numeric]  return value for the x coordinate of the first
          point, or 'NULL'

    'y0': [numeric]  return value for the y coordinate of the first
          point, or 'NULL'

    'x1': [numeric]  return value for the x coordinate of the second
          point, or 'NULL'

    'y1': [numeric]  return value for the y coordinate of the second
          point, or 'NULL'

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

     Derived by RGtkGen from GTK+ documentation

