Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/diagram-definition/org.eclipse.papyrus.dd.editor/batik-1.7/samples/tests/spec/filters/feComponentTransfer2.svg')
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd.editor/batik-1.7/samples/tests/spec/filters/feComponentTransfer2.svg221
1 files changed, 221 insertions, 0 deletions
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd.editor/batik-1.7/samples/tests/spec/filters/feComponentTransfer2.svg b/extraplugins/diagram-definition/org.eclipse.papyrus.dd.editor/batik-1.7/samples/tests/spec/filters/feComponentTransfer2.svg
new file mode 100644
index 00000000000..34f547332ea
--- /dev/null
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd.editor/batik-1.7/samples/tests/spec/filters/feComponentTransfer2.svg
@@ -0,0 +1,221 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
+"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
+
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<!-- ========================================================================= -->
+<!-- Test description here -->
+<!-- -->
+<!-- @author vincent.hardy@eng.sun.com -->
+<!-- @version $Id: feComponentTransfer2.svg 475477 2006-11-15 22:44:28Z cam $ -->
+<!-- ========================================================================= -->
+
+<?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?>
+
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="body" width="450" height="500" viewBox="0 0 450 500">
+<title>Filter Effect: feComponentTransfer (2)</title>
+ <!-- ============================================================= -->
+ <!-- Test content -->
+ <!-- ============================================================= -->
+ <g id="testContent">
+
+
+<g>
+ <text x="225" y="40" class="title">
+ Filter Effect: feComponentTransfer (2)
+ </text>
+ <g transform="translate(30,62.5)">
+ <defs>
+ <filter id="turbSource" filterUnits="objectBoundingBox"
+ x="0%" y="0%" width="100%" height="100%">
+ <feTurbulence type="turbulence" baseFrequency="0.05" numOctaves="2"/>
+ </filter>
+
+ <filter id="tableIdentity" filterUnits="objectBoundingBox"
+ x="0%" y="0%" width="100%" height="100%">
+ <feTurbulence type="turbulence" baseFrequency="0.05" numOctaves="2"/>
+ <feComponentTransfer
+ x="0%" y="0%" width="100%" height="100%" >
+ <feFuncR type="table" tableValues="0 1" />
+ <feFuncG type="table" tableValues="0 1" />
+ <feFuncB type="table" tableValues="0 1" />
+ <feFuncA type="table" tableValues="0 1" />
+ </feComponentTransfer>
+ </filter>
+
+ <filter id="tableInvertRGB" filterUnits="objectBoundingBox"
+ x="0%" y="0%" width="100%" height="100%">
+ <feTurbulence type="turbulence" baseFrequency="0.05" numOctaves="2"/>
+ <feComponentTransfer
+ x="0%" y="0%" width="100%" height="100%" >
+ <feFuncR type="table" tableValues="1 0" />
+ <feFuncG type="table" tableValues="1 0" />
+ <feFuncB type="table" tableValues="1 0" />
+ <feFuncA type="linear" slope="0" intercept="1" />
+ </feComponentTransfer>
+ </filter>
+
+ <filter id="tableBlueGreenTint" filterUnits="objectBoundingBox"
+ x="0%" y="0%" width="100%" height="100%">
+ <feTurbulence type="turbulence" baseFrequency="0.05" numOctaves="2"/>
+ <feColorMatrix type="luminanceToAlpha" />
+ <feColorMatrix type="matrix" values="0 0 0 -1 1 0 0 0 -1 1 0 0 0 -1 1 0 0 0 0 1" />
+ <feComponentTransfer
+ x="0%" y="0%" width="100%" height="100%" >
+ <feFuncR type="table" tableValues="0 0 0 .2 1" />
+ <feFuncG type="table" tableValues="0 0 .3 .9 1" />
+ <feFuncB type="table" tableValues="0 .3 .6 .9 1" />
+ <feFuncA type="linear" slope="1" intercept="0" />
+ </feComponentTransfer>
+ </filter>
+
+ <filter id="tableRedOrangeTint" filterUnits="objectBoundingBox"
+ x="0%" y="0%" width="100%" height="100%">
+ <feTurbulence type="turbulence" baseFrequency="0.05" numOctaves="2"/>
+ <feColorMatrix type="luminanceToAlpha" />
+ <feColorMatrix type="matrix" values="0 0 0 -1 1 0 0 0 -1 1 0 0 0 -1 1 0 0 0 0 1" />
+ <feComponentTransfer
+ x="0%" y="0%" width="100%" height="100%" >
+ <feFuncR type="table" tableValues="0 .3 .6 .9 1" />
+ <feFuncG type="table" tableValues="0 0 .3 .9 1" />
+ <feFuncB type="table" tableValues="0 0 0 0 1" />
+ <feFuncA type="linear" slope="1" intercept="0" />
+ </feComponentTransfer>
+ </filter>
+
+ <filter id="tableGreenGreenTint" filterUnits="objectBoundingBox"
+ x="0%" y="0%" width="100%" height="100%">
+ <feTurbulence type="turbulence" baseFrequency="0.05" numOctaves="2"/>
+ <feColorMatrix type="luminanceToAlpha" />
+ <feColorMatrix type="matrix" values="0 0 0 -1 1 0 0 0 -1 1 0 0 0 -1 1 0 0 0 0 1" />
+ <feComponentTransfer
+ x="0%" y="0%" width="100%" height="100%" >
+ <feFuncR type="table" tableValues="0 0 0 .6 1" />
+ <feFuncG type="table" tableValues="0 .15 .5 .9 1" />
+ <feFuncB type="table" tableValues="0 0 0 .6 1" />
+ <feFuncA type="linear" slope="1" intercept="0" />
+ </feComponentTransfer>
+ </filter>
+
+ <filter id="discreteYellowRed" filterUnits="objectBoundingBox"
+ x="0%" y="0%" width="100%" height="100%">
+ <feTurbulence type="turbulence" baseFrequency="0.05" numOctaves="2"/>
+ <feColorMatrix type="luminanceToAlpha" />
+ <feColorMatrix type="matrix" values="0 0 0 -1 1 0 0 0 -1 1 0 0 0 -1 1 0 0 0 0 1" />
+ <feComponentTransfer
+ x="0%" y="0%" width="100%" height="100%" >
+ <feFuncR type="discrete" tableValues="1 1" />
+ <feFuncG type="discrete" tableValues="1 0" />
+ <feFuncB type="discrete" tableValues="0 0" />
+ </feComponentTransfer>
+ </filter>
+
+ <filter id="discreteYellowOrangeRed" filterUnits="objectBoundingBox"
+ x="0%" y="0%" width="100%" height="100%">
+ <feTurbulence type="turbulence" baseFrequency="0.05" numOctaves="2"/>
+ <feColorMatrix type="luminanceToAlpha" />
+ <feColorMatrix type="matrix" values="0 0 0 -1 1 0 0 0 -1 1 0 0 0 -1 1 0 0 0 0 1" />
+ <feComponentTransfer
+ x="0%" y="0%" width="100%" height="100%" >
+ <feFuncR type="discrete" tableValues="1 1 1 .5" />
+ <feFuncG type="discrete" tableValues="1 1 .5 0" />
+ <feFuncB type="discrete" tableValues="1 0 0 0" />
+ </feComponentTransfer>
+ </filter>
+
+ <filter id="gamma" filterUnits="objectBoundingBox"
+ x="0%" y="0%" width="100%" height="100%">
+ <feTurbulence type="turbulence" baseFrequency="0.05" numOctaves="2"/>
+ <feComponentTransfer
+ x="0%" y="0%" width="100%" height="100%" >
+ <feFuncR type="gamma" amplitude="1" exponent="2.4" offset="0"/>
+ <feFuncG type="gamma" amplitude="1" exponent="2.4" offset="0"/>
+ <feFuncB type="gamma" amplitude="1" exponent="2.4" offset="0"/>
+ <feFuncA type="linear" slope="1" intercept="0" />
+ </feComponentTransfer>
+ </filter>
+
+ </defs>
+ <g class="legend">
+ <g id="reference_Group">
+ <rect x="25" y="25" width="100" height="75" style="filter:url(#turbSource)" />
+ <text x="75" y="117">Reference Image</text>
+ </g>
+
+ <g id="tableIdentity_Group" transform="translate(120, 0)">
+ <rect x="25" y="25" width="100" height="75" style="filter:url(#tableIdentity)" />
+ <text x="75" y="117">type=table</text>
+ <text x="75" y="129">Identity tables (0 1)</text>
+ </g>
+
+ <g id="tableInvertRGB_Group" transform="translate(240, 0)">
+ <rect x="25" y="25" width="100" height="75" style="filter:url(#tableInvertRGB)" />
+ <text x="75" y="117">type=table</text>
+ <text x="75" y="129">Invert RGB (1 0)</text>
+ </g>
+
+ <g id="tableBlueGreenTint_Group" transform="translate(0, 120)">
+ <rect x="25" y="25" width="100" height="75" style="filter:url(#tableBlueGreenTint)" />
+ <text x="75" y="117">type=table</text>
+ <text x="75" y="129">darkBlue-cyan</text>
+ </g>
+
+ <g id="tableRedOrangeTint_Group" transform="translate(120, 120)">
+ <rect x="25" y="25" width="100" height="75" style="filter:url(#tableRedOrangeTint)" />
+ <text x="75" y="117">type=table</text>
+ <text x="75" y="129">darkRed-orange</text>
+ </g>
+
+ <g id="tableGreenGreenTint_Group" transform="translate(240, 120)">
+ <rect x="25" y="25" width="100" height="75" style="filter:url(#tableGreenGreenTint)" />
+ <text x="75" y="117">type=table</text>
+ <text x="75" y="129">darkGreen-green</text>
+ </g>
+
+ <g id="discreteYellowRed_Group" transform="translate(0, 240)">
+ <rect x="25" y="25" width="100" height="75" style="filter:url(#discreteYellowRed)" />
+ <text x="75" y="117">type=discrete</text>
+ <text x="75" y="129">yellow-red</text>
+ </g>
+
+ <g id="discreteYellowOrangeRed_Group" transform="translate(120, 240)">
+ <rect x="25" y="25" width="100" height="75" style="filter:url(#discreteYellowOrangeRed)" />
+ <text x="75" y="117">type=discrete</text>
+ <text x="75" y="129">White-Yellow-Orange-Red</text>
+ </g>
+
+ <g id="gamma_Group" transform="translate(240, 240)">
+ <rect x="25" y="25" width="100" height="75" style="filter:url(#gamma)" />
+ <text x="75" y="117">type=gamma</text>
+ <text x="75" y="129">exponent (2.4) </text>
+ <text x="75" y="141">offset (0) amplitude (1)</text>
+ </g>
+ </g>
+ </g>
+</g>
+
+ </g>
+
+ <!-- ============================================================= -->
+ <!-- Batik sample mark -->
+ <!-- ============================================================= -->
+ <use xlink:href="../../../batikLogo.svg#Batik_Tag_Box" />
+
+</svg>

Back to the top