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/painting/visibility.svg')
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd.editor/batik-1.7/samples/tests/spec/painting/visibility.svg139
1 files changed, 139 insertions, 0 deletions
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd.editor/batik-1.7/samples/tests/spec/painting/visibility.svg b/extraplugins/diagram-definition/org.eclipse.papyrus.dd.editor/batik-1.7/samples/tests/spec/painting/visibility.svg
new file mode 100644
index 00000000000..78ce7b5604a
--- /dev/null
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd.editor/batik-1.7/samples/tests/spec/painting/visibility.svg
@@ -0,0 +1,139 @@
+<?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 'visibility' property inheritance -->
+<!-- -->
+<!-- @author tkormann@apache.org -->
+<!-- @version $Id: visibility.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" id="body" width="450" height="500" viewBox="0 0 450 500">
+<title> Test 'visibility' property inheritance</title>
+ <!-- ============================================================= -->
+ <!-- Test content -->
+ <!-- ============================================================= -->
+<g id="testContent">
+ <text x="225" y="50" class="title">
+ Test 'visibility' property inheritance
+ </text>
+<g transform="translate(0 10)" style="font-size:12">
+
+ <g transform="translate(80 40)">
+ <g>
+ <rect x="0" y="45" width="40" height="50" style="fill:#eee"/>
+ <rect x="40" y="45" width="40" height="50" style="fill:#aaa"/>
+ <rect x="80" y="45" width="40" height="50" style="fill:#444"/>
+ <text x="60" y="120" style="text-anchor:middle">inherit | inherit | inherit</text>
+ <text x="60" y="136" style="text-anchor:middle">&lt;g> inherit</text>
+ </g>
+ <g transform="translate(160, 0)">
+ <rect x="0" y="45" width="40" height="50" style="fill:#eee"/>
+ <rect x="40" y="45" width="40" height="50" style="fill:#aaa"/>
+ <rect x="80" y="45" width="40" height="50" style="fill:#444"/>
+ <text x="60" y="120" style="text-anchor:middle">inherit | inherit | inherit</text>
+ <text x="60" y="136" style="text-anchor:middle">&lt;g> hidden</text>
+ </g>
+ <g transform="translate(0 10)">
+ <g style="visibility:inherit">
+ <rect x="0" y="45" width="40" height="50" style="visibility:inherit; fill:gold"/>
+ <rect x="40" y="45" width="40" height="50" style="visibility:inherit; fill:orange"/>
+ <rect x="80" y="45" width="40" height="50" style="visibility:inherit; fill:crimson"/>
+ </g>
+ <g style="visibility:hidden" transform="translate(160, 0)">
+ <rect x="0" y="45" width="40" height="50" style="visibility:inherit; fill:gold"/>
+ <rect x="40" y="45" width="40" height="50" style="visibility:inherit; fill:orange"/>
+ <rect x="80" y="45" width="40" height="50" style="visibility:inherit; fill:crimson"/>
+ </g>
+ </g>
+ </g>
+
+<!-- ########################################################################### -->
+ <g transform="translate(80 160)">
+ <g>
+ <rect x="0" y="45" width="40" height="50" style="fill:#eee"/>
+ <rect x="40" y="45" width="40" height="50" style="fill:#aaa"/>
+ <rect x="80" y="45" width="40" height="50" style="fill:#444"/>
+ <text x="60" y="120" style="text-anchor:middle">inherit | hidden | visible</text>
+ <text x="60" y="136" style="text-anchor:middle">&lt;g> inherit</text>
+ </g>
+ <g transform="translate(160, 0)">
+ <rect x="0" y="45" width="40" height="50" style="fill:#eee"/>
+ <rect x="40" y="45" width="40" height="50" style="fill:#aaa"/>
+ <rect x="80" y="45" width="40" height="50" style="fill:#444"/>
+ <text x="60" y="120" style="text-anchor:middle">inherit | hidden | visible</text>
+ <text x="60" y="136" style="text-anchor:middle">&lt;g> visible</text>
+ </g>
+ <g transform="translate(0 10)">
+ <g style="visibility:inherit">
+ <rect x="0" y="45" width="40" height="50" style="visibility:inherit; fill:gold"/>
+ <rect x="40" y="45" width="40" height="50" style="visibility:hidden; fill:orange"/>
+ <rect x="80" y="45" width="40" height="50" style="visibility:visible; fill:crimson"/>
+ </g>
+ <g style="visibility:visible" transform="translate(160, 0)">
+ <rect x="0" y="45" width="40" height="50" style="visibility:inherit; fill:gold"/>
+ <rect x="40" y="45" width="40" height="50" style="visibility:hidden; fill:orange"/>
+ <rect x="80" y="45" width="40" height="50" style="visibility:visible; fill:crimson"/>
+ </g>
+ </g>
+ </g>
+
+ <g transform="translate(80 280)">
+ <g>
+ <rect x="0" y="45" width="40" height="50" style="fill:#eee"/>
+ <rect x="40" y="45" width="40" height="50" style="fill:#aaa"/>
+ <rect x="80" y="45" width="40" height="50" style="fill:#444"/>
+ <text x="60" y="120" style="text-anchor:middle">inherit | hidden | visible</text>
+ <text x="60" y="136" style="text-anchor:middle">&lt;g> collapse</text>
+ </g>
+ <g transform="translate(160, 0)">
+ <rect x="0" y="45" width="40" height="50" style="fill:#eee"/>
+ <rect x="40" y="45" width="40" height="50" style="fill:#aaa"/>
+ <rect x="80" y="45" width="40" height="50" style="fill:#444"/>
+ <text x="60" y="120" style="text-anchor:middle">inherit | hidden | visible</text>
+ <text x="60" y="136" style="text-anchor:middle">&lt;g> hidden</text>
+ </g>
+ <g transform="translate(0 10)">
+ <g style="visibility:collapse">
+ <rect x="0" y="45" width="40" height="50" style="visibility:inherit; fill:gold"/>
+ <rect x="40" y="45" width="40" height="50" style="visibility:hidden; fill:orange"/>
+ <rect x="80" y="45" width="40" height="50" style="visibility:visible; fill:crimson"/>
+ </g>
+ <g style="visibility:hidden" transform="translate(160, 0)">
+ <rect x="0" y="45" width="40" height="50" style="visibility:inherit; fill:gold"/>
+ <rect x="40" y="45" width="40" height="50" style="visibility:hidden; fill:orange"/>
+ <rect x="80" y="45" width="40" height="50" style="visibility:visible; fill:crimson"/>
+ </g>
+ </g>
+ </g>
+
+</g>
+</g>
+
+ <!-- ============================================================= -->
+ <!-- Batik sample mark -->
+ <!-- ============================================================= -->
+ <use xlink:href="../../../batikLogo.svg#Batik_Tag_Box" />
+
+</svg>

Back to the top