cairoStroke              package:RGtk2              R Documentation

_c_a_i_r_o_S_t_r_o_k_e

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

     A drawing operator that strokes the current path according to the
     current line width, line join, line cap, and dash settings. After
     cairo_stroke, the current path will be cleared from the cairo
     context. See 'cairoSetLineWidth', 'cairoSetLineJoin',
     'cairoSetLineCap', 'cairoSetDash', and 'cairoStrokePreserve'.

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

     cairoStroke(cr)

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

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

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

     Note: Degenerate segments and sub-paths are treated specially and
     provide a useful result. These can result in two different
     situations:

     1. Zero-length "on" segments set in 'cairoSetDash'. If the cap
     style is 'CAIRO_LINE_CAP_ROUND' or 'CAIRO_LINE_CAP_SQUARE' then
     these segments will be drawn as circular dots or squares
     respectively. In the case of 'CAIRO_LINE_CAP_SQUARE', the
     orientation of the squares is determined by the direction of the
     underlying path.

     2. A sub-path created by 'cairoMoveTo' followed by either a
     'cairoClosePath' or one or more calls to 'cairoLineTo' to the same
     coordinate as the 'cairoMoveTo'. If the cap style is
     CAIRO_LINE_CAP_ROUND then these sub-paths will be drawn as
     circular dots. Note that in the case of 'CAIRO_LINE_CAP_SQUARE' a
     degenerate sub-path will not be drawn at all, (since the correct
     orientation is indeterminate).

     In no case will a cap style of 'CAIRO_LINE_CAP_BUTT' cause
     anything to be drawn in the case of either degenerate segments or
     sub-paths.

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

     Derived by RGtkGen from GTK+ documentation

