diff options
Diffstat (limited to 'tests/typ/layout')
| -rw-r--r-- | tests/typ/layout/clip.typ | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/typ/layout/clip.typ b/tests/typ/layout/clip.typ index d05fdb74..d20609d8 100644 --- a/tests/typ/layout/clip.typ +++ b/tests/typ/layout/clip.typ @@ -54,3 +54,15 @@ First! clip: true, image("/files/rhino.png", width: 30pt) ) +--- +// Test clipping with `radius`, but without `stroke`. + +#set page(height: 60pt) + +#box( + radius: 5pt, + width: 20pt, + height: 20pt, + clip: true, + image("/files/rhino.png", width: 30pt) +) |
