Package: cairo

Function cairo-rel-move-to

Lambda List

cairo-rel-move-to (cr dx dy)

Arguments

cr -- a cairo-t context
dx -- a double float x offset
dy -- a double float y offset

Details

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 :no-current-point.
 

See also

2021-12-12