Expression painter:newpath() terminates the last subpath. After calling this function, the current point is left unset.
painter:newpath()
See also: PostScript operator newpath.
newpath