You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ke...@locus.apache.org on 2000/08/01 02:33:48 UTC

cvs commit: xml-fop/docs/examples/svg/test arcs.svg

keiron      00/07/31 17:33:48

  Modified:    docs/examples/svg UnitTests.xml
  Added:       docs/examples/svg/test arcs.svg
  Log:
  added arcs unit tests, which currently don't work
  
  Revision  Changes    Path
  1.2       +4 -0      xml-fop/docs/examples/svg/UnitTests.xml
  
  Index: UnitTests.xml
  ===================================================================
  RCS file: /home/cvs/xml-fop/docs/examples/svg/UnitTests.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- UnitTests.xml	2000/07/14 07:06:39	1.1
  +++ UnitTests.xml	2000/08/01 00:33:47	1.2
  @@ -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>
  
  
  
  1.1                  xml-fop/docs/examples/svg/test/arcs.svg
  
  Index: arcs.svg
  ===================================================================
  <?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>