summaryrefslogtreecommitdiffstats
path: root/src/extension/internal/polyfill/hatch_tests/hatch01_with_js.svg
blob: 9c4529606ca359d2643b78c312a4916d40056d64 (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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:cc="http://creativecommons.org/ns#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:svg="http://www.w3.org/2000/svg"
   xmlns="http://www.w3.org/2000/svg"
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
   xmlns:xlink="http://www.w3.org/1999/xlink"
   inkscape:version="1.0alpha2 (5c5a8378bf, 2019-06-27, custom)"
   sodipodi:docname="hatch01_with_js.svg"
   id="svg24"
   version="1.1"
   height="400"
   width="400">
  <metadata
     id="metadata28">
    <rdf:RDF>
      <cc:Work
         rdf:about="">
        <dc:format>image/svg+xml</dc:format>
        <dc:type
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
        <dc:title></dc:title>
      </cc:Work>
    </rdf:RDF>
  </metadata>
  <sodipodi:namedview
     inkscape:current-layer="svg24"
     inkscape:window-maximized="0"
     inkscape:window-y="23"
     inkscape:window-x="26"
     inkscape:cy="200"
     inkscape:cx="200"
     inkscape:zoom="0.6025"
     showgrid="false"
     id="namedview26"
     inkscape:window-height="480"
     inkscape:window-width="686"
     inkscape:pageshadow="2"
     inkscape:pageopacity="0"
     guidetolerance="10"
     gridtolerance="10"
     objecttolerance="10"
     borderopacity="1"
     bordercolor="#666666"
     pagecolor="#ffffff" />
  <defs
     id="defs14">
    <hatch
       rotate="135"
       pitch="5"
       hatchContentUnits="userSpaceOnUse"
       hatchUnits="userSpaceOnUse"
       id="hatch1">
      <hatchpath
         id="hatchpath2"
         stroke-width="2"
         stroke="#a080ff" />
    </hatch>
    <hatch
       rotate="135"
       pitch="0.05"
       hatchContentUnits="userSpaceOnUse"
       hatchUnits="objectBoundingBox"
       id="hatch2">
      <hatchpath
         id="hatchpath5"
         stroke-width="2"
         stroke="#a080ff" />
    </hatch>
    <hatch
       rotate="135"
       pitch="5"
       hatchContentUnits="objectBoundingBox"
       hatchUnits="userSpaceOnUse"
       id="hatch3">
      <hatchpath
         id="hatchpath8"
         stroke-width="0.02"
         stroke="#a080ff" />
    </hatch>
    <hatch
       rotate="135"
       pitch="0.05"
       hatchContentUnits="objectBoundingBox"
       hatchUnits="objectBoundingBox"
       id="hatch4">
      <hatchpath
         id="hatchpath11"
         stroke-width="0.02"
         stroke="#a080ff" />
    </hatch>
  </defs>
  <rect
     id="rect16"
     height="100"
     width="100"
     y="50"
     x="50"
     stroke-width="2"
     stroke="black"
     fill="url(#hatch1)" />
  <rect
     id="rect18"
     height="100"
     width="100"
     y="50"
     x="250"
     stroke-width="2"
     stroke="black"
     fill="url(#hatch2)" />
  <rect
     id="rect20"
     height="100"
     width="100"
     y="250"
     x="50"
     stroke-width="2"
     stroke="black"
     fill="url(#hatch3)" />
  <rect
     id="rect22"
     height="100"
     width="100"
     y="250"
     x="250"
     stroke-width="2"
     stroke="black"
     fill="url(#hatch4)" />
  <script type="text/javascript" xlink:href="../hatch.js"></script>
</svg>