to_path
Description:
Creates a new path from the given builder.
The given `GskPathBuilder` is reset to the initial state once this function returns. Calling this function again on the same builder instance will therefore produce an empty path, not a copy of the same path.
This function is intended primarily for language bindings. C code should use [method@Gsk.PathBuilder.free_to_path].
Parameters:
| this |
a path builder |
Returns:
|
the newly created path with all the contours added to the builder |