<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!-- <!DOCTYPE Movie SYSTEM "dtd/RVML.dtd"> -->
<Movie version='6' width='600' height='550' rate='1' backgroundColor='white' compressed='No'
    xmlns="http://www.kineticfusion.org/RVML/2.0">
    <Title>
        Line Style and Scaling
    </Title>
    <Desc>
        Illustrates specifying dashed line attributes and the maximum sensitivity of line widths, 
        regardless of scale. To visibly differentiate between two different line widths, 
        they must differ by at least 0.04 pixels.
    </Desc>
    <Definitions>
        <!-- Small box with 2 line styles per side -->
        <Shape id='lineShape' bounds="auto">
            <LineStyles>
                <LineStyle index="1" width="0.01" color="red"/>
                <LineStyle index="2" width="0.03" color="red"/> <!-- Rendered same as below -->
                <LineStyle index="3" width="0.06" color="red"/>
                <LineStyle index="4" width="0.09" color="red"/> <!-- rendered same as below -->
                <LineStyle index="5" width="0.12" color="red"/>
            </LineStyles>
            <Edges>
                <SetStyle line="1" />
                <Move x="0" y="0"/>
                <Line x="2.5" y="0"/>
                <SetStyle line="2" />
                <Line x="5" y="0"/>
                <SetStyle line="3" />
                <Line x="5" y="2.5" />
                <SetStyle line="4" />
                <Line x="5" y="5" />
                <SetStyle line="5" />
                <Line x="0" y="5"/>
                <CArc ex="0" ey="0" cx="5" cy="2.5" clockwise="Yes"/>
            </Edges>
        </Shape>
        <!-- Small box with 2 dash line styles per side -->
        <Shape id='dashLineShape' bounds="auto">
            <LineStyles>
                <LineStyle index="1" width="0.01" color="blue" dashArray="(0.1, 0.2)"/>
                <LineStyle index="2" width="0.03" color="blue" dashArray="(0.2, 0.1)"/>
                <LineStyle index="3" width="0.06" color="blue" dashArray="(0.2, 0.2)"/>
                <LineStyle index="4" width="0.09" color="blue" dashArray="(0.1, 0.2,0.3)"/>
                <LineStyle index="5" width="0.12" color="blue" dashArray="(0.1, 0.2,0.3, 0.4)"/>
            </LineStyles>
            <Edges>
                <SetStyle line="1" />
                <Move x="0" y="0"/>
                <Line x="2.5" y="0"/>
                <SetStyle line="2" />
                <Line x="5" y="0"/>
                <SetStyle line="3" />
                <Line x="5" y="2.5" />
                <SetStyle line="4" />
                <Line x="5" y="5" />
                <SetStyle line="5" />
                <Line x="0" y="5"/>
                <CArc ex="0" ey="0" cx="5" cy="2.5" clockwise="Yes"/>
            </Edges>
        </Shape>
    </Definitions>
    <Timeline>
        <Frame >
            <Place name="lineShape" depth="1">
                <Transform translateX="70" translateY="10"/>
            </Place>
            <Place name="lineShape" depth="2">
                <Transform translateX="70" translateY="50" scaleX="5" scaleY="5"/>
            </Place>
            <Place name="lineShape" depth="3">
                <Transform translateX="70" translateY="90" scaleX="10" scaleY="10"/>
            </Place>
            <Place name="lineShape" depth="4">
                <Transform translateX="70" translateY="130" scaleX="20" scaleY="20"/>
            </Place>
            <Place name="lineShape" depth="5">
                <Transform translateX="70" translateY="170" scaleX="40" scaleY="50"/>
            </Place>
            
            <Place name="dashLineShape" depth="11">
                <Transform translateX="320" translateY="10"/>
            </Place>
            <Place name="dashLineShape" depth="12">
                <Transform translateX="320" translateY="50" scaleX="5" scaleY="5"/>
            </Place>
            <Place name="dashLineShape" depth="13">
                <Transform translateX="320" translateY="90" scaleX="10" scaleY="10"/>
            </Place>
            <Place name="dashLineShape" depth="14">
                <Transform translateX="320" translateY="130" scaleX="20" scaleY="20"/>
            </Place>
            <Place name="dashLineShape" depth="15">
                <Transform translateX="320" translateY="180" scaleX="40" scaleY="50"/>
            </Place>
        </Frame>
    </Timeline>
</Movie>