summaryrefslogtreecommitdiffstats
path: root/src/extension/internal/polyfill/hatch_tests/hatch.svg
blob: 7e2f8de96a2f74ef8cfe64162168eb5559387935 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
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>