Method Cairo.Context()->rel_move_to()


Method rel_move_to

void rel_move_to(float|int dx, float|int dy)

Description

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

Given a current point of (x, y), rel_move_to(dx , dy) is logically equivalent to move_to(x + dx , y + dy).

It is an error to call this function with no current point.

Parameter dx

the X offset

Parameter dy

the Y offset