    <!--
                Copyright: Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
    See http://www.w3.org/Consortium/Legal/.
    Author: Aaron M. Cohen
             File Name: layout-regPointfit2.smil
      Media Components: 1 JPG
     Expected Behavior: Tests regPoint positioning layout with all fit values and all regAlign values.
                        The regPoint is in center of display region.
                        regAlign goes top to bottom and right to left,
    			  so, the image has to start from bottom-right, and turn around the centered window point:
    				right to left, bottom to top, left to right, top to bottom, centered ...
    			  This cycle is repeated for test each fit attribute value: fill, hidden, meet, scroll, slice
                        For this test, image is larger than the region in width and height.
                        refer  to the spec for proper behavior.
    -->
    <smil xmlns="http://www.w3.org/2001/SMIL20/Language">
        <head>
            <layout>
               <regPoint id="centeredCenter" top="150" left="150" regAlign="center"/>
               <topLayout width="300px" height="300px">
                   <region id="whole" top="0px" left="0px" width="100%" height="100%"/>
                </topLayout>
            </layout>
        </head>
        <body>
            <seq>
                <img region="whole" src="../images/smile.jpg" regAlign="topLeft" fit="fill" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="topMid" fit="fill" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="topRight" fit="fill" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="midRight" fit="fill" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="bottomRight" fit="fill" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="bottomMid" fit="fill" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="bottomLeft" fit="fill" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="midLeft" fit="fill" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="center" fit="fill" regPoint="centeredCenter" dur="2s"/>
            </seq>
            <seq>
                <img region="whole" src="../images/smile.jpg" regAlign="topLeft" fit="hidden" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="topMid" fit="hidden" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="topRight" fit="hidden" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="midRight" fit="hidden" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="bottomRight" fit="hidden" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="bottomMid" fit="hidden" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="bottomLeft" fit="hidden" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="midLeft" fit="hidden" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="center" fit="hidden" regPoint="centeredCenter" dur="2s"/>
            </seq>
            <seq>
                <img region="whole" src="../images/smile.jpg" regAlign="topLeft" fit="meet" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="topMid" fit="meet" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="topRight" fit="meet" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="midRight" fit="meet" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="bottomRight" fit="meet" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="bottomMid" fit="meet" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="bottomLeft" fit="meet" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="midLeft" fit="meet" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="center" fit="meet" regPoint="centeredCenter" dur="2s"/>
            </seq>
            <seq>
                <img region="whole" src="../images/smile.jpg" regAlign="topLeft" fit="scroll" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="topMid" fit="scroll" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="topRight" fit="scroll" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="midRight" fit="scroll" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="bottomRight" fit="scroll" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="bottomMid" fit="scroll" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="bottomLeft" fit="scroll" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="midLeft" fit="scroll" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="center" fit="scroll" regPoint="centeredCenter" dur="2s"/>
            </seq>
            <seq>
                <img region="whole" src="../images/smile.jpg" regAlign="topLeft" fit="slice" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="topMid" fit="slice" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="topRight" fit="slice" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="midRight" fit="slice" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="bottomRight" fit="slice" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="bottomMid" fit="slice" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="bottomLeft" fit="slice" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="midLeft" fit="slice" regPoint="centeredCenter" dur="2s"/>
                <img region="whole" src="../images/smile.jpg" regAlign="center" fit="slice" regPoint="centeredCenter" dur="2s"/>
            </seq>
        </body>
    </smil>