diff options
Diffstat (limited to 'extraplugins/diagram-definition/org.eclipse.papyrus.dd.editor/batik-1.7/samples/tests/spec/paints/radialGradientOrientation.svg')
-rw-r--r-- | extraplugins/diagram-definition/org.eclipse.papyrus.dd.editor/batik-1.7/samples/tests/spec/paints/radialGradientOrientation.svg | 150 |
1 files changed, 150 insertions, 0 deletions
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd.editor/batik-1.7/samples/tests/spec/paints/radialGradientOrientation.svg b/extraplugins/diagram-definition/org.eclipse.papyrus.dd.editor/batik-1.7/samples/tests/spec/paints/radialGradientOrientation.svg new file mode 100644 index 00000000000..25303049396 --- /dev/null +++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd.editor/batik-1.7/samples/tests/spec/paints/radialGradientOrientation.svg @@ -0,0 +1,150 @@ +<?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 external paint servers --> +<!-- --> +<!-- @author tkormann@ilog.fr --> +<!-- @version $Id: radialGradientOrientation.svg 475685 2006-11-16 11:16:05Z 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" width="450" height="500" viewBox="0 0 450 500"> +<title>Radial Gradient Orientation</title> + + <!-- ============================================================= --> + <!-- Test content --> + <!-- ============================================================= --> + <g id="testContent"> + <text x="225" y="50" class="title">Radial Gradient Orientation</text> +<g transform="translate(0 -30)"> +<!-- ############################### --> +<g id="board" style="fill:none; stroke:black;"> + + <rect x="75" y="100" width="100" height="20" style="fill:#eee"/> + <rect x="175" y="100" width="100" height="20" style="fill:#eee"/> + <rect x="275" y="100" width="100" height="20" style="fill:#eee"/> + <rect x="75" y="120" width="100" height="50" /> + <rect x="175" y="120" width="100" height="50" /> + <rect x="275" y="120" width="100" height="50" /> + <g transform="translate(0 80)"> + <rect x="75" y="100" width="100" height="20" style="fill:#eee"/> + <rect x="175" y="100" width="100" height="20" style="fill:#eee"/> + <rect x="275" y="100" width="100" height="20" style="fill:#eee"/> + <rect x="75" y="120" width="100" height="50" /> + <rect x="175" y="120" width="100" height="50" /> + <rect x="275" y="120" width="100" height="50" /> + </g> + <g transform="translate(0 160)"> + <rect x="75" y="100" width="100" height="20" style="fill:#eee"/> + <rect x="175" y="100" width="100" height="20" style="fill:#eee"/> + <rect x="275" y="100" width="100" height="20" style="fill:#eee"/> + <rect x="75" y="120" width="100" height="50" /> + <rect x="175" y="120" width="100" height="50" /> + <rect x="275" y="120" width="100" height="50" /> + </g> + <g transform="translate(0 240)"> + <rect x="175" y="100" width="100" height="20" style="fill:#eee"/> + <rect x="175" y="120" width="100" height="50" /> + </g> + <g style="stroke:none; fill:black; text-anchor:middle; font-size:12"> + <text x="125" y="114">cx = cy / fx < fy</text> + <text x="225" y="114">cx = cy / fx > fy</text> + <text x="325" y="114">cx = cy / fx = fy</text> + <g transform="translate(0 80)"> + <text x="125" y="114">cx < cy / fx < fy</text> + <text x="225" y="114">cx < cy / fx > fy</text> + <text x="325" y="114">cx < cy / fx = fy</text> + </g> + <g transform="translate(0 160)"> + <text x="125" y="114">cx > cy / fx < fy</text> + <text x="225" y="114">cx > cy / fx > fy</text> + <text x="325" y="114">cx > cy / fx = fy</text> + </g> + <g transform="translate(0 240)"> + <text x="225" y="114">r = 0</text> + </g> + </g> +</g> + + +<!-- ############################### --> +<defs> + <radialGradient id="genericGrad"> + <stop style="stop-color:crimson" offset="0" /> + <stop style="stop-color:orange" offset=".5" /> + <stop style="stop-color:gold" offset="1" /> + </radialGradient> + + <radialGradient id="grad1" cx=".5" cy=".5" fx="0" fy="1" r=".5" + xlink:href="#genericGrad" /> + <radialGradient id="grad2" cx=".5" cy=".5" fx="1" fy="0" r=".5" + xlink:href="#genericGrad" /> + <radialGradient id="grad3" cx=".5" cy=".5" fx=".5" fy=".5" r=".5" + xlink:href="#genericGrad" /> + + <radialGradient id="grad4" cx="0" cy="1" fx="0" fy="1" r=".5" + xlink:href="#genericGrad" /> + <radialGradient id="grad5" cx="0" cy="1" fx="1" fy="0" r=".5" + xlink:href="#genericGrad" /> + <radialGradient id="grad6" cx="0" cy="1" fx=".5" fy=".5" r=".5" + xlink:href="#genericGrad" /> + + <radialGradient id="grad7" cx="1" cy="0" fx="0" fy="1" r=".5" + xlink:href="#genericGrad" /> + <radialGradient id="grad8" cx="1" cy="0" fx="1" fy="0" r=".5" + xlink:href="#genericGrad" /> + <radialGradient id="grad9" cx="1" cy="0" fx=".5" fy=".5" r=".5" + xlink:href="#genericGrad" /> + + <radialGradient id="grad10" r="0" xlink:href="#genericGrad" /> +</defs> + +<circle cx="125" cy="145" r="20" style="fill:url(#grad1)"/> +<circle cx="225" cy="145" r="20" style="fill:url(#grad2)"/> +<circle cx="325" cy="145" r="20" style="fill:url(#grad3)"/> + +<g transform="translate(0 80)"> + <circle cx="125" cy="145" r="20" style="fill:url(#grad4)"/> + <circle cx="225" cy="145" r="20" style="fill:url(#grad5)"/> + <circle cx="325" cy="145" r="20" style="fill:url(#grad6)"/> +</g> + +<g transform="translate(0 160)"> + <circle cx="125" cy="145" r="20" style="fill:url(#grad7)"/> + <circle cx="225" cy="145" r="20" style="fill:url(#grad8)"/> + <circle cx="325" cy="145" r="20" style="fill:url(#grad9)"/> +</g> + +<g transform="translate(0 240)"> + <circle cx="225" cy="145" r="20" style="fill:url(#grad10)"/> +</g> + + </g> + </g> + + <!-- ============================================================= --> + <!-- Batik sample mark --> + <!-- ============================================================= --> + <use xlink:href="../../../batikLogo.svg#Batik_Tag_Box" /> + +</svg> |