| 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 |
<!-- feTile reference file. This shows what the visual result of the tiling --> |
| 25 |
<!-- should be like, but using defs and use elements instead of feTile --> |
| 26 |
<!-- --> |
| 27 |
<!-- @author [email protected] --> |
| 28 |
<!-- @version $Id$ --> |
| 29 |
<!-- ========================================================================= --> |
| 30 |
|
| 31 |
<?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?> |
| 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>feTile Visual Reference</title> |
| 35 |
|
| 36 |
<!-- ============================================================= --> |
| 37 |
<!-- Test content --> |
| 38 |
<!-- ============================================================= --> |
| 39 |
<g id="testContent" class="legend" style="text-anchor:middle"> |
| 40 |
<text x="225" y="40" class="title"> |
| 41 |
feTile Test Visual Reference |
| 42 |
</text> |
| 43 |
|
| 44 |
<defs> |
| 45 |
<linearGradient id="tileFill" gradientUnits="objectBoundingBox" |
| 46 |
x1="0" y1="0" x2="1" y2="1"> |
| 47 |
<stop offset="0" stop-color="white" /> |
| 48 |
<stop offset=".5" stop-color="#44ccff" /> |
| 49 |
<stop offset="1" stop-color="#000033" /> |
| 50 |
</linearGradient> |
| 51 |
|
| 52 |
<rect id="tile" fill="url(#tileFill)" width="50" height="25" /> |
| 53 |
|
| 54 |
<clipPath id="filterClip" clipPathUnits="userSpaceOnUse"> |
| 55 |
<rect x="-0.5" y="-0.5" width="101" height="51" /> |
| 56 |
</clipPath> |
| 57 |
|
| 58 |
</defs> |
| 59 |
|
| 60 |
<!-- ======================== --> |
| 61 |
<!-- Simple tiling reference --> |
| 62 |
<!-- ======================== --> |
| 63 |
<g transform="translate(20, 100)"> |
| 64 |
|
| 65 |
<use xlink:href="#tile" /> |
| 66 |
<use xlink:href="#tile" x="50" /> |
| 67 |
<use xlink:href="#tile" y="25" /> |
| 68 |
<use xlink:href="#tile" x="50" y="25" /> |
| 69 |
|
| 70 |
<rect x="0" y="0" width="100" height="50" style="fill:none; stroke:black;"/> |
| 71 |
<text x="50" y="-15">tile_1</text> |
| 72 |
<text x="50" y="-3">Reference</text> |
| 73 |
</g> |
| 74 |
|
| 75 |
<!-- =============================== --> |
| 76 |
<!-- Simple Skewed tiling reference --> |
| 77 |
<!-- =============================== --> |
| 78 |
<g transform="translate(245, 100) skewX(30)"> |
| 79 |
<use xlink:href="#tile" /> |
| 80 |
<use xlink:href="#tile" x="50" /> |
| 81 |
<use xlink:href="#tile" y="25" /> |
| 82 |
<use xlink:href="#tile" x="50" y="25" /> |
| 83 |
<rect x="0" y="0" width="100" height="50" style="fill:none; stroke:black;"/> |
| 84 |
</g> |
| 85 |
<g transform="translate(245, 100)"> |
| 86 |
<text x="50" y="-15">tile_1 Skewed Reference</text> |
| 87 |
<text x="50" y="-3">Reference</text> |
| 88 |
</g> |
| 89 |
|
| 90 |
<!-- =============================== --> |
| 91 |
<!-- Tile in center of filter region --> |
| 92 |
<!-- =============================== --> |
| 93 |
<g transform="translate(20, 200)" > |
| 94 |
<g clip-path="url(#filterClip)"> |
| 95 |
<use xlink:href="#tile" x="-25" y="-12.5" /> |
| 96 |
<use xlink:href="#tile" x="25" y="-12.5"/> |
| 97 |
<use xlink:href="#tile" x="75" y="-12.5"/> |
| 98 |
|
| 99 |
<use xlink:href="#tile" x="-25" y="12.5"/> |
| 100 |
<use xlink:href="#tile" x="25" y="12.5"/> |
| 101 |
<use xlink:href="#tile" x="75" y="12.5"/> |
| 102 |
|
| 103 |
<use xlink:href="#tile" x="-25" y="37.5"/> |
| 104 |
<use xlink:href="#tile" x="25" y="37.5"/> |
| 105 |
<use xlink:href="#tile" x="75" y="37.5"/> |
| 106 |
</g> |
| 107 |
<rect x="0" y="0" width="100" height="50" style="fill:none; stroke:black;"/> |
| 108 |
</g> |
| 109 |
<g transform="translate(20, 200)"> |
| 110 |
<text x="50" y="-15">tile_2</text> |
| 111 |
<text x="50" y="-3">Reference</text> |
| 112 |
</g> |
| 113 |
|
| 114 |
<!-- ======================================== --> |
| 115 |
<!-- Tile offset center, scaled rotated --> |
| 116 |
<!-- ======================================== --> |
| 117 |
|
| 118 |
<g transform="translate(245, 200) translate(50, 30) rotate(20) scale(.7, .7) translate(-50, -25)"> |
| 119 |
<g clip-path="url(#filterClip)"> |
| 120 |
<use xlink:href="#tile" x="-25" y="-12.5" /> |
| 121 |
<use xlink:href="#tile" x="25" y="-12.5"/> |
| 122 |
<use xlink:href="#tile" x="75" y="-12.5"/> |
| 123 |
|
| 124 |
<use xlink:href="#tile" x="-25" y="12.5"/> |
| 125 |
<use xlink:href="#tile" x="25" y="12.5"/> |
| 126 |
<use xlink:href="#tile" x="75" y="12.5"/> |
| 127 |
|
| 128 |
<use xlink:href="#tile" x="-25" y="37.5"/> |
| 129 |
<use xlink:href="#tile" x="25" y="37.5"/> |
| 130 |
<use xlink:href="#tile" x="75" y="37.5"/> |
| 131 |
</g> |
| 132 |
|
| 133 |
<rect x="0" y="0" width="100" height="50" style="fill:none; stroke:black;"/> |
| 134 |
</g> |
| 135 |
<g transform="translate(245, 200)"> |
| 136 |
<text x="50" y="-15">tile_2</text> |
| 137 |
<text x="50" y="-3">Reference Scaled Rotated</text> |
| 138 |
</g> |
| 139 |
|
| 140 |
<!-- =============================== --> |
| 141 |
<!-- Tile offset in top left corner --> |
| 142 |
<!-- =============================== --> |
| 143 |
<g transform="translate(20, 300)" > |
| 144 |
<g clip-path="url(#filterClip)"> |
| 145 |
<use xlink:href="#tile" x="-37.5" y="-18.75" /> |
| 146 |
<use xlink:href="#tile" x="12.5" y="-18.75"/> |
| 147 |
<use xlink:href="#tile" x="62.5" y="-18.75"/> |
| 148 |
|
| 149 |
<use xlink:href="#tile" x="-37.5" y="6.25" /> |
| 150 |
<use xlink:href="#tile" x="12.5" y="6.25"/> |
| 151 |
<use xlink:href="#tile" x="62.5" y="6.25"/> |
| 152 |
|
| 153 |
<use xlink:href="#tile" x="-37.5" y="31.25" /> |
| 154 |
<use xlink:href="#tile" x="12.5" y="31.25"/> |
| 155 |
<use xlink:href="#tile" x="62.5" y="31.25"/> |
| 156 |
</g> |
| 157 |
|
| 158 |
<rect x="0" y="0" width="100" height="50" style="fill:none; stroke:black;"/> |
| 159 |
</g> |
| 160 |
<g transform="translate(20, 300)"> |
| 161 |
<text x="50" y="-15">tile_3</text> |
| 162 |
<text x="50" y="-3">Reference</text> |
| 163 |
</g> |
| 164 |
|
| 165 |
<!-- ======================================== --> |
| 166 |
<!-- Tile offset in top left corner, skewedY --> |
| 167 |
<!-- ======================================== --> |
| 168 |
|
| 169 |
<g transform="translate(245, 300) skewY(15)"> |
| 170 |
<g clip-path="url(#filterClip)"> |
| 171 |
<use xlink:href="#tile" x="-37.5" y="-18.75" /> |
| 172 |
<use xlink:href="#tile" x="12.5" y="-18.75"/> |
| 173 |
<use xlink:href="#tile" x="62.5" y="-18.75"/> |
| 174 |
|
| 175 |
<use xlink:href="#tile" x="-37.5" y="6.25" /> |
| 176 |
<use xlink:href="#tile" x="12.5" y="6.25"/> |
| 177 |
<use xlink:href="#tile" x="62.5" y="6.25"/> |
| 178 |
|
| 179 |
<use xlink:href="#tile" x="-37.5" y="31.25" /> |
| 180 |
<use xlink:href="#tile" x="12.5" y="31.25"/> |
| 181 |
<use xlink:href="#tile" x="62.5" y="31.25"/> |
| 182 |
</g> |
| 183 |
|
| 184 |
<rect x="0" y="0" width="100" height="50" style="fill:none; stroke:black;"/> |
| 185 |
</g> |
| 186 |
<g transform="translate(245, 300)"> |
| 187 |
<text x="50" y="-15">tile_3</text> |
| 188 |
<text x="50" y="-3">Reference Skewed Y</text> |
| 189 |
</g> |
| 190 |
|
| 191 |
|
| 192 |
</g> |
| 193 |
|
| 194 |
<!-- ============================================================= --> |
| 195 |
<!-- Batik sample mark --> |
| 196 |
<!-- ============================================================= --> |
| 197 |
<use xlink:href="../../../batikLogo.svg#Batik_Tag_Box" /> |
| 198 |
|
| 199 |
</svg> |