summaryrefslogtreecommitdiffstats
path: root/ksvg/test/opacity.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/opacity.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/opacity.svg')
-rw-r--r--ksvg/test/opacity.svg41
1 files changed, 41 insertions, 0 deletions
diff --git a/ksvg/test/opacity.svg b/ksvg/test/opacity.svg
new file mode 100644
index 00000000..fa2b20e2
--- /dev/null
+++ b/ksvg/test/opacity.svg
@@ -0,0 +1,41 @@
+<svg width="600" height="200">
+ <!-- adapted from example opacity01 in SVG candidate recommendation 2 Aug 2000 -->
+ <path style="fill:#008" d="M50 50 L50 150 550 150 550 50z"/>
+ <g transform="translate(100,50)" style="opacity:1">
+ <path style="fill:#f00; opacity:1" d="M-30 0 L-10 20 10 0 -10 -20z"/>
+ <path style="fill:#0f0; opacity:1" d="M-10 0 L10 20 30 0 10 -20z"/>
+ </g>
+ <g transform="translate(200,50)" style="opacity:0.5">
+ <path style="fill:#f00; opacity:1" d="M-30 0 L-10 20 10 0 -10 -20z"/>
+ <path style="fill:#0f0; opacity:1" d="M-10 0 L10 20 30 0 10 -20z"/>
+ </g>
+ <g transform="translate(300,50)" style="opacity:1">
+ <path style="fill:#f00; opacity:0.5" d="M-30 0 L-10 20 10 0 -10 -20z"/>
+ <path style="fill:#0f0; opacity:0.5" d="M-10 0 L10 20 30 0 10 -20z"/>
+ </g>
+ <g transform="translate(400,50)" style="opacity:0.5">
+ <path style="fill:#f00; opacity:0.5" d="M-30 0 L-10 20 10 0 -10 -20z"/>
+ <path style="fill:#0f0; opacity:0.5" d="M-10 0 L10 20 30 0 10 -20z"/>
+ </g>
+
+ <g transform="translate(100,150)" style="opacity:1; stroke-width:5; stroke:#000">
+ <path style="fill:#f00; opacity:1" d="M-30 0 L-10 20 10 0 -10 -20z"/>
+ <path style="fill:#0f0; opacity:1" d="M-10 0 L10 20 30 0 10 -20z"/>
+ </g>
+ <g transform="translate(200,150)" style="opacity:0.5; stroke-width:5; stroke:#000">
+ <path style="fill:#f00; opacity:1" d="M-30 0 L-10 20 10 0 -10 -20z"/>
+ <path style="fill:#0f0; opacity:1" d="M-10 0 L10 20 30 0 10 -20z"/>
+ </g>
+ <g transform="translate(300,150)" style="opacity:1; stroke-width:5; stroke:#000">
+ <path style="fill:#f00; opacity:0.5" d="M-30 0 L-10 20 10 0 -10 -20z"/>
+ <path style="fill:#0f0; opacity:0.5" d="M-10 0 L10 20 30 0 10 -20z"/>
+ </g>
+ <g transform="translate(400,150)" style="opacity:0.5; stroke-width:5; stroke:#000">
+ <path style="fill:#f00; opacity:0.5" d="M-30 0 L-10 20 10 0 -10 -20z"/>
+ <path style="fill:#0f0; opacity:0.5" d="M-10 0 L10 20 30 0 10 -20z"/>
+ </g>
+ <g transform="translate(500,150)" style="opacity:1; stroke-width:5; stroke:#000">
+ <path style="fill:#f00; fill-opacity:0.5; stroke-opacity:0.5" d="M-30 0 L-10 20 10 0 -10 -20z"/>
+ <path style="fill:#0f0; fill-opacity:0.5; stroke-opacity:0.5" d="M-10 0 L10 20 30 0 10 -20z"/>
+ </g>
+</svg>