Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
271ea47490 |
@ -0,0 +1,71 @@
|
||||
<?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:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="210mm"
|
||||
height="297mm"
|
||||
id="mydoc"
|
||||
version="1.1">
|
||||
<defs>
|
||||
<path d="M 0 0 L 10 10 Z" id="path1"/>
|
||||
<pattern patternTransform="scale(2.0, 1.0)"></pattern>
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="1.9494022"
|
||||
inkscape:cx="337.21073"
|
||||
inkscape:cy="650.51398"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:window-width="3060"
|
||||
inkscape:window-height="1685"
|
||||
inkscape:window-x="140"
|
||||
inkscape:window-y="41"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata7">
|
||||
<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>
|
||||
<g transform="matrix(1.4498514,0,0,1.3641667,-107.03035,-167.3624)" style="fill:#fff;stroke:#d88;" id="A" inkscape:groupmode='layer'>
|
||||
<g transform="rotate(-45.759928,361.64932,382.80575)" style="fill:#eee;joker:url(#path1)" id="B">
|
||||
<!-- This is a comment to test svg.selection.get() -->
|
||||
<g transform="matrix(1,0,0.50642107,1,-193.8609,0)" style="fill:#ddd;" id="C">
|
||||
<path id="D" fill="#C00" opacity="0.2" transform="translate(30,10)"
|
||||
d="M30,130 L60,130 L60,120 L70,140 L60,160 L60,150 L30,150" />
|
||||
<rect transform="rotate(16.097889)"
|
||||
y="200" x="200" height="100" width="100"
|
||||
style="fill:#0000ff;stroke-width:1px;" id="E"/>
|
||||
<circle cx="100" cy="100" r="50" style="stroke:#f00;" id="F"/>
|
||||
<use xlink:href="#path1" id="G"/>
|
||||
<line x1="0" y1="80" x2="100" y2="20" id="H" />
|
||||
<polyline points="0,100 50,25 50,75 100,0" id="I" />
|
||||
<polygon points="0,100 50,25 50,75 100,0" id="J" />
|
||||
</g>
|
||||
</g>
|
||||
<g id="K" inkscape:label="Key">
|
||||
<g id="L" inkscape:label="Elm">
|
||||
<line x1="5" y1="5" x2="5.5" y2="10" id="M" transform="translate(10, 10);" inkscape:label="Mine" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.7 KiB |
@ -0,0 +1,18 @@
|
||||
# coding=utf-8
|
||||
from apply_transformations import ApplyTransformations
|
||||
from inkex.tester import ComparisonMixin, TestCase
|
||||
from inkex.tester.filters import CompareNumericFuzzy, CompareWithPathSpace
|
||||
|
||||
|
||||
class ApplyTransformations(ComparisonMixin, TestCase):
|
||||
effect_class = AddNodes
|
||||
comparisons = [
|
||||
tuple()
|
||||
]
|
||||
compare_file = "complextransforms.test.svg"
|
||||
compare_filters = [
|
||||
CompareWithPathSpace(),
|
||||
CompareNumericFuzzy(),
|
||||
]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user