animate-elem-82-t-isvalid.html (11178B)
1 <!DOCTYPE html> 2 <html lang='en'> 3 <head> 4 <title>animate-elem-82-t-manual.svg</title> 5 <meta charset='utf-8'> 6 </head> 7 <body> 8 <h1>Source SVG: animate-elem-82-t-manual.svg</h1> 9 <svg version="1.1" baseProfile="tiny" id="svg-root" 10 width="100%" height="100%" viewBox="0 0 480 360" 11 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> 12 <!--======================================================================--> 13 <!--= SVG 1.1 2nd Edition Test Case =--> 14 <!--======================================================================--> 15 <!--= Copyright 2009 World Wide Web Consortium, (Massachusetts =--> 16 <!--= Institute of Technology, European Research Consortium for =--> 17 <!--= Informatics and Mathematics (ERCIM), Keio University). =--> 18 <!--= All Rights Reserved. =--> 19 <!--= See http://www.w3.org/Consortium/Legal/. =--> 20 <!--======================================================================--> 21 22 <title id="test-title">$RCSfile: animate-elem-82-t.svg,v $</title> 23 <defs> 24 <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F"> 25 <font-face-src> 26 <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/> 27 </font-face-src> 28 </font-face> 29 </defs> 30 <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18"> 31 <text text-anchor="middle" x="240" y="25" font-size="16"><animateTransform></text> 32 <defs> 33 <g id="ref" stroke="rgb(192,192,192)" fill="none"> 34 <circle stroke-width="2" r="40"/> 35 <line x1="-45" x2="45"/> 36 <line y1="-45" y2="45"/> 37 </g> 38 </defs> 39 <g transform="translate(0,0)" font-size="14"> 40 <g transform="translate(60,90)"> 41 <rect x="-15" y="-15" width="30" height="30" stroke="gray" stroke-width="4" fill="rgb(230,230,230)"> 42 <animateTransform attributeName="transform" attributeType="XML" type="rotate" from="45" to="90" dur="3s" additive="replace" fill="freeze"/> 43 </rect> 44 45 <rect x="-15" y="-15" width="30" height="30" transform="rotate(45)" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 46 <set attributeName="stroke-width" to="4" begin="0s" dur="0.2s"/> 47 </rect> 48 49 <rect x="-15" y="-15" width="30" height="30" transform="rotate(67.5)" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 50 <set attributeName="stroke-width" to="4" begin="1.5s" dur="0.2s"/> 51 </rect> 52 53 <rect x="-15" y="-15" width="30" height="30" transform="rotate(90)" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 54 <set attributeName="stroke-width" to="4" begin="3s" dur="0.2s"/> 55 </rect> 56 57 <text y="60" text-anchor="middle">same rotation</text> 58 <text y="75" text-anchor="middle">center</text> 59 </g> 60 61 <g transform="translate(180,90)"> 62 <rect x="-15" y="-15" width="30" height="30" stroke="gray" stroke-width="4" fill="rgb(230,230,230)"> 63 <animateTransform attributeName="transform" attributeType="XML" type="rotate" from="45,0,0" to="90,-15,-15" dur="3s" additive="replace" fill="freeze"/> 64 </rect> 65 <rect x="-15" y="-15" width="30" height="30" transform="rotate(45,0,0)" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 66 <set attributeName="stroke-width" to="4" begin="0s" dur="0.2s"/> 67 </rect> 68 69 <rect x="-15" y="-15" width="30" height="30" transform="rotate(67.5,-7.5,-7.5)" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 70 <set attributeName="stroke-width" to="4" begin="1.5s" dur="0.2s"/> 71 </rect> 72 73 <rect x="-15" y="-15" width="30" height="30" transform="rotate(90,-15,-15)" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 74 <set attributeName="stroke-width" to="4" begin="3s" dur="0.2s"/> 75 </rect> 76 77 <text y="60" text-anchor="middle">different rotation</text> 78 <text y="75" text-anchor="middle">centers</text> 79 </g> 80 81 <g transform="translate(300,90)"> 82 <rect x="-15" y="-15" width="30" height="30" stroke="gray" stroke-width="4" fill="rgb(230,230,230)"> 83 <animateTransform attributeName="transform" attributeType="XML" type="translate" values="-40,40;-20,20;40,-40" dur="3s" calcMode="paced" additive="replace" fill="freeze"/> 84 </rect> 85 <rect x="-15" y="-15" width="30" height="30" transform="translate(-40,40)" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 86 <set attributeName="stroke-width" to="4" begin="0s" dur="0.2s"/> 87 </rect> 88 89 <rect x="-15" y="-15" width="30" height="30" transform="translate(0,0)" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 90 <set attributeName="stroke-width" to="4" begin="1.5s" dur="0.2s"/> 91 </rect> 92 93 <rect x="-15" y="-15" width="30" height="30" transform="translate(40,-40)" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 94 <set attributeName="stroke-width" to="4" begin="3s" dur="0.2s"/> 95 </rect> 96 97 <text y="75" text-anchor="middle">paced translation</text> 98 </g> 99 100 <g transform="translate(415,90)"> 101 <rect x="-15" y="-15" width="30" height="30" stroke="gray" stroke-width="4" fill="rgb(230,230,230)"> 102 <animateTransform attributeName="transform" attributeType="XML" type="translate" values="-40,40;-20,-20;40,-40" dur="3s" calcMode="linear" additive="replace" fill="freeze"/> 103 </rect> 104 <rect x="-15" y="-15" width="30" height="30" transform="translate(-40,40)" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 105 <set attributeName="stroke-width" to="4" begin="0s" dur="0.2s"/> 106 </rect> 107 108 <rect x="-15" y="-15" width="30" height="30" transform="translate(-20,-20)" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 109 <set attributeName="stroke-width" to="4" begin="1.5s" dur="0.2s"/> 110 </rect> 111 112 <rect x="-15" y="-15" width="30" height="30" transform="translate(40,-40)" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 113 <set attributeName="stroke-width" to="4" begin="3s" dur="0.2s"/> 114 </rect> 115 116 <text y="75" text-anchor="middle">linear translation</text> 117 118 </g> 119 120 <g transform="translate(60,220)"> 121 <rect x="-15" y="-15" width="30" height="30" stroke="none" fill="rgb(230,230,230)"> 122 <animateTransform attributeName="transform" attributeType="XML" type="scale" values="1,2;3,2;1,1" dur="3s" calcMode="paced" fill="freeze"/> 123 </rect> 124 125 <rect x="-15" y="-30" width="30" height="60" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 126 <set attributeName="stroke-width" to="4" begin="0s" dur="0.2s"/> 127 </rect> 128 129 <rect x="-45" y="-30" width="90" height="60" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 130 <set attributeName="stroke-width" to="4" begin="1.5s" dur="0.2s"/> 131 </rect> 132 133 <rect x="-15" y="-15" width="30" height="30" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 134 <set attributeName="stroke-width" to="4" begin="3s" dur="0.2s"/> 135 </rect> 136 137 <text y="60" text-anchor="middle">paced scale</text> 138 </g> 139 140 <g transform="translate(180,220)"> 141 <rect x="-15" y="-15" width="30" height="30" stroke="none" fill="rgb(230,230,230)"> 142 <animateTransform attributeName="transform" attributeType="XML" type="scale" values="1,2;3,2;1,1" dur="3s" calcMode="linear" fill="freeze"/> 143 </rect> 144 145 <rect x="-15" y="-30" width="30" height="60" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 146 <set attributeName="stroke-width" to="4" begin="0s" dur="0.2s"/> 147 </rect> 148 149 <rect x="-45" y="-30" width="90" height="60" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 150 <set attributeName="stroke-width" to="4" begin="1.5s" dur="0.2s"/> 151 </rect> 152 153 <rect x="-15" y="-15" width="30" height="30" transform="scale(1,1)" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 154 <set attributeName="stroke-width" to="4" begin="3s" dur="0.2s"/> 155 </rect> 156 157 <text y="60" text-anchor="middle">linear scale</text> 158 </g> 159 160 <g transform="translate(275,220)"> 161 <rect x="-15" y="-15" width="30" height="30" stroke="gray" stroke-width="4" fill="rgb(230,230,230)"> 162 <animateTransform attributeName="transform" attributeType="XML" type="rotate" values="0,0,0;45,-15,-20;180,30,50" dur="3s" calcMode="paced" additive="replace" fill="freeze"/> 163 </rect> 164 <rect x="-15" y="-15" width="30" height="30" transform="rotate(0,0,0)" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 165 <set attributeName="stroke-width" to="4" begin="0s" dur="0.2s"/> 166 </rect> 167 168 <rect x="-15" y="-15" width="30" height="30" transform="rotate(90,0,5)" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 169 <set attributeName="stroke-width" to="4" begin="1.5s" dur="0.2s"/> 170 </rect> 171 172 <rect x="-15" y="-15" width="30" height="30" transform="rotate(180,30,50)" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 173 <set attributeName="stroke-width" to="4" begin="3s" dur="0.2s"/> 174 </rect> 175 176 <text y="75" text-anchor="middle">paced rotation</text> 177 </g> 178 179 <g transform="translate(395,220)"> 180 <rect x="-15" y="-15" width="30" height="30" stroke="gray" stroke-width="4" fill="rgb(230,230,230)"> 181 <animateTransform attributeName="transform" attributeType="XML" type="rotate" values="0,0,0;45,-15,-20;180,30,50" dur="3s" calcMode="linear" additive="replace" fill="freeze"/> 182 </rect> 183 <rect x="-15" y="-15" width="30" height="30" transform="rotate(0,0,0)" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 184 <set attributeName="stroke-width" to="4" begin="0s" dur="0.2s"/> 185 </rect> 186 187 <rect x="-15" y="-15" width="30" height="30" transform="rotate(45,-15,-20)" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 188 <set attributeName="stroke-width" to="4" begin="1.5s" dur="0.2s"/> 189 </rect> 190 191 <rect x="-15" y="-15" width="30" height="30" transform="rotate(180,30,50)" stroke="rgb(255,180,0)" stroke-width="1" fill="none"> 192 <set attributeName="stroke-width" to="4" begin="3s" dur="0.2s"/> 193 </rect> 194 195 <text y="75" text-anchor="middle">linear rotation</text> 196 </g> 197 198 199 </g> 200 </g> 201 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32"> 202 <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text> 203 </g> 204 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/> 205 <!-- comment out this watermark once the test is approved --> 206 <!--<g id="draft-watermark"> 207 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/> 208 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" 209 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text> 210 </g>--> 211 </svg> 212 </body> 213 </html>