Make Path.parse() return a Path object
This commit is contained in:
parent
6a7fb1f9c6
commit
7286839b77
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ class Path():
|
|||
if command.command is not None:
|
||||
commands.append(command.finish())
|
||||
|
||||
return commands
|
||||
return Path(commands)
|
||||
|
||||
def horiz_to(self, cr: cairo.Context, x2: float):
|
||||
_, y = cr.get_current_point()
|
||||
|
|
Loading…
Add table
Reference in a new issue