Expression painter:lineto(x,y) appends a line segment to the current path, starting from the current point (x0,y0) and ending at coordinates (x0+x,y0+y). The segment end point then becomes the new current point.

The behavior of this function is undefined when the current point is not set

See also: PostScript operator rlineto.