]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
added test, currently not handled, for a transparency factor on whole image
authorKeiron Liddle <keiron@apache.org>
Fri, 2 Aug 2002 09:57:10 +0000 (09:57 +0000)
committerKeiron Liddle <keiron@apache.org>
Fri, 2 Aug 2002 09:57:10 +0000 (09:57 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195052 13f79535-47bb-0310-9956-ffa450edef68

test/resources/fop/svg/transparency.svg

index 8f42e177fac2475d20cf91c4d692de390152ccb2..e0b9585169a010f66c74b525ebeea03f71210e1b 100644 (file)
 <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>
 
+<text x="220" y="205" style="font-size:12">Uniform Image Transparency</text>
+<defs>
+      <filter id="matrixGreen" filterUnits="objectBoundingBox"
+              x="0%" y="0%" width="100%" height="100%">
+        <feTurbulence type="turbulence" baseFrequency="0.05" numOctaves="2" stitchTiles="noStitch" seed="0" result="turb"/>
+      <feColorMatrix type="matrix" values="0 0 0 0 0  0 1 0 0 0  0 0 0 0 0  0 0 0 0 1" />
+      </filter>
+</defs>
+<rect x="240" y="225" width="100" height="75" style="opacity:0.4;filter:url(#matrixGreen)" />
+
+
 </svg>