cairoStrokeExtents           package:RGtk2           R Documentation

_c_a_i_r_o_S_t_r_o_k_e_E_x_t_e_n_t_s

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

     Computes a bounding box in user coordinates covering the area that
     would be affected, (the "inked" area), by a 'cairoStroke'
     operation operation given the current path and stroke parameters.
     If the current path is empty, returns an empty rectangle ((0,0),
     (0,0)). Surface dimensions and clipping are not taken into
     account.

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

     cairoStrokeExtents(cr)

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

    'cr': ['Cairo']  a cairo context

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

     Note that if the line width is set to exactly zero, then
     cairo_stroke_extents will return an empty rectangle. Contrast with
     'cairoPathExtents' which can be used to compute the non-empty
     bounds as the line width approaches zero.

     See 'cairoStroke', 'cairoSetLineWidth', 'cairoSetLineJoin',
     'cairoSetLineCap', 'cairoSetDash', and 'cairoStrokePreserve'.

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

     A list containing the following elements: 

    'x1': [numeric]  left of the resulting extents

    'y1': [numeric]  top of the resulting extents

    'x2': [numeric]  right of the resulting extents

    'y2': [numeric]  bottom of the resulting extents

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

     Derived by RGtkGen from GTK+ documentation

