summaryrefslogtreecommitdiff
path: root/svgio/qa/cppunit/data/contextStrokeGradient.svg
blob: 7de3f70b6a0e299c65ff1099f0c7897bd41570f5 (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
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
  <style>
    path {
      fill: none;
      stroke-width: 4px;
      marker: url(#diamond);
    }
  </style>
  <defs>
    <linearGradient
       id="swatch7">
      <stop
         style="stop-color:#23a2b0;stop-opacity:1;"
         offset="0"
         id="stop7" />
    </linearGradient>
  </defs>

  <path d="M 10,50 v -20 h 40 v -20" stroke="url(#swatch7)"/>

  <marker id="diamond" markerWidth="12" markerHeight="12" refX="6" refY="6" markerUnits="userSpaceOnUse">
    <circle cx="6" cy="6" r="3" fill="white" stroke="context-stroke" stroke-width="2"/>
  </marker>
</svg>