summaryrefslogtreecommitdiffstats
path: root/ksvg/test/animskew.svg
diff options
context:
space:
mode:
Diffstat (limited to 'ksvg/test/animskew.svg')
-rw-r--r--ksvg/test/animskew.svg44
1 files changed, 44 insertions, 0 deletions
diff --git a/ksvg/test/animskew.svg b/ksvg/test/animskew.svg
new file mode 100644
index 00000000..ab2a13f9
--- /dev/null
+++ b/ksvg/test/animskew.svg
@@ -0,0 +1,44 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20001102//EN"
+ "http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd">
+<svg width="10cm" height="5cm">
+ <desc>Animated skew + animated attributes ksvg-testcase</desc>
+
+ <g style="stroke:black; stroke-width:5" id="animskewg">
+ <line id="l1" x1="3cm" x2="6cm" y1="-1cm" y2="-1cm"/>
+
+ <line id="l2" x1="-1cm" x2="-1cm" y1="0.5cm" y2="4.5cm"/>
+ <line id="l3" x1="11cm" x2="11cm" y1="0.5cm" y2="4.5cm"/>
+
+ <line id="l4" x1="3cm" x2="6cm" y1="6cm" y2="6cm"/>
+ </g>
+
+ <animate xlink:href="#l1" attributeName="y1" begin="1s"
+ dur="5s" from="-1cm" to="0.5cm"/>
+ <animate xlink:href="#l1" attributeName="y2" begin="1s"
+ dur="5s" from="-1cm" to="0.5cm"/>
+
+ <animate xlink:href="#l2" attributeName="x1" begin="1s"
+ dur="5s" from="-1cm" to="3cm"/>
+ <animate xlink:href="#l2" attributeName="x2" begin="1s"
+ dur="5s" from="-1cm" to="3cm"/>
+
+ <animate xlink:href="#l3" attributeName="x1" begin="1s"
+ dur="5s" from="11cm" to="6cm"/>
+ <animate xlink:href="#l3" attributeName="x2" begin="1s"
+ dur="5s" from="11cm" to="6cm"/>
+
+ <animate xlink:href="#l4" attributeName="y1" begin="1s"
+ dur="5s" from="6cm" to="4.5cm"/>
+ <animate xlink:href="#l4" attributeName="y2" begin="1s"
+ dur="5s" from="6cm" to="4.5cm"/>
+
+ <animateTransform xlink:href="#animskewg" attributeName="transform" begin="7s"
+ dur="2s" type="skewX" from="0" to="10"/>
+ <animateTransform xlink:href="#animskewg" attributeName="transform" begin="9s"
+ dur="2s" type="skewX" from="10" to="0"/>
+ <animateTransform xlink:href="#animskewg" attributeName="transform" begin="11s"
+ dur="2s" type="skewX" from="0" to="-10"/>
+ <animateTransform xlink:href="#animskewg" attributeName="transform" begin="13s"
+ dur="2s" type="skewX" from="-10" to="0"/>
+</svg>