aboutsummaryrefslogtreecommitdiffstats
path: root/test/resources/fop/svg/images.svg
diff options
context:
space:
mode:
Diffstat (limited to 'test/resources/fop/svg/images.svg')
-rw-r--r--test/resources/fop/svg/images.svg43
1 files changed, 43 insertions, 0 deletions
diff --git a/test/resources/fop/svg/images.svg b/test/resources/fop/svg/images.svg
new file mode 100644
index 000000000..cad4de988
--- /dev/null
+++ b/test/resources/fop/svg/images.svg
@@ -0,0 +1,43 @@
+<?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">Images in SVG</text>
+
+<text x="20" y="35" style="font-size:12">Jpeg</text>
+<image x="30" y="55" width="100" height="80" xlink:href="logo.jpg"/>
+</g>
+
+<text x="20" y="160" style="font-size:12">Effect or Bitmap</text>
+<g>
+<defs>
+ <filter id="Turb1" filterUnits="objectBoundingBox"
+ x="0%" y="0%" width="100%" height="100%">
+ <feTurbulence type="fractalNoise" baseFrequency="0.1" numOctaves="1"/>
+ </filter>
+ <filter id="Turb2" filterUnits="objectBoundingBox"
+ x="0%" y="0%" width="100%" height="100%">
+ <feTurbulence type="fractalNoise" baseFrequency="0.15" numOctaves="1"/>
+ </filter>
+</defs>
+ <rect x="25" y="165" width="100" height="75" style="filter:url(#Turb1)" />
+
+
+<text x="20" y="255" style="font-size:12">Transparency</text>
+ <rect x="20" y="260" width="40" height="35" style="fill:blue" />
+<text x="60" y="305" style="font-size:20;font-weight:bold">SEE</text>
+ <rect x="25" y="265" width="100" height="75" style="filter:url(#Turb2)" />
+
+
+<text x="200" y="35" style="font-size:12">Scaled</text>
+<g transform="scale(4)">
+ <rect x="55" y="15" width="25" height="18.75" style="filter:url(#Turb1)" />
+</g>
+
+</g>
+
+</svg>
+