summaryrefslogtreecommitdiffstats
path: root/tests/img_scale_rep.smil
blob: 5a8d821561cecc648bf59b2a99ca6c6519714f4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<smil>
  <head>
    <layout>
      <root-layout width="640" height="240" background-color="yellow"/>
      <region id="reg_img1" left="5" top="15" width="150" height="210" background-color="green"/>
      <region id="reg_img2" left="165" top="15" width="150" height="210" background-color="grey"/>
      <region id="reg_img3" left="325" top="15" width="150" height="210" background-color="yellow"/>
      <region id="reg_img4" left="485" top="15" width="150" height="210" background-color="purple"/>
    </layout>
  </head>
  <body>
    <par dur="2.5" repeatCount="indefinite">
      <img src="../icons/hi64-app-kmplayer.png" region="reg_img1" fit="fill" fill="freeze"/>
      <img src="../icons/hi64-app-kmplayer.png" region="reg_img2" fit="hidden" fill="freeze"/>
      <img src="../icons/hi64-app-kmplayer.png" region="reg_img3" fit="meet" fill="freeze"/>
      <img src="../icons/hi64-app-kmplayer.png" region="reg_img4" fit="slice" fill="freeze"/>
      <set targetElement="reg_img1" attributeName="width" to="75" begin="0.5s" dur="1s"/>
      <set targetElement="reg_img2" attributeName="width" to="75" begin="0.5s" dur="1s"/>
      <set targetElement="reg_img3" attributeName="width" to="75" begin="0.5s" dur="1s"/>
      <set targetElement="reg_img4" attributeName="width" to="75" begin="0.5s" dur="1s"/>
      <set targetElement="reg_img1" attributeName="height" to="75" begin="1s" dur="1s"/>
      <set targetElement="reg_img2" attributeName="height" to="75" begin="1s" dur="1s"/>
      <set targetElement="reg_img3" attributeName="height" to="75" begin="1s" dur="1s"/>
      <set targetElement="reg_img4" attributeName="height" to="75" begin="1s" dur="1s"/>
    </par>
  </body>
</smil>