Method Cairo.Context()->new_sub_path()
- Method
new_sub_path
void
new_sub_path()- Description
Begin a new sub-path. Note that the existing path is not affected. After this call there will be no current point.
In many cases, this call is not needed since new sub-paths are frequently started with move_to().
A call to new_sub_path() is particularly useful when beginning a new sub-path with one of the arc() calls. This makes things easier as it is no longer necessary to manually compute the arc's initial coordinates for a call to move_to().