1
0
Fork 0

Merge pull request 'fix(dev:docs): Improve Point.flipY() example code' (#377) from BenJamesBen/freesewing:improve-example-code into develop

Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/377
Reviewed-by: Joost De Cock <joostdecock@noreply.codeberg.org>
This commit is contained in:
Joost De Cock 2025-05-24 08:25:24 +02:00
commit 39bb3eb6d4

View file

@ -66,6 +66,26 @@ Point point.flipY(Point mirror = false)
.line(points.houseWallRight)
.line(points.end)
paths.skylineBot = new Path()
.move(points._start)
.line(points._churchTowerWallLeft)
.line(points._churchTowerRoofLeft)
.line(points._churchTowerTop)
.line(points._churchTowerRoofRight)
.line(points._churchRoofRight)
.line(points._churchWallRight)
.line(points._houseWallLeft)
.line(points._houseRoofLeft)
.line(points._houseRoofTop)
.line(points._houseRoofRight)
.line(points._houseWallRight)
.line(points._end)
paths.mirror = new Path()
.move(points.mirror)
.line(points.mirrorLineEnd)
.setClass("note dashed")
return part
}
```