diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-12-30 10:07:46 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-12-30 10:07:46 +0100 |
| commit | fe1f4400693690b68db5a7ec0976ba998624a740 (patch) | |
| tree | 47f6fb388e70b93312dfe252c50aed637fe37556 /tests | |
| parent | 94cf7005e99a9055799a641ae6f00669c5ec7a63 (diff) | |
Clamp shape radii
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/visualize/shape-rounded.png | bin | 0 -> 769 bytes | |||
| -rw-r--r-- | tests/typ/visualize/shape-rounded.typ | 6 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/ref/visualize/shape-rounded.png b/tests/ref/visualize/shape-rounded.png Binary files differnew file mode 100644 index 00000000..ae8df178 --- /dev/null +++ b/tests/ref/visualize/shape-rounded.png diff --git a/tests/typ/visualize/shape-rounded.typ b/tests/typ/visualize/shape-rounded.typ new file mode 100644 index 00000000..862141ba --- /dev/null +++ b/tests/typ/visualize/shape-rounded.typ @@ -0,0 +1,6 @@ +// Test rounded rectangles and squares. + +--- +// Ensure that radius is clamped. +#rect(radius: -20pt) +#square(radius: 30pt) |
