summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohannes Wolf <519002+johannes-wolf@users.noreply.github.com>2023-04-19 16:30:27 +0200
committerGitHub <noreply@github.com>2023-04-19 16:30:27 +0200
commit981c578ff9f1ef33a9ab00bc0ecf8fcacabc156f (patch)
tree3a3eaf8ae736696a8fe699cff59907899366e0b0 /tests
parent66c707f2169c00eee739abe92d876c9288fc038d (diff)
path: Use close_path() for closing paths (#801)
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/visualize/path.pngbin3405 -> 3575 bytes
-rw-r--r--tests/typ/visualize/path.typ7
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/ref/visualize/path.png b/tests/ref/visualize/path.png
index ec537f0a..c7f710c9 100644
--- a/tests/ref/visualize/path.png
+++ b/tests/ref/visualize/path.png
Binary files differ
diff --git a/tests/typ/visualize/path.typ b/tests/typ/visualize/path.typ
index c7c1af50..d475811f 100644
--- a/tests/typ/visualize/path.typ
+++ b/tests/typ/visualize/path.typ
@@ -30,6 +30,13 @@
((30%, 60%), (-20%, 0%), (0%, 0%)),
((50%, 30%), (60%, -30%), (60%, 0%)),
),
+ path(
+ stroke: 5pt,
+ closed: true,
+ (0pt, 30pt),
+ (30pt, 30pt),
+ (15pt, 0pt),
+ ),
)
---