summaryrefslogtreecommitdiffstats
path: root/src/extension/internal/polyfill/hatch_tests/hatch.svg
diff options
context:
space:
mode:
Diffstat (limited to 'src/extension/internal/polyfill/hatch_tests/hatch.svg')
-rw-r--r--src/extension/internal/polyfill/hatch_tests/hatch.svg63
1 files changed, 63 insertions, 0 deletions
diff --git a/src/extension/internal/polyfill/hatch_tests/hatch.svg b/src/extension/internal/polyfill/hatch_tests/hatch.svg
new file mode 100644
index 0000000..7e2f8de
--- /dev/null
+++ b/src/extension/internal/polyfill/hatch_tests/hatch.svg
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="360">
+ <defs>
+ <hatch
+ pitch="15"
+ hatchUnits="userSpaceOnUse"
+ id="simple6">
+ <hatchPath
+ d="m 0,0 5,10 5,-5"
+ offset="5"
+ stroke="#a080ff" />
+ </hatch>
+ <hatch
+ id="transform2"
+ hatchUnits="userSpaceOnUse"
+ pitch="15"
+ rotate="30">
+ <hatchPath
+ stroke="#a080ff"
+ offset="10"
+ d="L 0,0 5,10 0,20" />
+ </hatch>
+ <hatch
+ id="transform4"
+ hatchUnits="userSpaceOnUse"
+ pitch="15"
+ rotate="45">
+ <hatchPath
+ stroke="#a080ff"
+ offset="10"
+ d="L 0,0 5,10 0,20" />
+ </hatch>
+ <hatch
+ id="transform8"
+ hatchUnits="userSpaceOnUse"
+ pitch="15"
+ x="-5"
+ y="-10"
+ rotate="30">
+ <hatchPath
+ stroke="#a080ff"
+ offset="10"
+ d="L 0,0 5,10 0,20" />
+ </hatch>
+ <hatch
+ id="transform9"
+ hatchUnits="userSpaceOnUse"
+ pitch="15"
+ rotate="30"
+ x="-5"
+ y="-10"
+ hatchTransform="matrix(0.96592583,-0.25881905,0.25881905,0.96592583,-8.4757068,43.273395)">
+ <hatchPath
+ stroke="#a080ff"
+ offset="10"
+ d="L 0,0 5,10 0,20" />
+ </hatch>
+ </defs>
+ <rect fill="url(#simple6)" stroke="black" stroke-width="2" x="25" y="25" width="150" height="150"/>
+ <rect fill="url(#transform2) #ff0000;" stroke="black" stroke-width="1" width="115" height="115" x="25" y="200" />
+
+ <script type="text/javascript" xlink:href="../hatch.js"></script>
+</svg>