summaryrefslogtreecommitdiff
path: root/tests/typ/visualize/gradient-stroke.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-04-13 10:39:45 +0200
committerGitHub <noreply@github.com>2024-04-13 08:39:45 +0000
commit020294fca9a7065d4b9cf4e677f606ebaaa29b00 (patch)
treec0027ad22046e2726c22298461327823d6b88d53 /tests/typ/visualize/gradient-stroke.typ
parent72dd79210602ecc799726fc096b078afbb47f299 (diff)
Better test runner (#3922)
Diffstat (limited to 'tests/typ/visualize/gradient-stroke.typ')
-rw-r--r--tests/typ/visualize/gradient-stroke.typ31
1 files changed, 0 insertions, 31 deletions
diff --git a/tests/typ/visualize/gradient-stroke.typ b/tests/typ/visualize/gradient-stroke.typ
deleted file mode 100644
index d4461497..00000000
--- a/tests/typ/visualize/gradient-stroke.typ
+++ /dev/null
@@ -1,31 +0,0 @@
-// Test gradients on strokes.
-
----
-#align(center + top, square(size: 50pt, fill: black, stroke: 5pt + gradient.linear(red, blue)))
-
----
-#align(
- center + bottom,
- square(
- size: 50pt,
- fill: gradient.radial(red, blue, radius: 70.7%, focal-center: (10%, 10%)),
- stroke: 10pt + gradient.radial(red, blue, radius: 70.7%, focal-center: (10%, 10%))
- )
-)
-
----
-#align(
- center + bottom,
- square(
- size: 50pt,
- fill: black,
- stroke: 10pt + gradient.conic(red, blue)
- )
-)
-
----
-// Test gradient on lines
-#set page(width: 100pt, height: 100pt)
-#line(length: 100%, stroke: 1pt + gradient.linear(red, blue))
-#line(length: 100%, angle: 10deg, stroke: 1pt + gradient.linear(red, blue))
-#line(length: 100%, angle: 10deg, stroke: 1pt + gradient.linear(red, blue, relative: "parent"))