Context.relMoveTo

void relMoveTo(double dx, double dy)

Begin a new sub-path. After this call the current point will offset by (x, y).

Given a current point of (x, y), cairo_rel_move_to(cr, dx, dy) is logically equivalent to cairo_move_to(cr, x + dx, y + dy).

It is an error to call this function with no current point. Doing so will cause cr to shutdown with a status of [cairo.types.Status.NoCurrentPoint].

Parameters

dxthe X offset
dythe Y offset