Merge fixes from lp:~scouring/scour/transform, some sourced from lp:~ecmanaut/scour/transform.
|
|
@ -42,4 +42,4 @@
|
|||
xmlns:sfw="http://ns.adobe.com/SaveForWeb/1.0/"
|
||||
sfw:baz="1"
|
||||
ok:baz="1" />
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
|
@ -20,4 +20,4 @@
|
|||
<path d="m1,1z"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
|
@ -3,4 +3,4 @@
|
|||
<script type="application/ecmascript"><![CDATA[
|
||||
alert('pb&j');
|
||||
]]></script>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 183 B After Width: | Height: | Size: 184 B |
|
|
@ -8,4 +8,4 @@
|
|||
<radialGradient id="g2" xlink:href="#g1" cx="50%" cy="50%" r="30%" gradientUnits="objectBoundingBox"/>
|
||||
</defs>
|
||||
<rect fill="url(#g2)" width="200" height="200"/>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 506 B After Width: | Height: | Size: 507 B |
|
|
@ -8,4 +8,4 @@
|
|||
<radialGradient id="grad2" xlink:href="#grad1" cx="100" cy="100" r="70"/>
|
||||
</defs>
|
||||
<rect fill="url(#grad2)" width="200" height="200"/>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 546 B After Width: | Height: | Size: 547 B |
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="210" height="210">
|
||||
<path stroke="yellow" fill="red" d="M100,100 L200.12345,200.12345 C215,205 185,195 200.12,200.12 Z"/>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 274 B After Width: | Height: | Size: 275 B |
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<!-- Oh look a comment -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 130 B After Width: | Height: | Size: 131 B |
|
|
@ -3,4 +3,4 @@
|
|||
<!-- Comment #2 -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
</svg>
|
||||
<!-- After -->
|
||||
<!-- After -->
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 120 B After Width: | Height: | Size: 121 B |
|
|
@ -6,4 +6,4 @@
|
|||
<circle id="e" r="20" fill="#0f0"/>
|
||||
</g>
|
||||
<use xlink:href="#e" />
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 323 B After Width: | Height: | Size: 324 B |
|
|
@ -3,4 +3,4 @@
|
|||
<path fill="#F00" stroke="#0F0" d="M100,100h100h100v100h-200z"/>
|
||||
<path fill="#F00" stroke="#0F0" d="M100,300h100,100v100h-200z"/>
|
||||
<path fill="#F00" stroke="#0F0" d="M100,500h300h-100v100h-200z"/>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 298 B After Width: | Height: | Size: 299 B |
|
|
@ -24,4 +24,4 @@
|
|||
<rect height="300" width="300"/>
|
||||
<circle class="circ" cx="350" cy="350" r="40"/>
|
||||
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 690 B After Width: | Height: | Size: 691 B |
|
|
@ -10,4 +10,4 @@
|
|||
</defs>
|
||||
<rect fill="url(#g2)" width="200" height="200"/>
|
||||
<rect fill="url(#g3)" width="200" height="200" y="200"/>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 598 B After Width: | Height: | Size: 599 B |
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<rect fill="red" width="100" height="100" />
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 148 B After Width: | Height: | Size: 149 B |
|
|
@ -9,4 +9,4 @@
|
|||
</linearGradient>
|
||||
</defs>
|
||||
<rect style="fill: url(#sea-gradient) rgb(0, 0, 0);" y="0" x="0" height="100" width="100"/>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 496 B After Width: | Height: | Size: 497 B |
|
|
@ -4,4 +4,4 @@
|
|||
<g transform="translate(10,10)">
|
||||
<rect width="300" height="200" fill="green" />
|
||||
</g>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 202 B After Width: | Height: | Size: 203 B |
|
|
@ -1,3 +1,3 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<metadata></metadata>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 71 B After Width: | Height: | Size: 72 B |
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" ?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<style id="style1" />
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 96 B After Width: | Height: | Size: 97 B |
|
|
@ -2,4 +2,4 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<path style="fill: none; fill-rule: nonzero; fill-opacity: 0.5;" d="M 7.7592046,36.982095 C 7.8831049,40.873696 7.8339808,45.305308 7.8339808,49.436888 Z" />
|
||||
<path style="fill: black; fill-rule: evenodd; fill-opacity: 0.5;" d="M 7.7592046,36.982095 C 7.8831049,40.873696 7.8339808,45.305308 7.8339808,49.436888 Z" />
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 429 B After Width: | Height: | Size: 430 B |
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<rect style="font-size:20px" width="100" height="100" />
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 162 B |
|
|
@ -19,4 +19,4 @@
|
|||
</rdf:Description>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 764 B After Width: | Height: | Size: 765 B |
|
|
@ -7,4 +7,4 @@
|
|||
<radialGradient id="g2" xlink:href="#g1" cx="50%" cy="0.5" r="50%" fx="50%" fy="0.5"/>
|
||||
<rect width="100" height="100" fill="url(#g)"/>
|
||||
<rect width="50" height="50" fill="url(#g2)"/>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 535 B After Width: | Height: | Size: 536 B |
|
|
@ -15,4 +15,4 @@
|
|||
<defs>
|
||||
<example:odor id="odor1423" fill="grape"/>
|
||||
</defs>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 608 B After Width: | Height: | Size: 609 B |
|
|
@ -15,4 +15,4 @@
|
|||
<defs>
|
||||
<example:odor id="odor1423" fill="grape"/>
|
||||
</defs>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 594 B After Width: | Height: | Size: 595 B |
|
|
@ -10,4 +10,4 @@
|
|||
<rect width="300" height="200" fill="green" />
|
||||
<circle cx="200" cy="100" r="50" fill="yellow" />
|
||||
</g>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 364 B After Width: | Height: | Size: 365 B |
|
|
@ -8,4 +8,4 @@
|
|||
</linearGradient>
|
||||
</defs>
|
||||
<rect id='r2' fill="url(#Polka_Dot_Pattern)" />
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 347 B After Width: | Height: | Size: 348 B |
|
|
@ -9,4 +9,4 @@
|
|||
</g>
|
||||
</defs>
|
||||
<rect fill="url(#g1)" width="100" height="100" />
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 304 B After Width: | Height: | Size: 305 B |
|
|
@ -4,4 +4,4 @@ xmlns:foo="http://www.inkscape.org/namespaces/inkscape"
|
|||
inkscape:version="0.46" version="1.0">
|
||||
<inkscape:perspective inkscape:vp_x="0 : 526.18109 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_z="744.09448 : 526.18109 : 1" inkscape:persp3d-origin="372.04724 : 350.78739 : 1" id="perspective3104"/>
|
||||
<rect width="300" height="200" fill="green" inkscape:collect="always" foo:bar="1"/>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 544 B After Width: | Height: | Size: 545 B |
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<metadata>This is a metadata element with only text node children</metadata>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 181 B After Width: | Height: | Size: 182 B |
|
|
@ -7,4 +7,4 @@
|
|||
</g>
|
||||
<circle fill="#0F0" stroke="0F0" cx="50" cy="50" r="20" />
|
||||
</g>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 367 B After Width: | Height: | Size: 368 B |
|
|
@ -10,4 +10,4 @@
|
|||
Goodbye
|
||||
<tspan font-style="italic">Cruel World!</tspan>
|
||||
</text>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 435 B After Width: | Height: | Size: 436 B |
|
|
@ -6,4 +6,4 @@
|
|||
<circle cx="200" cy="100" r="50" fill="yellow" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 252 B After Width: | Height: | Size: 253 B |
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M 385,201 V181 l100,-50 h20 C 505.43501,223.44223 659.42238,164.82405 714.32160,-0.0015300000 C 649.90356,227.13187 497.48814,312.46353 371.30643,277.40123 C 245.12472,242.33893 157.17674,250.88268 121.69357,12.440270 C 211.69357,149.44027 323.87473,190.08578 385.88362,201.47812 z " fill="blue"/>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 415 B After Width: | Height: | Size: 416 B |
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg version="1.1" viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="m10,100c50-50,50,50,100,0,50-50,50,50,100,0" fill="none" stroke="blue" stroke-width="5"/>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 239 B After Width: | Height: | Size: 240 B |
|
|
@ -2,4 +2,4 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="m100 100 l200 100 m0 0z" />
|
||||
<path d="m100 100 v200 m0 0 100 100z" />
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 151 B After Width: | Height: | Size: 152 B |
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<path stroke="#000" d="M100,100,100,200 M300,100,100,100 M300,200,300,100" fill="none"/>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 192 B After Width: | Height: | Size: 193 B |
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg version="1.1" viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="m10,100q50-50,100,0,50,50,100,0" fill="none" stroke="blue" stroke-width="5"/>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 227 B After Width: | Height: | Size: 228 B |
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1781 1142">
|
||||
<path d="m 0,0 l 2.e-4,0 z"/>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 158 B After Width: | Height: | Size: 159 B |
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill="none" stroke="#000" d="M10,10h100v100h-100z"/>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 162 B |
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<polygon fill="blue" points="10000,50" />
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 146 B |
|
|
@ -2,4 +2,4 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<polygon fill="blue" points="50,50 150,50 150,150 50,150 +5e1,500.00e-1" />
|
||||
<polygon fill="green" points="200,50 300,50 300,150 200,150" />
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 244 B After Width: | Height: | Size: 245 B |
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<polyline fill="blue" points="10000,50" />
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 146 B After Width: | Height: | Size: 147 B |
|
|
@ -7,4 +7,4 @@
|
|||
</linearGradient>
|
||||
</defs>
|
||||
<rect width="100" height="100" fill="url("#g")"/>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 371 B After Width: | Height: | Size: 372 B |
|
|
@ -5,4 +5,4 @@
|
|||
<title>Test</title>
|
||||
</svg:rect>
|
||||
<vector:rect height="100" width="100"/>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 330 B After Width: | Height: | Size: 331 B |
|
|
@ -8,4 +8,4 @@
|
|||
</linearGradient>
|
||||
</defs>
|
||||
<rect id='r2' fill="url(#Polka_Dot_Pattern)" />
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 338 B After Width: | Height: | Size: 339 B |
|
|
@ -5,4 +5,4 @@
|
|||
<g id="G"><use xlink:href="#L"/> <path stroke="#000000" d="M0,100 100,0"/></g>
|
||||
</defs>
|
||||
<use xlink:href="#G"/>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 345 B After Width: | Height: | Size: 346 B |
|
|
@ -5,4 +5,4 @@
|
|||
<rect fill="#FFF" stroke="#000" width="200" height="100"/>
|
||||
<circle fill="#0F0" stroke="#0F0" cx="50" cy="50" r="20"/>
|
||||
</g>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 327 B After Width: | Height: | Size: 328 B |
|
|
@ -2,4 +2,4 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" x="1.0000000" y="1.0000000">
|
||||
<rect x="123.4567" y="123.00" width="300.00001" height="1E+02" fill="lime" />
|
||||
<rect x="123.4567px" y="35.000ex" width="300.00001pt" height="5E+01%" fill="blue" />
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 295 B After Width: | Height: | Size: 296 B |
|
|
@ -7,4 +7,4 @@
|
|||
</linearGradient>
|
||||
</defs>
|
||||
<rect fill="url(#this-abomination-should-be-shortened-to-a-single-letter)" x="20" y="20" width="160" height="160" />
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 447 B After Width: | Height: | Size: 448 B |
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill="blue" d="M10,10c10,10,30,30,40,40l40-40z"/>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 159 B After Width: | Height: | Size: 160 B |
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<path id="p" fill="black" style="stroke: none; stroke-width: 1px; stroke-linecap: butt; stroke-dasharray: none; stroke-dashoffset: 2; stroke-linejoin: miter; stroke-opacity: 1;" d="M 7.7592046,36.982095 C 7.8831049,40.873696 7.8339808,45.305308 7.8339808,49.436888 Z" />
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 378 B After Width: | Height: | Size: 379 B |
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<path id="p" fill="black" style="stroke: rgb(0, 0, 0); stroke-width: 0; stroke-linecap: butt; stroke-dasharray: none; stroke-dashoffset: 2; stroke-linejoin: miter; stroke-opacity: 1;" d="M 7.7592046,36.982095 C 7.8831049,40.873696 7.8339808,45.305308 7.8339808,49.436888 Z" />
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 384 B After Width: | Height: | Size: 385 B |
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<path id="p" fill="black" style="stroke: rgb(0, 0, 0); stroke-width: 1px; stroke-linecap: butt; stroke-dasharray: none; stroke-dashoffset: 2; stroke-linejoin: miter; stroke-opacity: 0;" d="M 7.7592046,36.982095 C 7.8831049,40.873696 7.8339808,45.305308 7.8339808,49.436888 Z" />
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 386 B After Width: | Height: | Size: 387 B |
|
|
@ -6,4 +6,4 @@
|
|||
</marker>
|
||||
</defs>
|
||||
<line x2="100" style="stroke:#000; marker-start:url(#m); marker-end:url(#m); marker-mid: url(#m)" />
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 252 B After Width: | Height: | Size: 253 B |
3
unittests/transform-matrix-is-identity.svg
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 9 9">
|
||||
<line stroke="rgba(255,0,0,0.5)" y1="9" x1="9" transform="matrix(1 0 0 1 0 0)"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 162 B |
4
unittests/transform-matrix-is-rotate-135.svg
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="-9 0 9 9">
|
||||
<line stroke="rgba(255,0,0,0.5)" y1="9" x1="9" transform="matrix(-0.70710678118654746 0.70710678118654757 -0.70710678118654757 -0.70710678118654746 0 0)"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 293 B |
4
unittests/transform-matrix-is-rotate-45.svg
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="-9 0 9 9">
|
||||
<line stroke="rgba(255,0,0,0.5)" y1="9" x1="9" transform="matrix(0.70710678118654757 0.70710678118654746 -0.70710678118654746 0.70710678118654757 0 0)"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 291 B |
4
unittests/transform-matrix-is-rotate-90.svg
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="-9 0 9 9">
|
||||
<line stroke="rgba(255,0,0,0.5)" y1="9" x1="9" transform="matrix(0 1 -1 0 0 0)"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 219 B |
4
unittests/transform-matrix-is-rotate-neg-135.svg
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="-9 0 9 9">
|
||||
<line stroke="rgba(255,0,0,0.5)" y1="9" x1="9" transform="matrix(-0.70710678118654746 -0.70710678118654757 0.70710678118654757 -0.70710678118654746 0 0)"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 293 B |
4
unittests/transform-matrix-is-rotate-neg-45.svg
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="-9 0 9 9">
|
||||
<line stroke="rgba(255,0,0,0.5)" y1="9" x1="9" transform="matrix(0.70710678118654757 -0.70710678118654746 0.70710678118654746 0.70710678118654757 0 0)"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 291 B |
4
unittests/transform-matrix-is-rotate-neg-90.svg
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="-9 0 9 9">
|
||||
<line stroke="rgba(255,0,0,0.5)" y1="9" x1="9" transform="matrix(0 -1 1 0 0 0)"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 219 B |
3
unittests/transform-matrix-is-scale-2-3.svg
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 18 27">
|
||||
<line stroke="rgba(255,0,0,0.5)" y1="9" x1="9" transform="matrix(2 0 0 3 0 0)"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 164 B |
4
unittests/transform-matrix-is-scale-neg-1.svg
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="-9 -9 9 9">
|
||||
<line stroke="rgba(255,0,0,0.5)" y1="9" x1="9" transform="matrix(-1 0 0 -1 0 0)"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 221 B |
3
unittests/transform-matrix-is-translate.svg
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="2 3 9 9">
|
||||
<line stroke="rgba(255,0,0,0.5)" y1="9" x1="9" transform="matrix(1 0 0 1 2 3)"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 162 B |
5
unittests/transform-rotate-fold-3args.svg
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="-9 0 9 9">
|
||||
<line stroke="rgba(255,0,0,0.5)" y1="9" x1="9" transform="rotate(90 0 0.0)"/>
|
||||
<!-- optional zero trailing args to transform type rotate get removed -->
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 291 B |
3
unittests/transform-rotate-is-identity.svg
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 9 9">
|
||||
<line transform="rotate(-300) rotate(-60)" stroke="red" y1="9" x1="9"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 153 B |
4
unittests/transform-skewX-is-identity.svg
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 9 9">
|
||||
<line stroke="rgba(255,0,0,0.5)" y1="9" x1="9" transform="skewX(0)"/>
|
||||
<!-- skewX(0) is the identity transform, which can safely be removed -->
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 226 B |
4
unittests/transform-skewY-is-identity.svg
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 9 9">
|
||||
<line stroke="rgba(255,0,0,0.5)" y1="9" x1="9" transform="skewY(0)"/>
|
||||
<!-- skewY(0) is the identity transform, which can safely be removed -->
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 226 B |
5
unittests/transform-translate-is-identity.svg
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="-9 0 9 9">
|
||||
<line stroke="rgba(255,0,0,0.5)" y1="9" x1="9" transform="translate(0, 20) translate(10) translate(-10 -20.0)"/>
|
||||
<line stroke="rgba(0,0,255,0.5)" y1="9" x1="9"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 300 B |
|
|
@ -3,4 +3,4 @@
|
|||
<linearGradient id="Polka_Dot_Pattern">
|
||||
<stop offset="0.5" stop-color="blue" />
|
||||
</linearGradient>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 213 B After Width: | Height: | Size: 214 B |
|
|
@ -3,4 +3,4 @@
|
|||
<pattern id="Polka_Dot_Pattern">
|
||||
<polygon fill="none" points="71.125,-1.896 2.125,-1.896 2.125,-70.896 71.125,-70.896" />
|
||||
</pattern>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 238 B |
|
|
@ -3,4 +3,4 @@
|
|||
<radialGradient id="Polka_Dot_Pattern">
|
||||
<stop offset="0.5" stop-color="blue" />
|
||||
</radialGradient>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 202 B After Width: | Height: | Size: 203 B |
|
|
@ -2,4 +2,4 @@
|
|||
<svg xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg">
|
||||
<desc>ú</desc>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 167 B After Width: | Height: | Size: 168 B |
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<text xml:space="preserve"><tspan font-style="italic">Use <tspan font-style="bold">bold</tspan> text</tspan></text>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 219 B After Width: | Height: | Size: 220 B |
|
|
@ -21,4 +21,4 @@
|
|||
<rect height="69.247704" width="319.89233" fill="url(#linearGradient1657)"/>
|
||||
<rect fill="url(#linearGradient2465)" width="319.99103" height="69.247704"/>
|
||||
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |