Debian Codegraph @

rsvg/tests/fixtures/reftests/bugs/bug373-gradient-userspaceonuse.svg

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!--
3 We draw a horizontal and a vertical line, both with a gradient.
4 Since gradientUnits="userSpaceOnUse", it does not matter that the
5 lines have an empty bounding box, as would be the case for
6 objectBoundingBox. Thus, the gradient *is* drawn (here, all green),
7 instead of leaving the lines unstyled.
8 -->
9 <svg
10 xmlns:svg="http://www.w3.org/2000/svg"
11 xmlns="http://www.w3.org/2000/svg"
12 version="1.1"
13 x="0px"
14 y="0px"
15 width="200"
16 height="200"
17 viewBox="0 0 200 200"
18 xml:space="preserve">
19 <rect x="0" y="0" width="200" height="200" style="fill:blue" />
20 <g>
21 <radialGradient id="SVGID_19_" cx="100" cy="100" r="100" gradientUnits="userSpaceOnUse">
22 <stop offset="0" style="stop-color:green" />
23 </radialGradient>
24 <line
25 x1="100"
26 y1="0"
27 x2="100"
28 y2="200"
29 style="fill:none;stroke:url(#SVGID_19_);stroke-width:2;stroke-miterlimit:10"
30 />
31 <line
32 x1="0"
33 y1="100"
34 x2="200"
35 y2="100"
36 style="fill:none;stroke:url(#SVGID_19_);stroke-width:2;stroke-miterlimit:10"
37 />
38 </g>
39 </svg>