librsvg source for verification 2026-05-22
This commit is contained in:
14
rsvg/tests/fixtures/reftests/markers-arc-segments.svg
vendored
Normal file
14
rsvg/tests/fixtures/reftests/markers-arc-segments.svg
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="200" height="200">
|
||||
<!-- Test that the orientation of markers is computed correctly for Arc segments in paths.-->
|
||||
<defs>
|
||||
<marker id="marker" refX="0" refY="10"
|
||||
markerWidth="20" markerHeight="20"
|
||||
markerUnits="userSpaceOnUse" orient="auto">
|
||||
<path d="M0,0 L0,20 L20,10 Z" fill="lime"/>
|
||||
</marker>
|
||||
</defs>
|
||||
|
||||
<!-- Hand-code a rounded rectangle -->
|
||||
<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"
|
||||
marker-mid="url(#marker)" stroke="blue" stroke-width="5" fill="none"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 666 B |
Reference in New Issue
Block a user