<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!-- <!DOCTYPE Movie SYSTEM "dtd/RVML.dtd"> -->
<Movie version='6' width='600' height='800' rate='1' backgroundColor='white' compressed='No'
    xmlns="http://www.kineticfusion.org/RVML/2.0">
    <Title>
        CArcs Example
    </Title>
    <Desc>
        Illustrates how to draw circular arcs using different formats of the CArc element.
    </Desc>
    <Definitions>
        <FontDefinition id='Arial' fontName='Arial' fontStyle='(bold)' fontRange='defined' />
        <EditField id='cwArcHeading' bounds='bounds(-2, -2.0, 150, 14.0)' fieldName='' fontID='Arial' fontSize='10.0' alignment='left' charLimit='0' color='black' properties='(systemFont)'>
            <InitialText>CW Arc</InitialText>
        </EditField>
        <EditField id='ccwArcHeading' bounds='bounds(-2, -2.0,150, 14.0)' fieldName='' fontID='Arial' fontSize='10.0' alignment='left' charLimit='0' color='black' properties='(systemFont)'>
            <InitialText>CCW Arc</InitialText>
        </EditField>

        <!-- Box shape with CArc to play around with -->
        <Shape id='cwArcBox' bounds="auto">
            <LineStyles>
                <LineStyle index="1" width="0.05" color="red"/>
            </LineStyles>
            <FillStyles>
                <ColorFill index="1" color="lightGrey"/>
            </FillStyles>
            <Edges>
                <SetStyle line="1" mainFill="1"/>
                <Move x="0" y="0"/>
                <Line isRelative="Yes" x="100"/>
                <Line isRelative="Yes" y="100"/>
                <CArc isRelative="Yes" ex="-100"  cx="-50" cy="-50" clockwise="Yes"/>
                <Line isRelative="Yes" y="-100"/>
            </Edges>
        </Shape>
        <Shape id='ccwArcBox' bounds="auto">
            <LineStyles>
                <LineStyle index="1" width="0.05" color="red"/>
            </LineStyles>
            <FillStyles>
                <ColorFill index="1" color="lightGrey"/>
            </FillStyles>
            <Edges>
                <SetStyle line="1" mainFill="1"/>
                <Move x="0" y="0"/>
                <Line isRelative="Yes" x="100"/>
                <Line isRelative="Yes" y="100"/>
                <CArc isRelative="Yes" ex="-100"  cx="-50" cy="-50" clockwise="No"/>
                <Line isRelative="Yes" y="-100"/>
            </Edges>
        </Shape>
        <Shape id='cwArcBox2' bounds="auto">
            <LineStyles>
                <LineStyle index="1" width="0.05" color="red"/>
            </LineStyles>
            <FillStyles>
                <ColorFill index="1" color="lightGrey"/>
            </FillStyles>
            <Edges>
                <SetStyle line="1" mainFill="1"/>
                <Move x="0" y="0"/>
                <Line isRelative="Yes" x="100"/>
                <Line isRelative="Yes" y="100"/>
                <CArc isRelative="Yes" ex="-100"  cx="-50" cy="50" clockwise="Yes"/>
                <Line isRelative="Yes" y="-100"/>
            </Edges>
        </Shape>
        <Shape id='ccwArcBox2' bounds="auto">
            <LineStyles>
                <LineStyle index="1" width="0.05" color="red"/>
            </LineStyles>
            <FillStyles>
                <ColorFill index="1" color="lightGrey"/>
            </FillStyles>
            <Edges>
                <SetStyle line="1" mainFill="1"/>
                <Move x="0" y="0"/>
                <Line isRelative="Yes" x="100"/>
                <Line isRelative="Yes" y="100"/>
                <CArc isRelative="Yes" ex="-100"  cx="-50" cy="50" clockwise="No"/>
                <Line isRelative="Yes" y="-100"/>
            </Edges>
        </Shape>
        <Shape id='pieWedge' bounds="auto">
            <LineStyles>
                <LineStyle index="1" width="0.05" color="red"/>
            </LineStyles>
            <FillStyles>
                <ColorFill index="1" color="lightGrey"/>
            </FillStyles>
            <Edges>
                <SetStyle line="1" mainFill="1"/>
                <Move x="0" y="0"/>
                <Line isRelative="Yes" x="100"/>
                <CArc cx="0" cy="0" angle="30" clockwise="Yes"/>
                <Line x="0" y="0"/>
                <ShapeTransform rotate="32">
                    <Line isRelative="Yes" x="100"/>
                    <CArc cx="0" cy="0" angle="45" clockwise="Yes"/>
                    <Line x="0" y="0"/>
                </ShapeTransform>
            </Edges>
        </Shape>
        <Shape id='pacMan' bounds="auto">
            <LineStyles>
                <LineStyle index="1" width="0.05" color="red"/>
            </LineStyles>
            <FillStyles>
                <ColorFill index="1" color="lightGrey"/>
            </FillStyles>
            <Edges>
                <SetStyle line="1" mainFill="1"/>
                <Move x="0" y="0"/>
                <Line isRelative="Yes" x="100"/>
                <CArc cx="0" cy="0" angle="30" clockwise="No"/>
                <Line x="0" y="0"/>
            </Edges>
        </Shape>
    </Definitions>
    <Timeline>
        <Frame >
            <Place name="cwArcHeading"  depth="1" x="150" y="30"/>
            <Place name="cwArcBox"      depth="2" x="150" y="80"/>
            <Place name="ccwArcHeading" depth="3" x="450" y="30"/>
            <Place name="ccwArcBox"     depth="4" x="450" y="80"/>
            <Place name="cwArcBox2"     depth="5" x="150" y="280"/>
            <Place name="ccwArcBox2"    depth="6" x="450" y="280"/>
            <Place name="pieWedge"      depth="7" x="150" y="580"/>
            <Place name="pacMan"        depth="8" x="450" y="580"/>
        </Frame>
    </Timeline>
</Movie>