cairoGetCurrentPoint          package:RGtk2          R Documentation

_c_a_i_r_o_G_e_t_C_u_r_r_e_n_t_P_o_i_n_t

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

     Gets the current point of the current path, which is conceptually
     the final point reached by the path so far.

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

     cairoGetCurrentPoint(cr, x, y)

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

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

     'x': [numeric]  return value for X coordinate of the current point

     'y': [numeric]  return value for Y coordinate of the current point

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

     The current point is returned in the user-space coordinate system.
     If there is no defined current point or if 'cr' is in an error
     status, 'x' and 'y' will both be set to 0.0. It is possible to
     check this in advance with 'cairoHasCurrentPoint'.

     Most path construction functions alter the current point. See the
     following for details on how they affect the current point:
     'cairoNewPath', 'cairoNewSubPath', 'cairoAppendPath',
     'cairoClosePath', 'cairoMoveTo', 'cairoLineTo', 'cairoCurveTo',
     'cairoRelMoveTo', 'cairoRelLineTo', 'cairoRelCurveTo', 'cairoArc',
     'cairoArcNegative', 'cairoRectangle', 'cairoTextPath',
     'cairoGlyphPath', 'cairoStrokeToPath()'

     Some functions use and alter the current point but do not
     otherwise change current path: 'cairoShowText', 'cairoShowGlyphs'.

     Some functions unset the current path and as a result, current
     point: 'cairoFill', 'cairoStroke'.

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

     Derived by RGtkGen from GTK+ documentation

