blob: 8a63c374cf231003be7ed3ec5f1c4f95374751d7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// 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))
)
---
// Error: 22-52 pattern tile size must be non-zero
// Hint: 22-52 try setting the size manually
#line(stroke: pattern(path((0pt, 0pt), (1em, 0pt))))
|