blob: 3d57c638d64e9d7244255e3ae7ed12cb350c02ee [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<svg version="1.1" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<title id="test-title">Shapes and markers</title>
<defs>
<marker id="mark" viewBox="0 0 8 8" refX="4" refY="4" markerHeight="3" markerWidth="3">
<circle cx="4" cy="4" r="3" stroke="#f00" fill="none"/>
</marker>
</defs>
<g id="test-body-content" marker-start="url(#mark)" marker-mid="url(#mark)" marker-end="url(#mark)">
<text x="0" y="20">The first row of shapes should have no marker decorations,</text>
<text x="0" y="40">the second row should have them.</text>
<!-- These should have not markers -->
<rect fill="none" stroke="#000000" x="0" y="50" width="50" height="50"/>
<circle fill="none" stroke="#000000" cx="80" cy="76" r="25" />
<ellipse fill="none" stroke="#000000" cx="140" cy="76" rx="30" ry="25"/>
<!-- These should have markers -->
<line fill="none" stroke="#000000" x1="0" y1="120" x2="0" y2="170"/>
<polyline fill="none" stroke="#000000" points="30 120 80 120 55 170"/>
<polygon fill="none" stroke="#000000" points="100 120 150 120 125 170"/>
<path fill="none" stroke="#000000" d="M170 120 220 120 195 170 C 185 170 170 140 170 120"/>
</g>
</svg>