| 1 | <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="200" height="200"> |
| 2 | <!-- Test that the orientation of markers is computed correctly for Arc segments in paths.--> |
| 3 | <defs> |
| 4 | <marker id="marker" refX="0" refY="10" |
| 5 | markerWidth="20" markerHeight="20" |
| 6 | markerUnits="userSpaceOnUse" orient="auto"> |
| 7 | <path d="M0,0 L0,20 L20,10 Z" fill="lime"/> |
| 8 | </marker> |
| 9 | </defs> |
| 10 | |
| 11 | <!-- Hand-code a rounded rectangle --> |
| 12 | <path d="M50,30 L150,30 A20,20,0,0,1,170,50 L170,150 A20,20,0,0,1,150,170 L50,170 A20,20,0,0,1,30,150 L30,50 A20,20,0,0,1,50,30 Z" |
| 13 | marker-mid="url(#marker)" stroke="blue" stroke-width="5" fill="none"/> |
| 14 | </svg> |