diff options
Diffstat (limited to 'extraplugins/diagram-definition/org.eclipse.papyrus.dd.editor/batik-1.7/samples/tests/spec/text/verticalText.svg')
-rw-r--r-- | extraplugins/diagram-definition/org.eclipse.papyrus.dd.editor/batik-1.7/samples/tests/spec/text/verticalText.svg | 99 |
1 files changed, 99 insertions, 0 deletions
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd.editor/batik-1.7/samples/tests/spec/text/verticalText.svg b/extraplugins/diagram-definition/org.eclipse.papyrus.dd.editor/batik-1.7/samples/tests/spec/text/verticalText.svg new file mode 100644 index 00000000000..150d8a40814 --- /dev/null +++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd.editor/batik-1.7/samples/tests/spec/text/verticalText.svg @@ -0,0 +1,99 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!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. + +--> +<!-- ========================================================================= --> +<!-- Vertical <text> --> +<!-- --> +<!-- @author dean.jackson@cmis.csiro.au --> +<!-- @version $Id: verticalText.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>Vertical Text Test</title> + + <defs> + <path id="Path1" style="fill:none; stroke:blue;" transform="scale(0.15,0.15)" + d="M 100 200 C 200 100 300 0 400 100 C 500 200 600 300 700 200 C 800 100 900 0 1000 100 + C 1100 200 1200 300 1300 200 C 1400 100 1500 0 1600 100 + C 1700 200 1800 300 1900 200 C 2000 100 2100 0 2200 100"/> + </defs> + + <g id="content"> + + <text class="title" x="50%" y="40">Vertical Text Test</text> + + <line x1="20" y1="75" x2="430" y2="75" stroke="black"/> + + <g opacity="0.5"> + <circle cx="50" cy="75" r="2" fill="red" /> + <circle cx="100" cy="75" r="2" fill="red" /> + <circle cx="150" cy="75" r="2" fill="red" /> + <circle cx="200" cy="75" r="2" fill="red" /> + <circle cx="250" cy="75" r="2" fill="red" /> + <circle cx="300" cy="75" r="2" fill="red" /> + <circle cx="350" cy="75" r="2" fill="red" /> + <circle cx="400" cy="75" r="2" fill="red" /> + + <line x1="50" y1="75" x2="50" y2="450" stroke="red" /> + <line x1="100" y1="75" x2="100" y2="450" stroke="red" /> + <line x1="150" y1="75" x2="150" y2="450" stroke="red" /> + <line x1="200" y1="75" x2="200" y2="450" stroke="red" /> + <line x1="250" y1="75" x2="250" y2="450" stroke="red" /> + <line x1="300" y1="75" x2="300" y2="450" stroke="red" /> + <line x1="350" y1="75" x2="350" y2="450" stroke="red" /> + <line x1="400" y1="75" x2="400" y2="450" stroke="red" /> + </g> + + + <text x="50" y="75" writing-mode="tb" font-size="15">Writing top to bottom画像</text> + <text x="100" y="75" glyph-orientation-vertical="auto" writing-mode="tb" font-size="15">Glyph Orientation:auto画像</text> + <text id="orient0" x="150" y="75" glyph-orientation-vertical="0deg" + writing-mode="tb" font-size="15">Glyph Orientation:0画像</text> + <text id="orient90" x="200" y="75" glyph-orientation-vertical="90deg" + writing-mode="tb" font-size="15">Glyph Orientation:90画像</text> + <text id="orient180" x="250" y="75" glyph-orientation-vertical="180deg" + writing-mode="tb" font-size="15">Glyph Orientation:180画像</text> + <text id="orient270" x="300" y="75" glyph-orientation-vertical="270deg" + writing-mode="tb" font-size="15">Glyph Orientation:270画像</text> + <text x="350" y="75" writing-mode="tb" font-size="15">Embedded <tspan fill="red"><tspan></tspan> element</text> + <text x="400" y="75" writing-mode="tb" font-size="15">Embedded <tspan fill="blue" glyph-orientation-vertical="0deg">orientated</tspan> element</text> + + + + + <g transform="translate(40,450)"> + <use xlink:href="#Path1" style="fill:none; stroke:blue; stroke-width:2"/> + <text font-size="12" writing-mode="tb" glyph-orientation-vertical="0deg"> + <textPath xlink:href="#Path1">Vertical text on a Path画像</textPath> + </text> + </g> + + </g> + + <!-- ============================================================= --> + <!-- Batik sample mark --> + <!-- ============================================================= --> + <use xlink:href="../../../batikLogo.svg#Batik_Tag_Box" /> + +</svg> |