Context.getCurrentPoint

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, x and y will both be set to 0.0. It is possible to check this in advance with cairo_has_current_point(). Most path construction functions alter the current point. See the

class Context
void
getCurrentPoint
(
out double x
,
out double y
)

Parameters

x double

return value for X coordinate of the current point

y double

return value for Y coordinate of the current point

Meta