<ImageComposition xsi:noNamespaceSchemaLocation="https://www.skraper.net/ImageComposition.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Information ShortName="ArcadeSun HD"
               LongName="Arcade Sun HD 4:3"
               Description="Arcade cabinet w/ resources mapping"
               Author="MarbleMad &amp; Bkg2k" />
  <Viewport Color="#00FFFFFF" Width="1280" Height="960" />
  <Drawings>
    <Item IfSystem="IsNotInTheListOrAncestors:75" Type="LocalFile" LocalFilePath="NoArcade.png">
      <Display X="0%" Y="0%" Width="100%" Height="100%" Anchor="TopLeft" />
    </Item>
    <Item IfSystem="IsInTheListOrAncestors:75" TestOnly="true">
      <Children>
        <!-- Cabinet - Used as new reference for childrens -->
        <Item Type="LocalFile" LocalFilePath="Cabinet.png">
          <Display X="0%" Y="0%" Width="100!" Height="100%" Anchor="TopLeft" />
          <Children Reference="Parent">
            <!-- Projected screenshot -->
            <Item Type ="Include" LocalFilePath="ScreenShot.include.xml">
              <Display Mode="Distord" X="18.29%" Y="28.35%" X2="70.67%" Y2="28.35%" X3="79.00%" Y3="73.05%" X4="30.41%" Y4="86.58%" Antialiasing="High" />
            </Item>
            <!-- Projected marquee -->
            <Item Type ="Marquee">
              <Display Mode="Distord" X="25.64%" Y="02.27%" X2="81.27%" Y2="08.54%" X3="82.68%" Y3="21.96%" X4="28.24%" Y4="19.91%" Antialiasing="High" />
              <Fallback Type="ScreenMarqueeSmall">
                <Fallback Type="LocalFile" LocalFilePath="ArcadeMarquee.jpg" />
              </Fallback>
            </Item>
            <!-- Cabinet once again to anti-alias the srceenshot edges -->
            <Item Type="LocalFile" LocalFilePath="Cabinet.png">
              <Display X="0%" Y="0%" Width="100%" Height="100%" Anchor="TopLeft" />
            </Item>
          </Children>
        </Item>
        <!-- Wheel on right -->
        <Item Type="Wheel">
          <Display X="100%" Y="0%" Width="100!" Height="30!" Anchor="TopLeft" />
          <Rotation Angle="90" XOffset="0%" YOffset="0%" />
        </Item>
        <!-- System Wheel on bottom left -->
        <Item Type="SystemWheel">
          <Display X="0%" Y="100%" Width="20%" Height="20%" Anchor="BottomLeft" />
        </Item>
      </Children>
    </Item>
  </Drawings>
</ImageComposition>

<!--

Cabinet: 924x924

Marquee:
x1,y1 = 237,21  = 25.64,02.27
x2,y2 = 751,79  = 81.27,08.54
x3,y3 = 764,203 = 82.68,21.96
x4,y4 = 261,184 = 28.24,19.91

Screen:
x1,y1 = 169,262 = 18.29,28.35 
x2,y2 = 653,262 = 70.67,28.35
x3,y3 = 730,675 = 79.00,73.05
x4,y4 = 281,800 = 30.41,86.58

-->