diff options
Diffstat (limited to 'tests/typ/visualize/pattern-small.typ')
| -rw-r--r-- | tests/typ/visualize/pattern-small.typ | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/typ/visualize/pattern-small.typ b/tests/typ/visualize/pattern-small.typ new file mode 100644 index 00000000..888cfee1 --- /dev/null +++ b/tests/typ/visualize/pattern-small.typ @@ -0,0 +1,14 @@ +// Tests small patterns for pixel accuracy. + +--- +#box( + width: 8pt, + height: 1pt, + fill: pattern(size: (1pt, 1pt), square(size: 1pt, fill: black)) +) +#v(-1em) +#box( + width: 8pt, + height: 1pt, + fill: pattern(size: (2pt, 1pt), square(size: 1pt, fill: black)) +) |
