diff options
| author | Johannes Wolf <519002+johannes-wolf@users.noreply.github.com> | 2023-04-19 16:30:27 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-19 16:30:27 +0200 |
| commit | 981c578ff9f1ef33a9ab00bc0ecf8fcacabc156f (patch) | |
| tree | 3a3eaf8ae736696a8fe699cff59907899366e0b0 /tests | |
| parent | 66c707f2169c00eee739abe92d876c9288fc038d (diff) | |
path: Use close_path() for closing paths (#801)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/visualize/path.png | bin | 3405 -> 3575 bytes | |||
| -rw-r--r-- | tests/typ/visualize/path.typ | 7 |
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/ref/visualize/path.png b/tests/ref/visualize/path.png Binary files differindex ec537f0a..c7f710c9 100644 --- a/tests/ref/visualize/path.png +++ b/tests/ref/visualize/path.png 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), + ), ) --- |
