Add vectorizer test cases

This commit is contained in:
jaseg 2021-06-04 23:31:00 +02:00
parent 2e38e66f14
commit a26c04873e
6 changed files with 12458 additions and 0 deletions

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 232 KiB

73
svg-flatten/testdata/svg/rect_xform.svg vendored Normal file
View file

@ -0,0 +1,73 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="80mm"
height="100mm"
viewBox="0 0 80 100"
version="1.1"
id="svg8"
inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)"
sodipodi:docname="rect_xform.svg">
<defs
id="defs2" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.72380346"
inkscape:cx="7.5139508"
inkscape:cy="93.664958"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
inkscape:document-rotation="0"
showgrid="false"
inkscape:window-width="1920"
inkscape:window-height="1019"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<rect
width="100%"
height="100%"
fill="white"
id="rect5" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<g
id="g1260"
transform="matrix(0.39835601,0,0,0.39835601,22.49726,26.801125)"
style="stroke-width:2.51032">
<rect
width="104.30496"
height="97.649048"
id="foobar"
x="-89.525635"
y="-118.97292"
style="fill:#000000;stroke:none;stroke-width:0.0664187;stroke-linejoin:round;stop-color:#000000"
transform="matrix(-0.95222923,0.30538418,-0.11902797,-0.9928909,0,0)" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 227 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 226 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 226 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 227 KiB