summaryrefslogtreecommitdiffstats
path: root/ksvg/test/physics-motor.svg
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit47d455dd55be855e4cc691c32f687f723d9247ee (patch)
tree52e236aaa2576bdb3840ebede26619692fed6d7d /ksvg/test/physics-motor.svg
downloadtdegraphics-47d455dd55be855e4cc691c32f687f723d9247ee.tar.gz
tdegraphics-47d455dd55be855e4cc691c32f687f723d9247ee.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksvg/test/physics-motor.svg')
-rw-r--r--ksvg/test/physics-motor.svg43
1 files changed, 43 insertions, 0 deletions
diff --git a/ksvg/test/physics-motor.svg b/ksvg/test/physics-motor.svg
new file mode 100644
index 00000000..9956ad8e
--- /dev/null
+++ b/ksvg/test/physics-motor.svg
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20001102//EN" "http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd">
+
+<!-- Copyright 2002 Nikolas Zimmermann <wildfox@kde.org> -->
+<!-- "Der Gleichstrommotor" -->
+
+<svg width="650" height="850">
+ <title>physics-motor</title>
+ <desc>Der Gleichstrommotor</desc>
+
+ <defs>
+ <!-- Rotor Parts -->
+ <g id="rotor-p1">
+ <path d="M 300 350 C 300 320 400 320 400 350 z"/>
+ <rect x="320" y="350" width="60" height="74"/>
+
+ </g>
+
+ <g id="rotor-p2">
+ <path d="M 300 500 C 300 530 400 530 400 500 z"/>
+ <rect x="320" y="424" width="60" height="76"/>
+ </g>
+
+ <!-- Stator -->
+ <g id="stator">
+ <rect x="310" y="300" width="100" height="30" style="fill:red"/>
+ <rect x="310" y="540" width="100" height="30" style="fill:green"/>
+ </g>
+
+ <!-- Rotor -->
+ <g id="rotor">
+ <use x="10" y="10" xlink:href="#rotor-p2" style="fill:green;stroke:black"/>
+ <use x="10" y="10" xlink:href="#rotor-p1" style="fill:red;stroke:black"/>
+
+ <circle cx="360" cy="435" r="6" style="fill:black"/>
+ </g>
+ </defs>
+
+ <use xlink:href="#stator"/>
+ <use id="animate" xlink:href="#rotor"/>
+
+ <animateTransform xlink:href="#animate" begin="2s" dur="3s" attributeName="transform" type="rotate" from="0, 360, 435" to="360, 360, 435" repeatDur="indefinite"/>
+</svg>