diff options
Diffstat (limited to 'testfiles/cli_tests/testcases/stroke-to-path-variations.svg')
-rw-r--r-- | testfiles/cli_tests/testcases/stroke-to-path-variations.svg | 131 |
1 files changed, 131 insertions, 0 deletions
diff --git a/testfiles/cli_tests/testcases/stroke-to-path-variations.svg b/testfiles/cli_tests/testcases/stroke-to-path-variations.svg new file mode 100644 index 0000000..2c8e04b --- /dev/null +++ b/testfiles/cli_tests/testcases/stroke-to-path-variations.svg @@ -0,0 +1,131 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg width="100mm" height="100mm" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:xlink="http://www.w3.org/1999/xlink"> + <defs> + <marker id="mixedarrow" style="overflow:visible;" refX="0.0" refY="0.0" orient="auto"> + <path + transform="scale(1.1) rotate(180) translate(1,0)" + d="M 8.7,4 L -2.2,0 L 8.7,-4 C 7,-1.6 7,1.6 8.7,4 z " + style="stroke:context-stroke;fill:context-stroke;stroke-width:0.5;" /> + <path + d="M 8.7,4 L -2.2,0 L 8.7,-4 C 7,-1.6 7,1.6 8.7,4 z " + style="stroke:#800000;fill:#000080;stroke-width:0.5;" /> + </marker> + <inkscape:path-effect + effect="fillet_chamfer" + id="filletpatheffect_1" + is_visible="true" + lpeversion="1" + satellites_param="F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1" + unit="px" + method="auto" + mode="F" + radius="5" + chamfer_steps="1" + flexible="false" + use_knot_distance="true" + apply_no_radius="true" + apply_with_radius="true" + only_selected="false" + hide_knots="false" /> + <inkscape:perspective + sodipodi:type="inkscape:persp3d" + inkscape:vp_x="0.38440286 : 9.523512 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_z="99.640604 : 9.0838863 : 1" + inkscape:persp3d-origin="50 : 33.333333 : 1" + id="perspective_1" /> + </defs> + <g transform="matrix(1.6736419,0,0,1,-6.5532384,0)"> + <g> + <rect width="10" height="10" x="10" y="5" + style="stroke-width:0.3" /> + <rect width="10" height="10" x="25" y="5" + style="fill:#800000;stroke:#ff0000;stroke-width:0.3" /> + <rect width="10" height="10" x="40" y="5" + style="fill:none;stroke:none;stroke-width:0.3" /> + <ellipse cx="15" cy="27" rx="5" ry="5.5" /> + <ellipse cx="30" cy="27" rx="5" ry="5.5" + style="fill:#800000;stroke:#ff0000;stroke-width:0.3;" /> + <ellipse cx="45" cy="27" rx="5" ry="5.5" + style="fill:none;stroke:none;stroke-width:0.3;" /> + <path + inkscape:path-effect="#filletpatheffect_1" + d="m 18.771703,49.508681 -2.543406,-1.017362 a 2.3539764,2.3539764 172.46576 0 0 -2.28663,0.302431 l -1.883334,1.4125 a 0.50543959,0.50543959 32.220017 0 1 -0.798888,-0.503477 l 0.48111,-2.405546 a 2.4718925,2.4718925 73.154966 0 0 -0.675998,-2.23267 L 9.9354434,43.935443 a 0.70800353,0.70800353 106.84503 0 1 0.3617836,-1.194888 l 2.405546,-0.48111 a 2.4421652,2.4421652 140.24574 0 0 1.788546,-1.487742 l 1.017362,-2.543406 a 0.74346906,0.74346906 172.46576 0 1 1.285069,-0.169964 l 1.4125,1.883334 A 2.6458334,2.6458334 26.565051 0 0 20.322917,41 h 2.354166 a 0.66145835,0.66145835 63.434949 0 1 0.529167,1.058333 l -1.4125,1.883334 a 5.8322704,5.8322704 114.08992 0 0 -1.053195,2.35556 l -0.48111,2.405546 a 1.1004247,1.1004247 151.55567 0 1 -1.487742,0.805908 z" + inkscape:original-d="m 20,50 -5,-2 -4,3 1,-5 -3,-3 5,-1 2,-5 3,4 5,0 -3,4 z" /> + <path + style="fill:#800000;stroke:#ff0000;stroke-width:0.3;" + d="m 33.771703,49.508681 -2.543406,-1.017362 a 2.3539764,2.3539764 172.46576 0 0 -2.28663,0.302431 l -1.883334,1.4125 a 0.50543959,0.50543959 32.220017 0 1 -0.798888,-0.503477 l 0.48111,-2.405546 a 2.4718925,2.4718925 73.154966 0 0 -0.675998,-2.23267 l -1.129114,-1.129114 a 0.70800353,0.70800353 106.84503 0 1 0.361784,-1.194888 l 2.405546,-0.48111 a 2.4421652,2.4421652 140.24574 0 0 1.788546,-1.487742 l 1.017362,-2.543406 a 0.74346906,0.74346906 172.46576 0 1 1.285069,-0.169964 l 1.4125,1.883334 A 2.6458334,2.6458334 26.565051 0 0 35.322917,41 h 2.354166 a 0.66145835,0.66145835 63.434949 0 1 0.529167,1.058333 l -1.4125,1.883334 a 5.8322704,5.8322704 114.08992 0 0 -1.053195,2.35556 l -0.48111,2.405546 a 1.1004247,1.1004247 151.55567 0 1 -1.487742,0.805908 z" + inkscape:path-effect="#filletpatheffect_1" + inkscape:original-d="m 35,50 -5,-2 -4,3 1,-5 -3,-3 5,-1 2,-5 3,4 5,0 -3,4 z" /> + <path + style="fill:none;stroke:none;stroke-width:0.3" + d="m 48.771703,49.508681 -2.543406,-1.017362 a 2.3539764,2.3539764 172.46576 0 0 -2.28663,0.302431 l -1.883334,1.4125 a 0.50543959,0.50543959 32.220017 0 1 -0.798888,-0.503477 l 0.48111,-2.405546 a 2.4718925,2.4718925 73.154966 0 0 -0.675998,-2.23267 l -1.129114,-1.129114 a 0.70800353,0.70800353 106.84503 0 1 0.361784,-1.194888 l 2.405546,-0.48111 a 2.4421652,2.4421652 140.24574 0 0 1.788546,-1.487742 l 1.017362,-2.543406 a 0.74346906,0.74346906 172.46576 0 1 1.285069,-0.169964 l 1.4125,1.883334 A 2.6458334,2.6458334 26.565051 0 0 50.322917,41 h 2.354166 a 0.66145835,0.66145835 63.434949 0 1 0.529167,1.058333 l -1.4125,1.883334 a 5.8322704,5.8322704 114.08992 0 0 -1.053195,2.35556 l -0.48111,2.405546 a 1.1004247,1.1004247 151.55567 0 1 -1.487742,0.805908 z" + inkscape:path-effect="#filletpatheffect_1" + inkscape:original-d="m 50,50 -5,-2 -4,3 1,-5 -3,-3 5,-1 2,-5 3,4 5,0 -3,4 z" /> + </g> + </g> + <!-- marker and dash test --> + <path + style="fill:none;stroke:#782121;stroke-width:0.3;stroke-dasharray:3,3" + d="m 20,60 c 0,0 -3,-7 -7,-3 -4,4 -6,10 -4,12 2,3 4,4 5,6 2,2 7,0 7,-2 0,-2 -6,-9 -6,-9" /> + <path + style="fill:#008000;stroke:none;stroke-width:0.3" + d="m 40,60 c 0,0 -3,-7 -7,-3 -4,4 -6,10 -4,12 2,3 4,4 5,6 2,2 7,0 7,-2 0,-2 -6,-9 -6,-9" /> + <path + style="fill:#008000;stroke:#782121;stroke-width:0.3;stroke-dasharray:3,3;marker-start:url(#mixedarrow)" + d="m 60,60 c 0,0 -3,-7 -7,-3 -4,4 -6,10 -4,12 2,3 4,4 5,6 2,2 7,0 7,-2 0,-2 -6,-9 -6,-9" /> + <path + style="fill:#008000;stroke:none;stroke-width:0.3;marker-start:url(#mixedarrow)" + d="m 80,60 c 0,0 -3,-7 -7,-3 -4,4 -6,10 -4,12 2,3 4,4 5,6 2,2 7,0 7,-2 0,-2 -6,-9 -6,-9" /> + <!-- text test --> + <text x="10" y="80" style="font-size:4px;fill:none;fill-opacity:1;stroke:none" xml:space="preserve"><tspan sodipodi:role="line">SVG 1.1</tspan></text> + <text x="10" y="90" style="fill:magenta;stroke:navy;stroke-width:0.3;font-size:4px;white-space:pre;inline-size:16" xml:space="preserve"><tspan x="10" y="90">inline </tspan><tspan x="10" y="95">size</tspan></text> + <rect x="40" y="76" width="30" height="100" id="rect_shape_inside" style="display:none;stroke:#333;stroke-width:0.3" /> + <text style="fill:yellow;stroke:green;stroke-width:0.3;font-size:4px;white-space:pre;shape-inside:url(#rect_shape_inside);"><tspan x="140" y="330">SVG </tspan><tspan x="140" y="340" xml:space="preserve">shape-inside</tspan></text> + <flowRoot style="fill:green;stroke:blue;stroke-width:0.3;font-size:4px" xml:space="preserve"><flowRegion><rect width="30" height="100" x="70" y="76" /></flowRegion><flowPara>SVG1.2 flowRoot</flowPara></flowRoot> + <g + sodipodi:type="inkscape:box3d" + id="box" + style="fill:black;stroke:#6b1515;stroke-width:0.1;" + inkscape:perspectiveID="#perspective_1" + inkscape:corner0="0.24645783 : -0.025213563 : 0 : 1" + inkscape:corner7="0.14660839 : -0.032706923 : 0.25 : 1"> + <path + sodipodi:type="inkscape:box3dside" + style="fill:#dec7af" + inkscape:box3dsidetype="13" + d="M 40.189679,97.614397 43.656018,98.235984 53.677544,96.92569 50.12162,96.495374 Z" + points="43.656018,98.235984 53.677544,96.92569 50.12162,96.495374 40.189679,97.614397 " /> + <path + sodipodi:type="inkscape:box3dside" + style="fill:#644d35" + inkscape:box3dsidetype="6" + d="m 40.189679,91.602674 v 6.011723 l 9.931941,-1.119023 v -5.007398 z" + points="40.189679,97.614397 50.12162,96.495374 50.12162,91.487976 40.189679,91.602674 " /> + <path + sodipodi:type="inkscape:box3dside" + style="fill:#fff4e9" + inkscape:box3dsidetype="11" + d="m 50.12162,91.487976 3.555924,0.07232 V 96.92569 L 50.12162,96.495374 Z" + points="53.677544,91.560292 53.677544,96.92569 50.12162,96.495374 50.12162,91.487976 " /> + <path + sodipodi:type="inkscape:box3dside" + style="fill:#9f764d" + inkscape:box3dsidetype="5" + d="m 40.189679,91.602674 3.466339,0.09807 10.021526,-0.140453 -3.555924,-0.07232 z" + points="43.656018,91.700745 53.677544,91.560292 50.12162,91.487976 40.189679,91.602674 " /> + <path + sodipodi:type="inkscape:box3dside" + style="fill:#ffebd7" + inkscape:box3dsidetype="14" + d="m 43.656018,91.700745 v 6.535239 L 53.677544,96.92569 v -5.365398 z" + points="43.656018,98.235984 53.677544,96.92569 53.677544,91.560292 43.656018,91.700745 " /> + <path + sodipodi:type="inkscape:box3dside" + style="fill:#bfa386" + inkscape:box3dsidetype="3" + d="m 40.189679,91.602674 3.466339,0.09807 v 6.535239 l -3.466339,-0.621587 z" + points="43.656018,91.700745 43.656018,98.235984 40.189679,97.614397 40.189679,91.602674 " /> + </g> + <use xlink:href="#box" x="20" y="0" width="100%" height="100%" /> +</svg> |