diff options
Diffstat (limited to 'tests/img_scale_rep.smil')
-rw-r--r-- | tests/img_scale_rep.smil | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/img_scale_rep.smil b/tests/img_scale_rep.smil new file mode 100644 index 0000000..5a8d821 --- /dev/null +++ b/tests/img_scale_rep.smil @@ -0,0 +1,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> |