]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
added arcs unit tests, which currently don't work
authorKeiron Liddle <keiron@apache.org>
Tue, 1 Aug 2000 00:33:48 +0000 (00:33 +0000)
committerKeiron Liddle <keiron@apache.org>
Tue, 1 Aug 2000 00:33:48 +0000 (00:33 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193568 13f79535-47bb-0310-9956-ffa450edef68

docs/examples/svg/UnitTests.xml
docs/examples/svg/test/arcs.svg [new file with mode: 0644]

index 458acacd1c00904ba1c10bf30dd302e04344015e..3925180609faec9ed0e806904b58e58af39244bf 100644 (file)
                                                <ExternalSVG file="test/shapes.svg"/>
                                                unit test
                                        </p>
+                                       <p>
+                                               <ExternalSVG file="test/arcs.svg"/>
+                                               Arcs using the arc command in the path data.
+                                       </p>
                                </Body>
                        </SubSection>
                </Section>
diff --git a/docs/examples/svg/test/arcs.svg b/docs/examples/svg/test/arcs.svg
new file mode 100644 (file)
index 0000000..87a20e0
--- /dev/null
@@ -0,0 +1,18 @@
+<?xml version="1.0" standalone="yes"?>
+<svg:svg width="600" height="200" viewBox="0 0 600 200" xmlns:svg="http://www.w3.org/TR/2000/WD-SVG-20000629/DTD/svg-20000629.dtd">
+<svg:title>Example arcs01 - arc commands in path data</svg:title>
+<svg:desc>Picture of a pie chart with two pie wedges and
+a picture of a line with arc blips</svg:desc>
+<svg:rect x="1" y="1" width="598" height="198"
+style="fill:none; stroke:blue; stroke-width:1"/>
+<svg:path d="M150,100 h-75 a75,75 0 1,0 75,-75 z"
+style="fill:red; stroke:blue; stroke-width:5"/>
+<svg:path d="M137,87 v-75 a75,75 0 0,0 -75,75 z"
+style="fill:yellow; stroke:blue; stroke-width:5"/>
+<svg:path d="M300,175 l 25,-12
+a12,12 -15 0,1 25,-12 l 25,-12
+a12,25 -15 0,1 25,-12 l 25,-12
+a12,37 -15 0,1 25,-12 l 25,-12
+a12,50 -15 0,1 25,-12 l 25,-12"
+style="fill:none; stroke:red; stroke-width:5" />
+</svg:svg>
\ No newline at end of file