Skip to content

Commit

Permalink
Return self for transformed method
Browse files Browse the repository at this point in the history
  • Loading branch information
haiiliin authored Dec 6, 2024
1 parent 9dd1954 commit 27293cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions svgdatagrabber/geometry/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def transformed(self, csys: CoordinateSystem):
segment.end = csys.transform(segment.end)
if isinstance(segment, Bezier):
segment.controls = [csys.transform(control) for control in segment.controls]
return self


class PathSequence(GeometrySequence):
Expand Down

0 comments on commit 27293cd

Please sign in to comment.