| 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 |
<!-- regularPoly extension tag test --> |
| 25 |
<!-- --> |
| 26 |
<!-- @author [email protected] --> |
| 27 |
<!-- @version $Id$ --> |
| 28 |
<!-- ====================================================================== --> |
| 29 |
|
| 30 |
<?xml-stylesheet type="text/css" href="extension.css" ?> |
| 31 |
|
| 32 |
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="body" width="450" height="500" xml:space="preserve" |
| 33 |
viewBox="0 0 450 500" |
| 34 |
xmlns:batikExt="http://xml.apache.org/batik/ext"> |
| 35 |
|
| 36 |
<title>Regular Polygon Extension Tag</title> |
| 37 |
|
| 38 |
<!-- ============================================================= --> |
| 39 |
<!-- Test content --> |
| 40 |
<!-- ============================================================= --> |
| 41 |
<g id="testContent" class="legend" style="text-anchor:middle"> |
| 42 |
<text x="225" y="40" class="title"> |
| 43 |
Regular Polygon Extension Tag |
| 44 |
</text> |
| 45 |
|
| 46 |
<switch> |
| 47 |
<g requiredExtensions="http://xml.apache.org/batik/ext/poly/1.0" |
| 48 |
fill="#0D0"> |
| 49 |
|
| 50 |
<batikExt:regularPolygon cx="85" cy="135" r="50" sides="3"/> |
| 51 |
<batikExt:regularPolygon cx="225" cy="135" r="50" sides="4"/> |
| 52 |
<batikExt:regularPolygon cx="365" cy="135" r="50" sides="5"/> |
| 53 |
|
| 54 |
<batikExt:regularPolygon cx="85" cy="275" r="50" sides="6"/> |
| 55 |
<batikExt:regularPolygon cx="225" cy="275" r="50" sides="7"/> |
| 56 |
<batikExt:regularPolygon cx="365" cy="275" r="50" sides="8"/> |
| 57 |
|
| 58 |
<batikExt:regularPolygon cx="85" cy="415" r="50" sides="9"/> |
| 59 |
<batikExt:regularPolygon cx="225" cy="415" r="50" sides="10"/> |
| 60 |
<batikExt:regularPolygon cx="365" cy="415" r="50" sides="11"/> |
| 61 |
|
| 62 |
</g> |
| 63 |
|
| 64 |
<g fill="red"> |
| 65 |
<circle cx="85" cy="135" r="50"/> |
| 66 |
<circle cx="225" cy="135" r="50"/> |
| 67 |
<circle cx="365" cy="135" r="50"/> |
| 68 |
|
| 69 |
<circle cx="85" cy="275" r="50"/> |
| 70 |
<circle cx="225" cy="275" r="50"/> |
| 71 |
<circle cx="365" cy="275" r="50"/> |
| 72 |
|
| 73 |
<circle cx="85" cy="415" r="50"/> |
| 74 |
<circle cx="225" cy="415" r="50"/> |
| 75 |
<circle cx="365" cy="415" r="50"/> |
| 76 |
</g> |
| 77 |
</switch> |
| 78 |
</g> |
| 79 |
|
| 80 |
<!-- ============================================================= --> |
| 81 |
<!-- Batik sample mark --> |
| 82 |
<!-- ============================================================= --> |
| 83 |
<use xlink:href="../batikLogo.svg#Batik_Tag_Box" /> |
| 84 |
</svg> |