diff options
author | Keiron Liddle <keiron@apache.org> | 2000-08-01 00:33:48 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2000-08-01 00:33:48 +0000 |
commit | d3524476111ff13acbc3dfaf02ad3be3d5c18f5d (patch) | |
tree | 3531f1afda2a2c2b59ca92fbf0253b9e58292bbd | |
parent | fdbf9e22d9af004f4391a76032311cf26b2e042b (diff) | |
download | xmlgraphics-fop-d3524476111ff13acbc3dfaf02ad3be3d5c18f5d.tar.gz xmlgraphics-fop-d3524476111ff13acbc3dfaf02ad3be3d5c18f5d.zip |
added arcs unit tests, which currently don't work
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193568 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | docs/examples/svg/UnitTests.xml | 4 | ||||
-rw-r--r-- | docs/examples/svg/test/arcs.svg | 18 |
2 files changed, 22 insertions, 0 deletions
diff --git a/docs/examples/svg/UnitTests.xml b/docs/examples/svg/UnitTests.xml index 458acacd1..392518060 100644 --- a/docs/examples/svg/UnitTests.xml +++ b/docs/examples/svg/UnitTests.xml @@ -100,6 +100,10 @@ <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 index 000000000..87a20e0d5 --- /dev/null +++ b/docs/examples/svg/test/arcs.svg @@ -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 |