<?xml version='1.0' ?>
<!-- <!DOCTYPE Movie SYSTEM "dtd/RVML.dtd"> -->
<Movie version='5' width='600' height='1100' rate='1' backgroundColor='rgb(255, 255, 255)' compressed='No'
	xmlns="http://www.kineticfusion.org/RVML/2.0">
	<Title>
		Examples of Elliptical Arcs and Circular Arcs
	</Title>
	<Desc>
		Illustrates various approaches for specifying arcs and the differences between EArcs and CArcs.
	</Desc>
	<Definitions>
		<Shape id='Shape1' bounds='bounds(0,0, 600, 800)'>
			<FillStyles>
				<ColorFill index='1' color='rgb(0, 102, 204)' />
			</FillStyles>
			<LineStyles>
			<!-- NBNBNB Ordering of styles is significant - higher styles go on top of lower styles -->
				<LineStyle index='1' width='4' color='rgb(255, 166, 0)' />
				<LineStyle index='2' width='3' color='rgb(0, 166, 0)' />
				<LineStyle index='3' width='4' color='rgb(255, 166, 0)' />
				<LineStyle index='4' width='3' color='rgb(0, 166, 0)' />
			</LineStyles>
			<Edges>
			<!-- Do some axes -->
				<Move x='100' y='200' />
				<SetStyle line='2' />
				<Move x='100' y='100' />
				<Line x='0' y='100' />
				<Move x='100' y='100' />
				<Line x='100' y='0' />
				<Move x='200' y='200' />
				<Line x='0' y='200' />
				<Move x='200' y='200' />
				<Line x='200' y='0' />
				<SetStyle line='1' />
		
				<!-- Arcs rotated around points on axes above -->
				<EArc sx='100' sy='100' ex='200' ey='200' rx='50' ry='100' large='No' clockwise='Yes' xRotation='-30' />
				<EArc sx='100' sy='100' ex='200' ey='200' rx='50' ry='100' large='No' clockwise='Yes' xRotation='0' />
				<EArc sx='100' sy='100' ex='200' ey='200' rx='50' ry='100' large='No' clockwise='Yes' xRotation='30' />
									
				<!-- SVG Arc example -->
				<Move x='100' y='1100' />
				<Line isRelative='Yes' x='50' y='-25' />
				<EArc isRelative='Yes' ex='50' ey='-25' rx='25' ry='25' large='No' clockwise='Yes' xRotation='-30' />
				<Line isRelative='Yes' x='50' y='-25' />
				<EArc isRelative='Yes' ex='50' ey='-25' rx='25' ry='50' large='No' clockwise='Yes' xRotation='-30' />
				<Line isRelative='Yes' x='50' y='-25' />
				<EArc isRelative='Yes' ex='50' ey='-25' rx='25' ry='75' large='No' clockwise='Yes' xRotation='-30' />
				<Line isRelative='Yes' x='50' y='-25' />
				<EArc isRelative='Yes' ex='50' ey='-25' rx='25' ry='100' large='No' clockwise='Yes' xRotation='-30' />
				<Line isRelative='Yes' x='50' y='-25' />


				<!-- Basic circular arc tests -->
				<SetStyle line='1' />
				<CArc sx='100' sy='100' cx='200' cy ='100' ex='300' ey='100' clockwise='Yes' />
				<SetStyle line='2' />
				<CArc cx='200' cy ='100' angle='90' clockwise='Yes' />

				<SetStyle line='1' />
				<CArc sx='100' sy='300' cx='200' cy ='300' angle='160' clockwise='Yes' />
				<SetStyle line='2' />
				<CArc cx='200' cy ='300' angle='50' clockwise='Yes' />

				<SetStyle line='1' />
				<CArc sx='100' sy='500' cx='200' cy ='500' angle='140' clockwise='No' />
				<SetStyle line='2' />
				<CArc cx='200' cy ='500' angle='30' clockwise='No' />

				<SetStyle line='1' />
				<Move x='100' y='700' />
				<CArc cx='200' cy ='700' angle='120' clockwise='No' />
				<SetStyle line='2' />
				<CArc cx='200' cy ='700' angle='10' clockwise='No' />

				<!-- Move over a bit and do full arcs -->
				<SetStyle line='1' />
				<CArc sx='350' sy='100' cx='450' cy ='100' ex='550' ey='100' clockwise='Yes' />
				<SetStyle line='2' />
				<CArc cx='450' cy ='100' angle='90' clockwise='Yes' />

				<SetStyle line='3' />
				<CArc sx='350' sy='300' cx='450' cy ='300' angle='230' clockwise='Yes' />
				<SetStyle line='2' />
				<CArc cx='450' cy ='300' angle='90' clockwise='Yes' />

				<SetStyle line='1' />
				<CArc sx='350' sy='500' cx='450' cy ='500' angle='220' clockwise='No' />
				<SetStyle line='2' />
				<CArc cx='450' cy ='500' angle='90' clockwise='No' />

				<SetStyle line='1' />
				<Move x='350' y='700' />
				<CArc cx='450' cy ='700' angle='190' clockwise='No' />
				<SetStyle line='2' />
				<CArc cx='450' cy ='700' angle='170' clockwise='No' />
			</Edges>
		</Shape>
	</Definitions>
	<Timeline>
		<Frame>
			<Place name='Shape1' depth='2' />
		</Frame>
	</Timeline>
</Movie>

