<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!-- <!DOCTYPE Movie SYSTEM "dtd/RVML.dtd"> --> <Movie version='6' width='600' height='700' rate='1' backgroundColor='white' compressed='No' xmlns="http://www.kineticfusion.org/RVML/2.0"> <Title> Elliptical Arcs Example </Title> <Desc> Illustrates the many ways in which elliptical arcs can be specified and how the arc properties determine which of four possible arcs is rendered. </Desc> <Definitions> <FontDefinition id='Arial' fontName='Arial' fontStyle='(bold)' fontRange='defined' /> <EditField id='largeClockwise' bounds='bounds(-2, -2.0, 150, 14.0)' fieldName='' fontID='Arial' fontSize='10.0' alignment='left' charLimit='0' color='black' properties='(systemFont)'> <InitialText>Large Clockwise</InitialText> </EditField> <EditField id='smallClockwise' bounds='bounds(-2, -2.0, 150, 14.0)' fieldName='' fontID='Arial' fontSize='10.0' alignment='left' charLimit='0' color='black' properties='(systemFont)'> <InitialText>Small Clockwise</InitialText> </EditField> <EditField id='largeCCW' bounds='bounds(-2, -2.0, 150, 14.0)' fieldName='' fontID='Arial' fontSize='10.0' alignment='left' charLimit='0' color='black' properties='(systemFont)'> <InitialText>Large Anti-clockwise</InitialText> </EditField> <EditField id='smallCCW' bounds='bounds(-2, -2.0, 150, 14.0)' fieldName='' fontID='Arial' fontSize='10.0' alignment='left' charLimit='0' color='black' properties='(systemFont)'> <InitialText>Small Anti-clockwise</InitialText> </EditField> <EditField id='allArcs' bounds='bounds(-2, -2.0, 150, 14.0)' fieldName='' fontID='Arial' fontSize='10.0' alignment='left' charLimit='0' color='black' properties='(systemFont)'> <InitialText>All Arcs</InitialText> </EditField> <EditField id='rotate1' bounds='bounds(-2, -2.0, 150, 14.0)' fieldName='' fontID='Arial' fontSize='10.0' alignment='left' charLimit='0' color='black' properties='(systemFont)'> <InitialText>Rotate -60 Degrees</InitialText> </EditField> <EditField id='rotate2' bounds='bounds(-2, -2.0, 150, 14.0)' fieldName='' fontID='Arial' fontSize='10.0' alignment='left' charLimit='0' color='black' properties='(systemFont)'> <InitialText>Rotate 60 Degrees</InitialText> </EditField> <Shape id='arcShape' bounds="auto"> <LineStyles> <LineStyle index="1" width="2.2" color="red"/> <LineStyle index="2" width="1.8" color="blue"/> <LineStyle index="3" width="1.4" color="green"/> <LineStyle index="4" width="1" color="yellow"/> </LineStyles> <FillStyles> <ColorFill index="1" color="black"/> </FillStyles> <Edges> <!-- First draw all the arcs in the same location --> <!-- Draw 4 possible arcs at specified rotation --> <SetStyle line="1" /> <Move x="-150" y="0"/> <EArc isRelative="Yes" rx='25' ry='50' ex="50" ey="50" large='Yes' clockwise='Yes' xRotation='0' /> <SetStyle line="2" /> <Move x="-150" y="0"/> <EArc isRelative="Yes" rx='25' ry='50' ex="50" ey="50" large='No' clockwise='Yes' xRotation='0' /> <SetStyle line="3" /> <Move x="-150" y="0"/> <EArc isRelative="Yes" rx='25' ry='50' ex="50" ey="50" large='Yes' clockwise='No' xRotation='0' /> <SetStyle line="4" /> <Move x="-150" y="0"/> <EArc isRelative="Yes" rx='25' ry='50' ex="50" ey="50" large='No' clockwise='No' xRotation='0' /> <!-- Draw 4 possible arcs at specified rotation --> <SetStyle line="1" /> <Move x="-150" y="200"/> <EArc isRelative="Yes" rx='25' ry='50' ex="50" ey="50" large='Yes' clockwise='Yes' xRotation='-60' /> <SetStyle line="2" /> <Move x="-150" y="200"/> <EArc isRelative="Yes" rx='25' ry='50' ex="50" ey="50" large='No' clockwise='Yes' xRotation='-60' /> <SetStyle line="3" /> <Move x="-150" y="200"/> <EArc isRelative="Yes" rx='25' ry='50' ex="50" ey="50" large='Yes' clockwise='No' xRotation='-60' /> <SetStyle line="4" /> <Move x="-150" y="200"/> <EArc isRelative="Yes" rx='25' ry='50' ex="50" ey="50" large='No' clockwise='No' xRotation='-60' /> <!-- Draw 4 possible arcs at specified rotation --> <SetStyle line="1" /> <Move x="-150" y="400"/> <EArc isRelative="Yes" rx='25' ry='50' ex="50" ey="50" large='Yes' clockwise='Yes' xRotation='60' /> <SetStyle line="2" /> <Move x="-150" y="400"/> <EArc isRelative="Yes" rx='25' ry='50' ex="50" ey="50" large='No' clockwise='Yes' xRotation='60' /> <SetStyle line="3" /> <Move x="-150" y="400"/> <EArc isRelative="Yes" rx='25' ry='50' ex="50" ey="50" large='Yes' clockwise='No' xRotation='60' /> <SetStyle line="4" /> <Move x="-150" y="400"/> <EArc isRelative="Yes" rx='25' ry='50' ex="50" ey="50" large='No' clockwise='No' xRotation='60' /> <!-- Now draw all the arcs across the stage - Just duplicate all the ops from above but moves each arc type to the right--> <!-- Draw 4 possible arcs at specified rotation --> <SetStyle line="1" /> <Move x="-50" y="0"/> <EArc isRelative="Yes" rx='25' ry='50' ex="50" ey="50" large='Yes' clockwise='Yes' xRotation='0' /> <SetStyle line="2" /> <Move x="50" y="0"/> <EArc isRelative="Yes" rx='25' ry='50' ex="50" ey="50" large='No' clockwise='Yes' xRotation='0' /> <SetStyle line="3" /> <Move x="150" y="0"/> <EArc isRelative="Yes" rx='25' ry='50' ex="50" ey="50" large='Yes' clockwise='No' xRotation='0' /> <SetStyle line="4" /> <Move x="250" y="0"/> <EArc isRelative="Yes" rx='25' ry='50' ex="50" ey="50" large='No' clockwise='No' xRotation='0' /> <!-- Draw 4 possible arcs at specified rotation --> <SetStyle line="1" /> <Move x="-50" y="200"/> <EArc isRelative="Yes" rx='25' ry='50' ex="50" ey="50" large='Yes' clockwise='Yes' xRotation='-60' /> <SetStyle line="2" /> <Move x="50" y="200"/> <EArc isRelative="Yes" rx='25' ry='50' ex="50" ey="50" large='No' clockwise='Yes' xRotation='-60' /> <SetStyle line="3" /> <Move x="150" y="200"/> <EArc isRelative="Yes" rx='25' ry='50' ex="50" ey="50" large='Yes' clockwise='No' xRotation='-60' /> <SetStyle line="4" /> <Move x="250" y="200"/> <EArc isRelative="Yes" rx='25' ry='50' ex="50" ey="50" large='No' clockwise='No' xRotation='-60' /> <!-- Draw 4 possible arcs at specified rotation --> <SetStyle line="1" /> <Move x="-50" y="400"/> <EArc isRelative="Yes" rx='25' ry='50' ex="50" ey="50" large='Yes' clockwise='Yes' xRotation='60' /> <SetStyle line="2" /> <Move x="50" y="400"/> <EArc isRelative="Yes" rx='25' ry='50' ex="50" ey="50" large='No' clockwise='Yes' xRotation='60' /> <SetStyle line="3" /> <Move x="150" y="400"/> <EArc isRelative="Yes" rx='25' ry='50' ex="50" ey="50" large='Yes' clockwise='No' xRotation='60' /> <SetStyle line="4" /> <Move x="250" y="400"/> <EArc isRelative="Yes" rx='25' ry='50' ex="50" ey="50" large='No' clockwise='No' xRotation='60' /> </Edges> </Shape> <!-- Shape with Curves --> </Definitions> <Timeline> <Frame> <Place name="allArcs" depth="1" x="50" y="30"/> <Place name="largeClockwise" depth="2" x="130" y="30"/> <Place name="smallClockwise" depth="3" x="225" y="30"/> <Place name="largeCCW" depth="4" x="330" y="30"/> <Place name="smallCCW" depth="5" x="450" y="30"/> <Place name="arcShape" depth="6" x="200" y="100"/> <Place name="rotate1" depth="7" x="5" y="250"/> <Place name="rotate2" depth="8" x="5" y="450"/> </Frame> </Timeline> </Movie>