summaryrefslogtreecommitdiffstats
path: root/tests/arthur/data/bugs/gradient_pen_fill.svg
blob: 9a76f6214951dd0e40f26d260cea81ec574ddf57 (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
<?xml version="1.0" encoding="ISO-8859-1"?>
<svg xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny" 
     width="220" height="420" xmlns:xlink="http://www.w3.org/1999/xlink">
  <defs>
    <radialGradient id="gr1" cx="0.5" cy="0.5" r="0.5" gradientUnits="objectBoundingBox">
      <stop offset="0" stop-color="blue" />
      <stop offset="1" stop-color="yellow" />
    </radialGradient>
    <radialGradient id="gr2" cx="0.9" cy="0.5" r="1"  gradientUnits="objectBoundingBox">
      <stop offset="0" stop-color="blue" />
      <stop offset="1" stop-color="yellow" />
    </radialGradient>
    <linearGradient id="gr3" x1="0" x2="1" y1="0" y2="1"  gradientUnits="objectBoundingBox">
      <stop offset="0" stop-color="blue" />
      <stop offset="1" stop-color="yellow" />
    </linearGradient>
    <radialGradient id="gr4" cx=".5" cy=".5" r=".5" gradientUnits="objectBoundingBox">
      <stop offset="0" stop-color="blue" />
      <stop offset=".5" stop-color="yellow" />
      <stop offset="1" stop-color="blue" />
    </radialGradient>
    <linearGradient id="gr5" x1="0" x2="0.5" y1="0" y2="0" gradientUnits="objectBoundingBox">
      <stop offset="0" stop-color="blue" />
      <stop offset="1" stop-color="yellow" />
    </linearGradient>
  </defs>

  <rect width="180" height="80" x="20"  y="20" fill="url(#gr1)" />
  <rect width="180" height="80" x="20" y="120" fill="url(#gr2)" stroke-width="10" stroke="url(#gr2)"/>
  <rect width="180" height="80" x="20" y="220" fill="url(#gr3)" stroke-width="10" stroke="url(#gr5)"/>
  <rect width="180" height="80" x="20" y="320" fill="url(#gr4)" stroke-width="10" stroke="url(#gr4)"/>
</svg>