aboutsummaryrefslogtreecommitdiffstats
path: root/test/resources/fop/svg/transparency.svg
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2002-06-21 15:17:36 +0000
committerKeiron Liddle <keiron@apache.org>2002-06-21 15:17:36 +0000
commitf4a8acc94ac3e14c126d178e6837cc85b6906552 (patch)
tree3e1e1782a4b0a4273201bf04319a71dbeec23dea /test/resources/fop/svg/transparency.svg
parent9060135317b286b5a2d36719e20fe25a17b2442e (diff)
downloadxmlgraphics-fop-f4a8acc94ac3e14c126d178e6837cc85b6906552.tar.gz
xmlgraphics-fop-f4a8acc94ac3e14c126d178e6837cc85b6906552.zip
more svg tests with transparency, patterns and images
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194908 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/resources/fop/svg/transparency.svg')
-rw-r--r--test/resources/fop/svg/transparency.svg39
1 files changed, 39 insertions, 0 deletions
diff --git a/test/resources/fop/svg/transparency.svg b/test/resources/fop/svg/transparency.svg
new file mode 100644
index 000000000..8f42e177f
--- /dev/null
+++ b/test/resources/fop/svg/transparency.svg
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20001102//EN"
+ "http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd">
+<svg width="400" height="400" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+
+<g>
+
+<text x="20" y="20" style="font-size:18">Transparency in SVG (to PDF)</text>
+
+<text x="20" y="35" style="font-size:12">Shapes</text>
+<rect x="30" y="55" width="100" height="80" style="fill:green;stroke:blue;stroke-width:3;fill-opacity:0.5;stroke-opacity:0.6"/>
+<rect x="80" y="95" width="100" height="80" style="fill:red;stroke:yellow;stroke-width:3;fill-opacity:0.5"/>
+
+
+</g>
+
+<g>
+<defs>
+ <filter id="Turb" filterUnits="objectBoundingBox"
+ x="0%" y="0%" width="100%" height="100%">
+ <feTurbulence type="fractalNoise" baseFrequency="0.1" numOctaves="1"/>
+ </filter>
+</defs>
+
+<text x="20" y="205" style="font-size:12">Image</text>
+ <rect x="20" y="210" width="40" height="35" style="fill:blue" />
+<text x="60" y="255" style="font-size:20;font-weight:bold">SEE</text>
+ <rect x="25" y="215" width="100" height="75" style="filter:url(#Turb)" />
+
+
+</g>
+
+<text x="220" y="35" style="font-size:12">Text</text>
+<rect x="240" y="55" width="130" height="50" style="fill:blue"/>
+<text x="280" y="75" style="font-size:20;font-weight:bold;fill-opacity:0.6;fill:green">SEE</text>
+<text x="250" y="95" style="font-size:20;font-weight:bold;fill-opacity:0.4;fill:orange;stroke:red">THROUGH</text>
+
+</svg>
+