Debian Codegraph @

samples/tests/spec/painting/shape-rendering.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 <!-- Test 'shape-rendering' property -->
25 <!-- -->
26 <!-- @author [email protected] -->
27 <!-- @version $Id$ -->
28 <!-- ========================================================================= -->
29
30 <?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?>
31
32
33 <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">
34 <title>Test the 'shape-rendering' property</title>
35 <!-- ============================================================= -->
36 <!-- Test content -->
37 <!-- ============================================================= -->
38 <g id="testContent">
39 <text x="225" y="50" class="title">
40 Test the 'shape-rendering' property
41 </text>
42
43 <g style="fill:gold;stroke:orange;stroke-width:8">
44
45 <circle cx="120" cy="140" r="40" style="shape-rendering:auto"/>
46 <circle cx="300" cy="140" r="40" style="shape-rendering:optimizeSpeed"/>
47 <circle cx="120" cy="290" r="40" style="shape-rendering:crispEdges"/>
48 <circle cx="300" cy="290" r="40" style="shape-rendering:geometricPrecision"/>
49 </g>
50
51 <g style="font-size:11;fill:black;stroke:none;text-anchor:middle">
52 <text x="120" y="204">auto</text>
53 <text x="300" y="204">optimizeSpeed</text>
54 <text x="120" y="354">crispEdges</text>
55 <text x="300" y="354">geometricPrecision</text>
56 </g>
57 </g>
58
59 <!-- ============================================================= -->
60 <!-- Batik sample mark -->
61 <!-- ============================================================= -->
62 <use xlink:href="../../../batikLogo.svg#Batik_Tag_Box" />
63
64 </svg>