This command will close the current sub-path in the path specified by
id. The sub-path is closed by adding a line to the starting point of
the current sub-path. If you want to add new vertices after calling
ClosePath(), you have to call StartSubPath() and MoveTo() to create a
new sub-path.