Debian Codegraph @

samples/tests/spec12/text/flowText5.svg

raw
1 <?xml version="1.0" standalone="no"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
3 "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
4
5 <!--
6
7 Licensed to the Apache Software Foundation (ASF) under one or more
8 contributor license agreements. See the NOTICE file distributed with
9 this work for additional information regarding copyright ownership.
10 The ASF licenses this file to You under the Apache License, Version 2.0
11 (the "License"); you may not use this file except in compliance with
12 the License. You may obtain a copy of the License at
13
14 http://www.apache.org/licenses/LICENSE-2.0
15
16 Unless required by applicable law or agreed to in writing, software
17 distributed under the License is distributed on an "AS IS" BASIS,
18 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 See the License for the specific language governing permissions and
20 limitations under the License.
21
22 -->
23
24 <!-- ====================================================================== -->
25 <!-- Tests various text on a path -->
26 <!-- -->
27 <!-- @author [email protected] -->
28 <!-- @version $Id$ -->
29 <!-- ====================================================================== -->
30
31 <?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?>
32
33 <svg id="body" width="450" height="500" viewBox="0 0 450 500"
34 xmlns="http://www.w3.org/2000/svg" version="1.2"
35 xmlns:xlink="http://www.w3.org/1999/xlink">
36 <title>Test of Text wrapping stuff.</title>
37
38 <text class="title" x="50%" y="40">Test of Text wrapping stuff</text>
39
40 <g id="content">
41 <text x="110" y="70" text-anchor="middle">One complex flow Region</text>
42 <g transform="translate(8,70), scale(.6), rotate(25, 200, 200)" >
43 <use width="400" height="400" xlink:href="../../../batikLogo.svg#Batik_Squiggle" opacity="0.5"/>
44
45 <g transform="rotate(-45, 200, 200)">
46 <flowRoot font-size="15.75">
47 <flowRegion>
48 <use transform="rotate(45, 200, 200)" width="400" height="400" visibility="hidden" xlink:href="../../../batikLogo.svg#Batik_Squiggle" />
49 </flowRegion>
50
51 <flowDiv>
52 <flowPara text-align="middle">Tomorrow, and tomorrow, and tomorrow,
53 Creeps in this petty pace from day to day,
54 To the last syllable of recorded time;
55 And all our yesterdays have lighted fools
56 The way to dusty death. Out, out, brief candle!
57 Life's but a walking shadow; a poor player,
58 That struts and frets his hour upon the stage,
59 And then is heard no more: it is a tale
60 Told by an idiot, full of sound and fury,
61 Signifying nothing.
62 </flowPara>
63 </flowDiv>
64 </flowRoot>
65 </g>
66 </g>
67
68 <text x="300" y="480" text-anchor="middle">Three flow Regions</text>
69 <g transform="translate(190,225), scale(.6), rotate(25, 200, 200)" >
70 <g transform="scale(.73,.73)" fill-opacity="0.5">
71 <use xlink:href="../../../batikLogo.svg#Batik_Squiggle_Blue"/>
72 <use xlink:href="../../../batikLogo.svg#Batik_Squiggle_Red"/>
73 <use xlink:href="../../../batikLogo.svg#Batik_Squiggle_Green"/>
74 </g>
75 <g transform="rotate(-45, 200, 200)">
76 <flowRoot font-size="16.5">
77 <flowRegion>
78 <use transform="rotate(45, 200, 200), scale(.73,.73)" visibility="hidden"
79 xlink:href="../../../batikLogo.svg#Batik_Squiggle_Blue"/>
80 <use transform="rotate(45, 200, 200), scale(.73,.73)" visibility="hidden"
81 xlink:href="../../../batikLogo.svg#Batik_Squiggle_Red"/>
82 <use transform="rotate(45, 200, 200), scale(.73,.73)" visibility="hidden"
83 xlink:href="../../../batikLogo.svg#Batik_Squiggle_Green"/>
84 </flowRegion>
85
86 <flowDiv>
87 <flowPara text-align="middle">Tomorrow, and tomorrow, and tomorrow,
88 Creeps in this petty pace from day to day,
89 To the last syllable of recorded time;
90 And all our yesterdays have lighted fools
91 The way to dusty death. Out, out, brief candle!
92 Life's but a walking shadow; a poor player,
93 That struts and frets his hour upon the stage,
94 And then is heard no more: it is a tale
95 Told by an idiot, full of sound and fury,
96 Signifying nothing.
97 </flowPara>
98 </flowDiv>
99 </flowRoot>
100 </g>
101 </g>
102 </g>
103
104 <!-- ============================================================= -->
105 <!-- Batik sample mark -->
106 <!-- ============================================================= -->
107 <use xlink:href="../../../batikLogo.svg#Batik_Tag_Box" />
108 </svg>