fetch Current Point
Gets the current point of the current path, which is conceptually the final point reached by the path so far. 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 then xPos and yPos will both be set to 0.0. It is possible to check this in advance with hasCurrentPoint. Most path construction functions alter the current point. See the following for details on how they affect the current point: cairo_rel_move_to, cairo_rel_line_to, cairo_rel_curve_to, cairo_text_path, cairo_glyph_path.
Some functions use and alter the current point but do not otherwise change current path line like cairo_show_text. Other functions unset the current path and as a result, current point: Canvas.fill, Canvas.stroke
Return
A Pair containing the following:
xPos - X coordinate of the current point.
yPos - Y coordinate of the current point.