The following generic functions provide overall control of the definition of a path. In each case, the argument drawable is either a sheet or a medium.
start-pathGeneric function
start-path drawable => ()
line-to, curve-to, arc-to, and move-to. Its appearance can also be manipulated using fill-path and stroke-path.
close-path or end-path to finish the path, or abort-path to abandon it altogether.
Generic function
end-path drawable => ()
fill-path or stroke-path.
close-path can also be used to end the definition of a path.
Generic function
close-path drawable => ()
line-to), you can use close-path to join the first and last lines in the path to create a closed, five-sided figure.
Generic function
abort-path drawable => ()
start-path are discarded.
Generic function
fill-path drawable => ()
close-path, it is closed automatically.
Generic function
stroke-path drawable => ()
close-path if you wish to do this.