caryclark@google.com | 32546db | 2012-08-31 20:55:07 +0000 | [diff] [blame] | 1 | <!-- path visualizer --> |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 2 | <html> |
| 3 | <head> |
| 4 | <div style="height:0"> |
caryclark@google.com | fa0588f | 2012-04-26 21:01:06 +0000 | [diff] [blame] | 5 | |
| 6 | <div id="testSimplifyQuadratic1"> |
| 7 | SkPath path, out; |
| 8 | path.moveTo(0, 0); |
| 9 | path.quadTo(1, 0, 1, 1); |
| 10 | path.close(); |
| 11 | path.moveTo(1, 0); |
| 12 | path.quadTo(0, 0, 0, 1); |
| 13 | path.close(); |
| 14 | testSimplify(path, true, out, bitmap); |
| 15 | } |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 16 | </div> |
caryclark@google.com | fa0588f | 2012-04-26 21:01:06 +0000 | [diff] [blame] | 17 | |
| 18 | <div id="testSimplifyQuadratic2"> |
| 19 | SkPath path, out; |
| 20 | path.moveTo(0, 0); |
| 21 | path.quadTo(20, 0, 20, 20); |
| 22 | path.close(); |
| 23 | path.moveTo(20, 0); |
| 24 | path.quadTo(0, 0, 0, 20); |
| 25 | path.close(); |
| 26 | testSimplify(path, true, out, bitmap); |
| 27 | } |
caryclark@google.com | d88e089 | 2012-03-27 13:23:51 +0000 | [diff] [blame] | 28 | </div> |
caryclark@google.com | fa0588f | 2012-04-26 21:01:06 +0000 | [diff] [blame] | 29 | |
| 30 | <div id="testSimplifyQuadratic3"> |
| 31 | SkPath path, out; |
| 32 | path.moveTo(0, 0); |
| 33 | path.quadTo(20, 0, 20, 20); |
| 34 | path.close(); |
| 35 | path.moveTo(0, 20); |
| 36 | path.quadTo(0, 0, 20, 0); |
| 37 | path.close(); |
| 38 | testSimplify(path, true, out, bitmap); |
| 39 | } |
caryclark@google.com | d88e089 | 2012-03-27 13:23:51 +0000 | [diff] [blame] | 40 | </div> |
caryclark@google.com | fa0588f | 2012-04-26 21:01:06 +0000 | [diff] [blame] | 41 | |
| 42 | <div id="testSimplifyQuadratic4"> |
| 43 | SkPath path, out; |
| 44 | path.moveTo(0, 20); |
| 45 | path.quadTo(20, 0, 40, 20); |
| 46 | path.close(); |
| 47 | path.moveTo(40, 10); |
| 48 | path.quadTo(20, 30, 0, 10); |
| 49 | path.close(); |
| 50 | testSimplify(path, true, out, bitmap); |
| 51 | drawAsciiPaths(path, out, true); |
| 52 | } |
caryclark@google.com | d88e089 | 2012-03-27 13:23:51 +0000 | [diff] [blame] | 53 | </div> |
caryclark@google.com | fa0588f | 2012-04-26 21:01:06 +0000 | [diff] [blame] | 54 | |
| 55 | <div id="testSimplifyQuadratic5"> |
| 56 | SkPath path, out; |
| 57 | path.moveTo(0, 0); |
| 58 | path.quadTo(0, 0, 0, 0); |
| 59 | path.lineTo(0, 0); |
| 60 | path.close(); |
| 61 | path.moveTo(0, 0); |
| 62 | path.lineTo(0, 0); |
| 63 | path.quadTo(0, 0, 0, 1); |
| 64 | path.close(); |
| 65 | testSimplify(path, true, out, bitmap); |
| 66 | drawAsciiPaths(path, out, true); |
| 67 | } |
caryclark@google.com | fb17342 | 2012-04-10 18:28:55 +0000 | [diff] [blame] | 68 | </div> |
caryclark@google.com | fa0588f | 2012-04-26 21:01:06 +0000 | [diff] [blame] | 69 | |
| 70 | <div id="testSimplifyQuadratic6"> |
| 71 | SkPath path, out; |
| 72 | path.moveTo(0, 0); |
| 73 | path.quadTo(0, 0, 0, 0); |
| 74 | path.lineTo(1, 0); |
| 75 | path.close(); |
| 76 | path.moveTo(0, 0); |
| 77 | path.lineTo(0, 0); |
| 78 | path.quadTo(1, 0, 0, 1); |
| 79 | path.close(); |
| 80 | testSimplify(path, true, out, bitmap); |
| 81 | drawAsciiPaths(path, out, true); |
| 82 | } |
caryclark@google.com | fb17342 | 2012-04-10 18:28:55 +0000 | [diff] [blame] | 83 | </div> |
caryclark@google.com | fa0588f | 2012-04-26 21:01:06 +0000 | [diff] [blame] | 84 | |
| 85 | <div id="testSimplifyQuadratic7"> |
| 86 | SkPath path, out; |
| 87 | path.moveTo(0, 0); |
| 88 | path.quadTo(0, 0, 0, 0); |
| 89 | path.lineTo(0, 1); |
| 90 | path.close(); |
| 91 | path.moveTo(0, 0); |
| 92 | path.lineTo(0, 0); |
| 93 | path.quadTo(1, 0, 0, 2); |
| 94 | path.close(); |
| 95 | testSimplify(path, true, out, bitmap); |
| 96 | drawAsciiPaths(path, out, true); |
| 97 | } |
| 98 | </div> |
| 99 | |
| 100 | <div id="testSimplifyQuadratic8"> |
| 101 | SkPath path, out; |
| 102 | path.moveTo(0, 0); |
| 103 | path.quadTo(0, 0, 0, 0); |
| 104 | path.lineTo(0, 0); |
| 105 | path.close(); |
| 106 | path.moveTo(0, 0); |
| 107 | path.lineTo(0, 0); |
| 108 | path.quadTo(1, 0, 0, 2); |
| 109 | path.close(); |
| 110 | testSimplify(path, true, out, bitmap); |
| 111 | drawAsciiPaths(path, out, true); |
| 112 | } |
| 113 | </div> |
| 114 | |
| 115 | <div id="testSimplifyQuadratic9"> |
| 116 | SkPath path, out; |
| 117 | path.moveTo(0, 0); |
| 118 | path.quadTo(0, 0, 0, 0); |
| 119 | path.lineTo(1, 1); |
| 120 | path.close(); |
| 121 | path.moveTo(0, 0); |
| 122 | path.lineTo(0, 0); |
| 123 | path.quadTo(1, 0, 2, 2); |
| 124 | path.close(); |
| 125 | testSimplify(path, true, out, bitmap); |
| 126 | drawAsciiPaths(path, out, true); |
| 127 | } |
| 128 | </div> |
| 129 | |
| 130 | <div id="testSimplifyQuadratic10"> |
| 131 | SkPath path, out; |
caryclark@google.com | 78e1713 | 2012-04-17 11:40:34 +0000 | [diff] [blame] | 132 | path.moveTo(0, 0); |
| 133 | path.quadTo(0, 0, 0, 0); |
| 134 | path.lineTo(0, 0); |
| 135 | path.close(); |
| 136 | path.moveTo(0, 0); |
| 137 | path.lineTo(0, 1); |
| 138 | path.quadTo(1, 1, 1, 2); |
caryclark@google.com | 78e1713 | 2012-04-17 11:40:34 +0000 | [diff] [blame] | 139 | path.close(); |
caryclark@google.com | fa0588f | 2012-04-26 21:01:06 +0000 | [diff] [blame] | 140 | testSimplify(path, true, out, bitmap); |
| 141 | drawAsciiPaths(path, out, true); |
| 142 | } |
caryclark@google.com | 78e1713 | 2012-04-17 11:40:34 +0000 | [diff] [blame] | 143 | </div> |
| 144 | |
caryclark@google.com | fa0588f | 2012-04-26 21:01:06 +0000 | [diff] [blame] | 145 | <div id="testSimplifyQuadratic11"> |
| 146 | SkPath path, out; |
caryclark@google.com | 78e1713 | 2012-04-17 11:40:34 +0000 | [diff] [blame] | 147 | path.moveTo(0, 0); |
| 148 | path.quadTo(0, 0, 0, 0); |
| 149 | path.lineTo(0, 2); |
caryclark@google.com | 78e1713 | 2012-04-17 11:40:34 +0000 | [diff] [blame] | 150 | path.close(); |
| 151 | path.moveTo(0, 0); |
| 152 | path.lineTo(2, 1); |
| 153 | path.quadTo(2, 2, 3, 3); |
caryclark@google.com | fa0588f | 2012-04-26 21:01:06 +0000 | [diff] [blame] | 154 | path.close(); |
| 155 | testSimplify(path, true, out, bitmap); |
| 156 | drawAsciiPaths(path, out, true); |
| 157 | } |
| 158 | </div> |
| 159 | |
| 160 | <div id="testSimplifyQuadratic12"> |
| 161 | SkPath path, out; |
| 162 | path.moveTo(0, 0); |
| 163 | path.lineTo(0, 2); |
caryclark@google.com | 78e1713 | 2012-04-17 11:40:34 +0000 | [diff] [blame] | 164 | path.lineTo(0, 0); |
| 165 | path.close(); |
caryclark@google.com | fa0588f | 2012-04-26 21:01:06 +0000 | [diff] [blame] | 166 | path.moveTo(3, 0); |
| 167 | path.quadTo(1, 1, 0, 2); |
| 168 | path.lineTo(3, 0); |
| 169 | path.close(); |
| 170 | testSimplify(path, true, out, bitmap); |
| 171 | drawAsciiPaths(path, out, true); |
| 172 | } |
caryclark@google.com | 78e1713 | 2012-04-17 11:40:34 +0000 | [diff] [blame] | 173 | </div> |
| 174 | |
caryclark@google.com | fa0588f | 2012-04-26 21:01:06 +0000 | [diff] [blame] | 175 | <div id="testSimplifyQuadratic13"> |
| 176 | SkPath path, out; |
caryclark@google.com | 78e1713 | 2012-04-17 11:40:34 +0000 | [diff] [blame] | 177 | path.moveTo(0, 0); |
| 178 | path.quadTo(0, 0, 1, 0); |
| 179 | path.lineTo(1, 1); |
| 180 | path.lineTo(0, 0); |
| 181 | path.close(); |
| 182 | path.moveTo(0, 0); |
| 183 | path.quadTo(3, 0, 1, 1); |
| 184 | path.lineTo(0, 0); |
| 185 | path.close(); |
caryclark@google.com | fa0588f | 2012-04-26 21:01:06 +0000 | [diff] [blame] | 186 | testSimplify(path, true, out, bitmap); |
| 187 | drawAsciiPaths(path, out, true); |
| 188 | } |
caryclark@google.com | 78e1713 | 2012-04-17 11:40:34 +0000 | [diff] [blame] | 189 | </div> |
| 190 | |
caryclark@google.com | fa0588f | 2012-04-26 21:01:06 +0000 | [diff] [blame] | 191 | <div id="testSimplifyQuadratic14"> |
| 192 | SkPath path, out; |
caryclark@google.com | 78e1713 | 2012-04-17 11:40:34 +0000 | [diff] [blame] | 193 | path.moveTo(0, 0); |
| 194 | path.quadTo(0, 0, 0, 0); |
| 195 | path.lineTo(1, 1); |
caryclark@google.com | 78e1713 | 2012-04-17 11:40:34 +0000 | [diff] [blame] | 196 | path.close(); |
| 197 | path.moveTo(0, 0); |
| 198 | path.lineTo(0, 0); |
| 199 | path.quadTo(0, 1, 2, 1); |
caryclark@google.com | 78e1713 | 2012-04-17 11:40:34 +0000 | [diff] [blame] | 200 | path.close(); |
caryclark@google.com | fa0588f | 2012-04-26 21:01:06 +0000 | [diff] [blame] | 201 | testSimplify(path, true, out, bitmap); |
| 202 | drawAsciiPaths(path, out, true); |
| 203 | } |
caryclark@google.com | 78e1713 | 2012-04-17 11:40:34 +0000 | [diff] [blame] | 204 | </div> |
| 205 | |
caryclark@google.com | fa0588f | 2012-04-26 21:01:06 +0000 | [diff] [blame] | 206 | <div id="testSimplifyQuadratic15"> |
| 207 | SkPath path, out; |
| 208 | path.moveTo(0, 0); |
| 209 | path.quadTo(0, 0, 1, 3); |
| 210 | path.lineTo(3, 3); |
| 211 | path.close(); |
| 212 | path.moveTo(0, 1); |
| 213 | path.lineTo(1, 1); |
| 214 | path.quadTo(0, 3, 3, 3); |
| 215 | path.close(); |
| 216 | testSimplify(path, true, out, bitmap); |
| 217 | drawAsciiPaths(path, out, true); |
| 218 | } |
| 219 | </div> |
| 220 | |
| 221 | <div id="testSimplifyQuadratic16"> |
| 222 | SkPath path, out; |
| 223 | path.moveTo(0, 0); |
| 224 | path.quadTo(0, 0, 0, 0); |
| 225 | path.lineTo(0, 1); |
| 226 | path.close(); |
| 227 | path.moveTo(0, 0); |
| 228 | path.lineTo(0, 0); |
| 229 | path.quadTo(1, 0, 0, 1); |
| 230 | path.close(); |
| 231 | testSimplify(path, true, out, bitmap); |
| 232 | drawAsciiPaths(path, out, true); |
| 233 | } |
| 234 | </div> |
| 235 | |
| 236 | <div id="testSimplifyQuadratic17"> |
| 237 | SkPath path, out; |
caryclark@google.com | b45a1b4 | 2012-05-18 20:50:33 +0000 | [diff] [blame] | 238 | path.moveTo(8, 8); |
| 239 | path.quadTo(10, 10, 8, -10); |
caryclark@google.com | fa0588f | 2012-04-26 21:01:06 +0000 | [diff] [blame] | 240 | path.close(); |
caryclark@google.com | b45a1b4 | 2012-05-18 20:50:33 +0000 | [diff] [blame] | 241 | path.moveTo(8, 8); |
| 242 | path.quadTo(12, 12, 14, 4); |
| 243 | path.close(); |
| 244 | path.moveTo(8, 8); |
| 245 | path.quadTo(9, 9, 10, 8); |
caryclark@google.com | fa0588f | 2012-04-26 21:01:06 +0000 | [diff] [blame] | 246 | path.close(); |
| 247 | testSimplify(path, true, out, bitmap); |
| 248 | drawAsciiPaths(path, out, true); |
| 249 | } |
caryclark@google.com | 78e1713 | 2012-04-17 11:40:34 +0000 | [diff] [blame] | 250 | </div> |
caryclark@google.com | fb17342 | 2012-04-10 18:28:55 +0000 | [diff] [blame] | 251 | |
caryclark@google.com | b45a1b4 | 2012-05-18 20:50:33 +0000 | [diff] [blame] | 252 | <div id="testSimplifyQuadratic18"> |
| 253 | SkPath path, out; |
| 254 | path.moveTo(8.0000000000000071, 8.0000000000000071); |
| 255 | path.quadTo(8.7289570079366854, 8.7289570079366889, 9.3914917259458743, 9.0593802763083691); |
| 256 | path.close(); |
| 257 | path.moveTo(8.0000000000000142, 8.0000000000000142); |
| 258 | path.quadTo(8.1250000000000107, 8.1250000000000071, 8.2500000000000071, 8.2187500000000053); |
| 259 | path.close(); |
| 260 | testSimplify(path, true, out, bitmap); |
| 261 | drawAsciiPaths(path, out, true); |
| 262 | </div> |
caryclark@google.com | 8dcf114 | 2012-07-02 20:27:02 +0000 | [diff] [blame] | 263 | |
| 264 | <div id="testSimplifyQuadratic19"> |
| 265 | SkPath path, simple; |
| 266 | path.moveTo(0,4); |
| 267 | path.lineTo(6,4); |
| 268 | path.lineTo(3,1); |
| 269 | path.close(); |
| 270 | path.moveTo(2,3); |
| 271 | path.lineTo(3,2); |
| 272 | path.lineTo(4,3); |
| 273 | path.close(); |
| 274 | testSimplifyx(path); |
| 275 | </div> |
| 276 | |
| 277 | <div id="testSimplifyQuadratic20"> |
| 278 | SkPath path, simple; |
| 279 | path.moveTo(0,4); |
| 280 | path.lineTo(6,4); |
| 281 | path.lineTo(3,1); |
| 282 | path.close(); |
| 283 | path.moveTo(2,3); |
| 284 | path.lineTo(4,3); |
| 285 | path.lineTo(3,2); |
| 286 | path.close(); |
| 287 | testSimplifyx(path); |
| 288 | </div> |
| 289 | |
| 290 | <div id="testSimplifyQuadratic21"> |
| 291 | SkPath path, simple; |
| 292 | path.moveTo(0,4); |
| 293 | path.lineTo(8,4); |
| 294 | path.lineTo(4,0); |
| 295 | path.close(); |
| 296 | path.moveTo(2,2); |
| 297 | path.lineTo(3,3); |
| 298 | path.lineTo(4,2); |
| 299 | path.close(); |
| 300 | testSimplifyx(path); |
| 301 | </div> |
| 302 | |
| 303 | <div id="testLine6"> |
| 304 | SkPath path, simple; |
| 305 | path.moveTo(0,0); |
| 306 | path.lineTo(4,0); |
| 307 | path.lineTo(2,2); |
| 308 | path.close(); |
| 309 | path.moveTo(2,0); |
| 310 | path.lineTo(6,0); |
| 311 | path.lineTo(4,2); |
| 312 | path.close(); |
| 313 | testSimplifyx(path); |
| 314 | </div> |
| 315 | |
caryclark@google.com | fa4a6e9 | 2012-07-11 17:52:32 +0000 | [diff] [blame] | 316 | <div id="testLine7"> |
| 317 | SkPath path, simple; |
| 318 | path.moveTo(0,0); |
| 319 | path.lineTo(4,0); |
| 320 | path.lineTo(2,2); |
| 321 | path.close(); |
| 322 | path.moveTo(6,0); |
| 323 | path.lineTo(2,0); |
| 324 | path.lineTo(4,2); |
| 325 | path.close(); |
| 326 | testSimplifyx(path); |
| 327 | </div> |
| 328 | |
caryclark@google.com | cc90505 | 2012-07-25 20:59:42 +0000 | [diff] [blame] | 329 | <div id="testLine7b"> |
| 330 | path.moveTo(0,0); |
| 331 | path.lineTo(4,0); |
| 332 | path.close(); |
| 333 | path.moveTo(6,0); |
| 334 | path.lineTo(2,0); |
| 335 | path.lineTo(4,2); |
| 336 | path.close(); |
| 337 | </div> |
| 338 | |
caryclark@google.com | fa4a6e9 | 2012-07-11 17:52:32 +0000 | [diff] [blame] | 339 | <div id="testLine9"> |
| 340 | SkPath path, simple; |
| 341 | path.moveTo(0,4); |
| 342 | path.lineTo(4,4); |
| 343 | path.lineTo(2,2); |
| 344 | path.close(); |
| 345 | path.moveTo(6,4); |
| 346 | path.lineTo(2,4); |
| 347 | path.lineTo(4,2); |
| 348 | path.close(); |
| 349 | testSimplifyx(path); |
| 350 | </div> |
| 351 | |
caryclark@google.com | e21cb18 | 2012-07-23 21:26:31 +0000 | [diff] [blame] | 352 | <div id="testLine12"> |
| 353 | path.moveTo(0,4); |
| 354 | path.lineTo(6,4); |
| 355 | path.lineTo(3,1); |
| 356 | path.close(); |
| 357 | path.moveTo(2,3); |
| 358 | path.lineTo(3,2); |
| 359 | path.lineTo(4,3); |
| 360 | path.close(); |
| 361 | </div> |
| 362 | |
| 363 | <div id="testLine13"> |
| 364 | path.moveTo(6,4); |
| 365 | path.lineTo(0,4); |
| 366 | path.lineTo(3,1); |
| 367 | path.close(); |
| 368 | path.moveTo(3,2); |
| 369 | path.lineTo(2,3); |
| 370 | path.lineTo(4,3); |
| 371 | path.close(); |
| 372 | </div> |
| 373 | |
caryclark@google.com | 8dcf114 | 2012-07-02 20:27:02 +0000 | [diff] [blame] | 374 | <div id="testLine17"> |
| 375 | SkPath path, simple; |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 376 | path.addRect(0, 0, 12, 12, SkPath::kCW_Direction); |
| 377 | path.addRect(4, 12, 13, 13, SkPath::kCW_Direction); |
caryclark@google.com | 8dcf114 | 2012-07-02 20:27:02 +0000 | [diff] [blame] | 378 | testSimplifyx(path); |
| 379 | </div> |
| 380 | |
caryclark@google.com | 4758069 | 2012-07-23 12:14:49 +0000 | [diff] [blame] | 381 | <div id="testLine19"> |
| 382 | SkPath path, simple; |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 383 | path.addRect(0, 0, 12, 12, SkPath::kCW_Direction); |
| 384 | path.addRect(12, 16, 21, 21, SkPath::kCW_Direction); |
caryclark@google.com | 4758069 | 2012-07-23 12:14:49 +0000 | [diff] [blame] | 385 | testSimplifyx(path); |
| 386 | </div> |
| 387 | |
caryclark@google.com | cc90505 | 2012-07-25 20:59:42 +0000 | [diff] [blame] | 388 | <div id="testLine22"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 389 | path.addRect(0, 12, 12, 12, SkPath::kCW_Direction); |
| 390 | path.addRect(4, 12, 13, 13, SkPath::kCW_Direction); |
caryclark@google.com | cc90505 | 2012-07-25 20:59:42 +0000 | [diff] [blame] | 391 | </div> |
| 392 | |
caryclark@google.com | 4758069 | 2012-07-23 12:14:49 +0000 | [diff] [blame] | 393 | <div id="testLine24"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 394 | path.addRect(0, 18, 12, 12, SkPath::kCW_Direction); |
| 395 | path.addRect(4, 12, 13, 13, SkPath::kCW_Direction); |
caryclark@google.com | 4758069 | 2012-07-23 12:14:49 +0000 | [diff] [blame] | 396 | </div> |
| 397 | |
caryclark@google.com | fa4a6e9 | 2012-07-11 17:52:32 +0000 | [diff] [blame] | 398 | <div id="testLine28"> |
| 399 | SkPath path, simple; |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 400 | path.addRect(0, 6, 12, 12, SkPath::kCW_Direction); |
| 401 | path.addRect(0, 0, 9, 9, SkPath::kCW_Direction); |
caryclark@google.com | fa4a6e9 | 2012-07-11 17:52:32 +0000 | [diff] [blame] | 402 | testSimplifyx(path); |
| 403 | </div> |
| 404 | |
| 405 | <div id="testLine29"> |
| 406 | SkPath path, simple; |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 407 | path.addRect(0, 18, 12, 12, SkPath::kCW_Direction); |
| 408 | path.addRect(12, 12, 21, 21, SkPath::kCW_Direction); |
caryclark@google.com | fa4a6e9 | 2012-07-11 17:52:32 +0000 | [diff] [blame] | 409 | testSimplifyx(path); |
| 410 | </div> |
| 411 | |
| 412 | <div id="testLine30"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 413 | path.addRect(0, 0, 20, 20, SkPath::kCW_Direction); |
| 414 | path.addRect(0, 0, 12, 12, SkPath::kCW_Direction); |
| 415 | path.addRect(4, 4, 13, 13, SkPath::kCW_Direction); |
caryclark@google.com | fa4a6e9 | 2012-07-11 17:52:32 +0000 | [diff] [blame] | 416 | </div> |
| 417 | |
| 418 | <div id="testLine31"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 419 | path.addRect(0, 0, 20, 20, SkPath::kCW_Direction); |
| 420 | path.addRect(0, 0, 12, 12, SkPath::kCW_Direction); |
| 421 | path.addRect(0, 4, 9, 9, SkPath::kCW_Direction); |
caryclark@google.com | fa4a6e9 | 2012-07-11 17:52:32 +0000 | [diff] [blame] | 422 | </div> |
| 423 | |
| 424 | <div id="testLine32"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 425 | path.addRect(0, 0, 20, 20, SkPath::kCW_Direction); |
| 426 | path.addRect(0, 0, 12, 12, SkPath::kCW_Direction); |
| 427 | path.addRect(4, 12, 13, 13, SkPath::kCW_Direction); |
caryclark@google.com | fa4a6e9 | 2012-07-11 17:52:32 +0000 | [diff] [blame] | 428 | </div> |
| 429 | |
caryclark@google.com | 9764cc6 | 2012-07-12 19:29:45 +0000 | [diff] [blame] | 430 | <div id="testLine33"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 431 | path.addRect(0, 0, 20, 20, SkPath::kCW_Direction); |
| 432 | path.addRect(0, 0, 12, 12, SkPath::kCW_Direction); |
| 433 | path.addRect(4, 16, 13, 13, SkPath::kCW_Direction); |
caryclark@google.com | 9764cc6 | 2012-07-12 19:29:45 +0000 | [diff] [blame] | 434 | </div> |
| 435 | |
caryclark@google.com | 210acaf | 2012-07-12 21:05:13 +0000 | [diff] [blame] | 436 | <div id="testLine34"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 437 | path.addRect(0, 0, 20, 20, SkPath::kCW_Direction); |
| 438 | path.addRect(0, 6, 12, 12, SkPath::kCW_Direction); |
| 439 | path.addRect(4, 12, 13, 13, SkPath::kCW_Direction); |
caryclark@google.com | 210acaf | 2012-07-12 21:05:13 +0000 | [diff] [blame] | 440 | </div> |
| 441 | |
| 442 | <div id="testLine35"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 443 | path.addRect(0, 0, 20, 20, SkPath::kCW_Direction); |
| 444 | path.addRect(6, 0, 18, 18, SkPath::kCW_Direction); |
| 445 | path.addRect(4, 16, 13, 13, SkPath::kCW_Direction); |
caryclark@google.com | 210acaf | 2012-07-12 21:05:13 +0000 | [diff] [blame] | 446 | </div> |
| 447 | |
caryclark@google.com | 0e08a19 | 2012-07-13 21:07:52 +0000 | [diff] [blame] | 448 | <div id="testLine36"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 449 | path.addRect(0, 10, 20, 20, SkPath::kCW_Direction); |
| 450 | path.addRect(6, 12, 18, 18, SkPath::kCW_Direction); |
| 451 | path.addRect(4, 16, 13, 13, SkPath::kCW_Direction); |
caryclark@google.com | 0e08a19 | 2012-07-13 21:07:52 +0000 | [diff] [blame] | 452 | </div> |
| 453 | |
caryclark@google.com | 4758069 | 2012-07-23 12:14:49 +0000 | [diff] [blame] | 454 | <div id="testLine37"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 455 | path.addRect(0, 20, 20, 20, SkPath::kCW_Direction); |
| 456 | path.addRect(18, 24, 30, 30, SkPath::kCW_Direction); |
| 457 | path.addRect(0, 0, 9, 9, SkPath::kCW_Direction); |
caryclark@google.com | 4758069 | 2012-07-23 12:14:49 +0000 | [diff] [blame] | 458 | </div> |
| 459 | |
| 460 | <div id="testLine38"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 461 | path.addRect(10, 0, 30, 30, SkPath::kCW_Direction); |
| 462 | path.addRect(6, 12, 18, 18, SkPath::kCW_Direction); |
| 463 | path.addRect(12, 12, 21, 21, SkPath::kCW_Direction); |
caryclark@google.com | 4758069 | 2012-07-23 12:14:49 +0000 | [diff] [blame] | 464 | </div> |
| 465 | |
| 466 | <div id="testLine39"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 467 | path.addRect(10, 0, 30, 30, SkPath::kCW_Direction); |
| 468 | path.addRect(12, 6, 24, 24, SkPath::kCW_Direction); |
| 469 | path.addRect(12, 4, 21, 21, SkPath::kCW_Direction); |
caryclark@google.com | 4758069 | 2012-07-23 12:14:49 +0000 | [diff] [blame] | 470 | </div> |
| 471 | |
| 472 | <div id="testLine40"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 473 | path.addRect(10, 0, 30, 30, SkPath::kCW_Direction); |
| 474 | path.addRect(12, 18, 24, 24, SkPath::kCW_Direction); |
| 475 | path.addRect(4, 16, 13, 13, SkPath::kCW_Direction); |
caryclark@google.com | 4758069 | 2012-07-23 12:14:49 +0000 | [diff] [blame] | 476 | </div> |
| 477 | |
| 478 | <div id="testLine41"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 479 | path.addRect(0, 0, 20, 20, SkPath::kCW_Direction); |
| 480 | path.addRect(18, 24, 30, 30, SkPath::kCW_Direction); |
| 481 | path.addRect(12, 0, 21, 21, SkPath::kCW_Direction); |
caryclark@google.com | 4758069 | 2012-07-23 12:14:49 +0000 | [diff] [blame] | 482 | </div> |
| 483 | |
| 484 | <div id="testLine42"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 485 | path.addRect(0, 0, 20, 20, SkPath::kCW_Direction); |
| 486 | path.addRect(0, 0, 12, 12, SkPath::kCW_Direction); |
| 487 | path.addRect(8, 16, 17, 17, SkPath::kCW_Direction); |
caryclark@google.com | 4758069 | 2012-07-23 12:14:49 +0000 | [diff] [blame] | 488 | </div> |
| 489 | |
| 490 | <div id="testLine43"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 491 | path.addRect(0, 0, 20, 20, SkPath::kCW_Direction); |
| 492 | path.addRect(6, 24, 18, 18, SkPath::kCW_Direction); |
| 493 | path.addRect(0, 32, 9, 36, SkPath::kCCW_Direction); |
caryclark@google.com | 4758069 | 2012-07-23 12:14:49 +0000 | [diff] [blame] | 494 | </div> |
| 495 | |
| 496 | <div id="testLine44"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 497 | path.addRect(10, 40, 30, 30, SkPath::kCW_Direction); |
| 498 | path.addRect(18, 0, 30, 30, SkPath::kCW_Direction); |
| 499 | path.addRect(18, 32, 27, 36, SkPath::kCCW_Direction); |
caryclark@google.com | 4758069 | 2012-07-23 12:14:49 +0000 | [diff] [blame] | 500 | </div> |
| 501 | |
| 502 | <div id="testLine45"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 503 | path.addRect(10, 0, 30, 30, SkPath::kCW_Direction); |
| 504 | path.addRect(18, 0, 30, 30, SkPath::kCW_Direction); |
| 505 | path.addRect(24, 32, 33, 36, SkPath::kCW_Direction); |
caryclark@google.com | 4758069 | 2012-07-23 12:14:49 +0000 | [diff] [blame] | 506 | </div> |
| 507 | |
| 508 | <div id="testLine46"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 509 | path.addRect(10, 40, 30, 30, SkPath::kCW_Direction); |
| 510 | path.addRect(24, 0, 36, 36, SkPath::kCW_Direction); |
| 511 | path.addRect(24, 32, 33, 36, SkPath::kCW_Direction); |
caryclark@google.com | 4758069 | 2012-07-23 12:14:49 +0000 | [diff] [blame] | 512 | </div> |
| 513 | |
| 514 | <div id="testLine47"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 515 | path.addRect(0, 0, 20, 20, SkPath::kCW_Direction); |
| 516 | path.addRect(0, 0, 12, 12, SkPath::kCW_Direction); |
| 517 | path.addRect(0, 0, 9, 9, SkPath::kCCW_Direction); |
caryclark@google.com | 4758069 | 2012-07-23 12:14:49 +0000 | [diff] [blame] | 518 | </div> |
| 519 | |
| 520 | <div id="testLine48"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 521 | path.addRect(0, 0, 20, 20, SkPath::kCW_Direction); |
| 522 | path.addRect(0, 6, 12, 12, SkPath::kCW_Direction); |
| 523 | path.addRect(0, 0, 9, 9, SkPath::kCCW_Direction); |
caryclark@google.com | 4758069 | 2012-07-23 12:14:49 +0000 | [diff] [blame] | 524 | </div> |
| 525 | |
| 526 | <div id="testLine49"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 527 | path.addRect(0, 0, 20, 20, SkPath::kCW_Direction); |
| 528 | path.addRect(0, 0, 12, 12, SkPath::kCW_Direction); |
| 529 | path.addRect(0, 0, 9, 9, SkPath::kCW_Direction); |
caryclark@google.com | 4758069 | 2012-07-23 12:14:49 +0000 | [diff] [blame] | 530 | </div> |
| 531 | |
| 532 | <div id="testLine50"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 533 | path.addRect(10, 30, 30, 30, SkPath::kCW_Direction); |
| 534 | path.addRect(24, 20, 36, 30, SkPath::kCW_Direction); |
caryclark@google.com | 4758069 | 2012-07-23 12:14:49 +0000 | [diff] [blame] | 535 | </div> |
| 536 | |
| 537 | <div id="testLine51"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 538 | path.addRect(0, 0, 20, 20, SkPath::kCW_Direction); |
| 539 | path.addRect(0, 12, 12, 12, SkPath::kCW_Direction); |
| 540 | path.addRect(4, 12, 13, 13, SkPath::kCCW_Direction); |
caryclark@google.com | 4758069 | 2012-07-23 12:14:49 +0000 | [diff] [blame] | 541 | </div> |
| 542 | |
caryclark@google.com | e21cb18 | 2012-07-23 21:26:31 +0000 | [diff] [blame] | 543 | <div id="testLine52"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 544 | path.addRect(0, 30, 20, 20, SkPath::kCW_Direction); |
| 545 | path.addRect(6, 20, 18, 30, SkPath::kCW_Direction); |
| 546 | path.addRect(32, 0, 36, 41, SkPath::kCW_Direction); |
caryclark@google.com | e21cb18 | 2012-07-23 21:26:31 +0000 | [diff] [blame] | 547 | </div> |
| 548 | |
| 549 | <div id="testLine53"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 550 | path.addRect(10, 30, 30, 30, SkPath::kCW_Direction); |
| 551 | path.addRect(12, 20, 24, 30, SkPath::kCW_Direction); |
| 552 | path.addRect(12, 32, 21, 36, SkPath::kCCW_Direction); |
caryclark@google.com | e21cb18 | 2012-07-23 21:26:31 +0000 | [diff] [blame] | 553 | </div> |
| 554 | |
| 555 | <div id="testLine54"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 556 | path.addRect(0, 0, 20, 20, SkPath::kCW_Direction); |
| 557 | path.addRect(6, 0, 18, 18, SkPath::kCW_Direction); |
| 558 | path.addRect(8, 4, 17, 17, SkPath::kCCW_Direction); |
caryclark@google.com | e21cb18 | 2012-07-23 21:26:31 +0000 | [diff] [blame] | 559 | </div> |
| 560 | |
| 561 | <div id="testLine55"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 562 | path.addRect(0, 0, 20, 20, SkPath::kCW_Direction); |
| 563 | path.addRect(6, 6, 18, 18, SkPath::kCW_Direction); |
| 564 | path.addRect(4, 4, 13, 13, SkPath::kCCW_Direction); |
caryclark@google.com | e21cb18 | 2012-07-23 21:26:31 +0000 | [diff] [blame] | 565 | </div> |
| 566 | |
caryclark@google.com | 1806344 | 2012-07-25 12:05:18 +0000 | [diff] [blame] | 567 | <div id="testLine56"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 568 | path.addRect(0, 20, 20, 20, SkPath::kCW_Direction); |
| 569 | path.addRect(18, 20, 30, 30, SkPath::kCW_Direction); |
| 570 | path.addRect(12, 0, 21, 21, SkPath::kCCW_Direction); |
caryclark@google.com | 1806344 | 2012-07-25 12:05:18 +0000 | [diff] [blame] | 571 | </div> |
| 572 | |
| 573 | <div id="testLine57"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 574 | path.addRect(20, 0, 40, 40, SkPath::kCW_Direction); |
| 575 | path.addRect(20, 0, 30, 40, SkPath::kCW_Direction); |
| 576 | path.addRect(12, 0, 21, 21, SkPath::kCCW_Direction); |
caryclark@google.com | 1806344 | 2012-07-25 12:05:18 +0000 | [diff] [blame] | 577 | </div> |
| 578 | |
caryclark@google.com | cc90505 | 2012-07-25 20:59:42 +0000 | [diff] [blame] | 579 | <div id="testLine58"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 580 | path.addRect(0, 0, 20, 20, SkPath::kCW_Direction); |
| 581 | path.addRect(0, 0, 12, 12, SkPath::kCCW_Direction); |
| 582 | path.addRect(0, 12, 9, 9, SkPath::kCCW_Direction); |
caryclark@google.com | cc90505 | 2012-07-25 20:59:42 +0000 | [diff] [blame] | 583 | </div> |
| 584 | |
| 585 | <div id="testLine59"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 586 | path.addRect(0, 0, 20, 20, SkPath::kCW_Direction); |
| 587 | path.addRect(6, 6, 18, 18, SkPath::kCCW_Direction); |
| 588 | path.addRect(4, 4, 13, 13, SkPath::kCCW_Direction); |
caryclark@google.com | cc90505 | 2012-07-25 20:59:42 +0000 | [diff] [blame] | 589 | </div> |
| 590 | |
caryclark@google.com | 27c449a | 2012-07-27 18:26:38 +0000 | [diff] [blame] | 591 | <div id="testLine60"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 592 | path.addRect(0, 0, 20, 20, SkPath::kCW_Direction); |
| 593 | path.addRect(6, 12, 18, 18, SkPath::kCCW_Direction); |
| 594 | path.addRect(4, 12, 13, 13, SkPath::kCCW_Direction); |
caryclark@google.com | 27c449a | 2012-07-27 18:26:38 +0000 | [diff] [blame] | 595 | </div> |
| 596 | |
| 597 | <div id="testLine61"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 598 | path.addRect(0, 0, 20, 20, SkPath::kCW_Direction); |
| 599 | path.addRect(12, 0, 24, 24, SkPath::kCCW_Direction); |
| 600 | path.addRect(12, 0, 21, 21, SkPath::kCCW_Direction); |
caryclark@google.com | 27c449a | 2012-07-27 18:26:38 +0000 | [diff] [blame] | 601 | </div> |
| 602 | |
| 603 | <div id="testLine62"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 604 | path.addRect(0, 0, 60, 60, SkPath::kCW_Direction); |
| 605 | path.addRect(0, 0, 20, 20, SkPath::kCW_Direction); |
| 606 | path.addRect(0, 12, 12, 12, SkPath::kCW_Direction); |
| 607 | path.addRect(4, 12, 13, 13, SkPath::kCCW_Direction); |
caryclark@google.com | 27c449a | 2012-07-27 18:26:38 +0000 | [diff] [blame] | 608 | </div> |
| 609 | |
| 610 | <div id="testLine63"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 611 | path.addRect(0, 0, 60, 60, SkPath::kCW_Direction); |
| 612 | path.addRect(0, 10, 20, 20, SkPath::kCW_Direction); |
| 613 | path.addRect(0, 6, 12, 12, SkPath::kCCW_Direction); |
| 614 | path.addRect(0, 32, 9, 36, SkPath::kCCW_Direction); |
caryclark@google.com | 27c449a | 2012-07-27 18:26:38 +0000 | [diff] [blame] | 615 | </div> |
| 616 | |
| 617 | <div id="testLine64"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 618 | path.addRect(0, 0, 60, 60, SkPath::kCW_Direction); |
| 619 | path.addRect(10, 40, 30, 30, SkPath::kCW_Direction); |
| 620 | path.addRect(18, 6, 30, 30, SkPath::kCW_Direction); |
caryclark@google.com | 27c449a | 2012-07-27 18:26:38 +0000 | [diff] [blame] | 621 | </div> |
| 622 | |
| 623 | <div id="testLine65"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 624 | path.addRect(0, 0, 60, 60, SkPath::kCW_Direction); |
| 625 | path.addRect(10, 0, 30, 30, SkPath::kCW_Direction); |
| 626 | path.addRect(24, 0, 36, 36, SkPath::kCW_Direction); |
| 627 | path.addRect(32, 6, 36, 41, SkPath::kCCW_Direction); |
caryclark@google.com | 27c449a | 2012-07-27 18:26:38 +0000 | [diff] [blame] | 628 | </div> |
| 629 | |
| 630 | <div id="testLine66"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 631 | path.addRect(0, 0, 60, 60, SkPath::kCW_Direction); |
| 632 | path.addRect(0, 30, 20, 20, SkPath::kCW_Direction); |
| 633 | path.addRect(12, 20, 24, 30, SkPath::kCW_Direction); |
caryclark@google.com | 27c449a | 2012-07-27 18:26:38 +0000 | [diff] [blame] | 634 | </div> |
| 635 | |
caryclark@google.com | 534aa5b | 2012-08-02 20:08:21 +0000 | [diff] [blame] | 636 | <div id="testLine67"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 637 | path.addRect(0, 0, 60, 60, SkPath::kCW_Direction); |
| 638 | path.addRect(10, 40, 30, 30, SkPath::kCW_Direction); |
| 639 | path.addRect(24, 20, 36, 30, SkPath::kCW_Direction); |
| 640 | path.addRect(32, 0, 36, 41, SkPath::kCW_Direction); |
caryclark@google.com | 534aa5b | 2012-08-02 20:08:21 +0000 | [diff] [blame] | 641 | </div> |
| 642 | |
| 643 | <div id="testLine68a"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 644 | path.addRect(0, 0, 8, 8, SkPath::kCW_Direction); |
| 645 | path.addRect(2, 2, 6, 6, SkPath::kCW_Direction); |
| 646 | path.addRect(1, 2, 4, 2, SkPath::kCW_Direction); |
caryclark@google.com | 534aa5b | 2012-08-02 20:08:21 +0000 | [diff] [blame] | 647 | </div> |
| 648 | |
| 649 | <div id="testLine68b"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 650 | path.addRect(0, 0, 8, 8, SkPath::kCW_Direction); |
| 651 | path.addRect(2, 2, 6, 6, SkPath::kCCW_Direction); |
| 652 | path.addRect(1, 2, 4, 2, SkPath::kCW_Direction); |
caryclark@google.com | 534aa5b | 2012-08-02 20:08:21 +0000 | [diff] [blame] | 653 | </div> |
| 654 | |
| 655 | <div id="testLine68c"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 656 | path.addRect(0, 0, 8, 8, SkPath::kCCW_Direction); |
| 657 | path.addRect(2, 2, 6, 6, SkPath::kCW_Direction); |
| 658 | path.addRect(1, 2, 4, 2, SkPath::kCW_Direction); |
caryclark@google.com | 534aa5b | 2012-08-02 20:08:21 +0000 | [diff] [blame] | 659 | </div> |
| 660 | |
| 661 | <div id="testLine68d"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 662 | path.addRect(0, 0, 8, 8, SkPath::kCCW_Direction); |
| 663 | path.addRect(2, 2, 6, 6, SkPath::kCCW_Direction); |
| 664 | path.addRect(1, 2, 4, 2, SkPath::kCW_Direction); |
caryclark@google.com | 534aa5b | 2012-08-02 20:08:21 +0000 | [diff] [blame] | 665 | </div> |
| 666 | |
| 667 | <div id="testLine68e"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 668 | path.addRect(0, 0, 8, 8, SkPath::kCW_Direction); |
| 669 | path.addRect(0, 0, 8, 8, SkPath::kCW_Direction); |
| 670 | path.addRect(2, 2, 6, 6, SkPath::kCCW_Direction); |
| 671 | path.addRect(1, 2, 2, 2, SkPath::kCW_Direction); |
caryclark@google.com | 534aa5b | 2012-08-02 20:08:21 +0000 | [diff] [blame] | 672 | </div> |
| 673 | |
| 674 | <div id="testLine68f"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 675 | path.addRect(0, 0, 8, 8, SkPath::kCW_Direction); |
| 676 | path.addRect(2, 2, 6, 6, SkPath::kCCW_Direction); |
| 677 | path.addRect(2, 2, 6, 6, SkPath::kCCW_Direction); |
| 678 | path.addRect(1, 2, 2, 2, SkPath::kCW_Direction); |
caryclark@google.com | 534aa5b | 2012-08-02 20:08:21 +0000 | [diff] [blame] | 679 | </div> |
| 680 | |
| 681 | <div id="testLine69"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 682 | path.addRect(0, 20, 20, 20, SkPath::kCW_Direction); |
| 683 | path.addRect(0, 20, 12, 30, SkPath::kCW_Direction); |
| 684 | path.addRect(12, 32, 21, 36, SkPath::kCW_Direction); |
caryclark@google.com | 534aa5b | 2012-08-02 20:08:21 +0000 | [diff] [blame] | 685 | </div> |
| 686 | |
| 687 | <div id="testLine70"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 688 | path.addRect(0, 0, 20, 20, SkPath::kCW_Direction); |
| 689 | path.addRect(0, 24, 12, 12, SkPath::kCW_Direction); |
| 690 | path.addRect(12, 32, 21, 36, SkPath::kCCW_Direction); |
caryclark@google.com | 534aa5b | 2012-08-02 20:08:21 +0000 | [diff] [blame] | 691 | </div> |
| 692 | |
| 693 | <div id="testLine71"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 694 | path.addRect(0, 0, 20, 20, SkPath::kCW_Direction); |
| 695 | path.addRect(12, 0, 24, 24, SkPath::kCW_Direction); |
| 696 | path.addRect(12, 32, 21, 36, SkPath::kCW_Direction); |
caryclark@google.com | 534aa5b | 2012-08-02 20:08:21 +0000 | [diff] [blame] | 697 | </div> |
| 698 | |
caryclark@google.com | 200c211 | 2012-08-03 15:05:04 +0000 | [diff] [blame] | 699 | <div id="testLine72"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 700 | path.addRect(0, 0, 60, 60, SkPath::kCW_Direction); |
| 701 | path.addRect(10, 40, 30, 30, SkPath::kCW_Direction); |
| 702 | path.addRect(6, 20, 18, 30, SkPath::kCW_Direction); |
caryclark@google.com | 200c211 | 2012-08-03 15:05:04 +0000 | [diff] [blame] | 703 | </div> |
| 704 | |
| 705 | <div id="testLine73"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 706 | path.addRect(0, 0, 60, 60, SkPath::kCW_Direction); |
| 707 | path.addRect(0, 40, 20, 20, SkPath::kCW_Direction); |
| 708 | path.addRect(0, 20, 12, 30, SkPath::kCW_Direction); |
| 709 | path.addRect(0, 0, 9, 9, SkPath::kCCW_Direction); |
caryclark@google.com | 200c211 | 2012-08-03 15:05:04 +0000 | [diff] [blame] | 710 | </div> |
| 711 | |
caryclark@google.com | 0c803d0 | 2012-08-06 11:15:47 +0000 | [diff] [blame] | 712 | <div id="testLine74"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 713 | path.addRect(20, 30, 40, 40, SkPath::kCW_Direction); |
| 714 | path.addRect(24, 20, 36, 30, SkPath::kCCW_Direction); |
| 715 | path.addRect(32, 24, 36, 41, SkPath::kCCW_Direction); |
caryclark@google.com | 0c803d0 | 2012-08-06 11:15:47 +0000 | [diff] [blame] | 716 | </div> |
| 717 | |
caryclark@google.com | 2ddff93 | 2012-08-07 21:25:27 +0000 | [diff] [blame] | 718 | <div id="testLine75"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 719 | path.addRect(0, 0, 60, 60, SkPath::kCW_Direction); |
| 720 | path.addRect(10, 0, 30, 30, SkPath::kCCW_Direction); |
| 721 | path.addRect(18, 0, 30, 30, SkPath::kCCW_Direction); |
| 722 | path.addRect(12, 0, 21, 21, SkPath::kCCW_Direction); |
caryclark@google.com | 2ddff93 | 2012-08-07 21:25:27 +0000 | [diff] [blame] | 723 | </div> |
| 724 | |
| 725 | <div id="testLine76"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 726 | path.addRect(36, 0, 66, 60, SkPath::kCW_Direction); |
| 727 | path.addRect(10, 20, 40, 30, SkPath::kCW_Direction); |
| 728 | path.addRect(24, 20, 36, 30, SkPath::kCCW_Direction); |
| 729 | path.addRect(32, 6, 36, 41, SkPath::kCCW_Direction); |
caryclark@google.com | 2ddff93 | 2012-08-07 21:25:27 +0000 | [diff] [blame] | 730 | </div> |
| 731 | |
| 732 | <div id="testLine77"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 733 | path.addRect(20, 0, 40, 40, SkPath::kCW_Direction); |
| 734 | path.addRect(24, 6, 36, 36, SkPath::kCCW_Direction); |
| 735 | path.addRect(24, 32, 33, 36, SkPath::kCCW_Direction); |
caryclark@google.com | 2ddff93 | 2012-08-07 21:25:27 +0000 | [diff] [blame] | 736 | </div> |
| 737 | |
| 738 | <div id="testLine78"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 739 | path.addRect(0, 0, 30, 60, SkPath::kCW_Direction); |
| 740 | path.addRect(10, 20, 30, 30, SkPath::kCCW_Direction); |
| 741 | path.addRect(18, 20, 30, 30, SkPath::kCCW_Direction); |
| 742 | path.addRect(32, 0, 36, 41, SkPath::kCCW_Direction); |
caryclark@google.com | 2ddff93 | 2012-08-07 21:25:27 +0000 | [diff] [blame] | 743 | </div> |
| 744 | |
| 745 | <div id="testLine79"> |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 746 | path.addRect(0, 36, 60, 30, SkPath::kCW_Direction); |
| 747 | path.addRect(10, 30, 40, 30, SkPath::kCW_Direction); |
| 748 | path.addRect(0, 20, 12, 30, SkPath::kCCW_Direction); |
| 749 | path.addRect(0, 32, 9, 36, SkPath::kCCW_Direction); |
| 750 | </div> |
| 751 | |
| 752 | <div id="testLine81"> |
| 753 | path.addRect(-1, -1, 3, 3, SkPath::kCW_Direction); |
| 754 | path.addRect(0, 0, 1, 1, SkPath::kCW_Direction); |
| 755 | path.addRect(1, 1, 2, 2, SkPath::kCCW_Direction); |
caryclark@google.com | 2ddff93 | 2012-08-07 21:25:27 +0000 | [diff] [blame] | 756 | </div> |
| 757 | |
caryclark@google.com | 59823f7 | 2012-08-09 18:17:47 +0000 | [diff] [blame] | 758 | <div id="testDegenerate1"> |
| 759 | path.moveTo(0, 0); |
| 760 | path.lineTo(0, 0); |
| 761 | path.lineTo(2, 0); |
| 762 | path.close(); |
| 763 | path.moveTo(0, 0); |
| 764 | path.lineTo(1, 0); |
| 765 | path.lineTo(2, 0); |
| 766 | path.close(); |
| 767 | </div> |
| 768 | |
| 769 | <div id="testDegenerate2"> |
| 770 | path.moveTo(0, 0); |
| 771 | path.lineTo(0, 0); |
| 772 | path.lineTo(0, 0); |
| 773 | path.close(); |
| 774 | path.moveTo(0, 0); |
| 775 | path.lineTo(1, 0); |
| 776 | path.lineTo(0, 1); |
| 777 | path.close(); |
| 778 | </div> |
| 779 | |
| 780 | <div id="testDegenerate3"> |
| 781 | path.moveTo(0, 0); |
| 782 | path.lineTo(2, 0); |
| 783 | path.lineTo(1, 0); |
| 784 | path.close(); |
| 785 | path.moveTo(0, 0); |
| 786 | path.lineTo(0, 0); |
| 787 | path.lineTo(3, 0); |
| 788 | path.close(); |
| 789 | </div> |
| 790 | |
| 791 | <div id="testDegenerate4"> |
| 792 | path.moveTo(0, 0); |
| 793 | path.lineTo(1, 0); |
| 794 | path.lineTo(1, 3); |
| 795 | path.close(); |
| 796 | path.moveTo(1, 0); |
| 797 | path.lineTo(1, 1); |
| 798 | path.lineTo(1, 2); |
| 799 | path.close(); |
| 800 | </div> |
| 801 | |
| 802 | <div id="testNondegenerate1"> |
| 803 | path.moveTo(0, 0); |
| 804 | path.lineTo(3, 0); |
| 805 | path.lineTo(1, 3); |
| 806 | path.close(); |
| 807 | path.moveTo(1, 1); |
| 808 | path.lineTo(2, 1); |
| 809 | path.lineTo(1, 2); |
| 810 | path.close(); |
| 811 | </div> |
| 812 | |
| 813 | <div id="testNondegenerate2"> |
| 814 | path.moveTo(1, 0); |
| 815 | path.lineTo(0, 1); |
| 816 | path.lineTo(1, 1); |
| 817 | path.close(); |
| 818 | path.moveTo(0, 2); |
| 819 | path.lineTo(0, 3); |
| 820 | path.lineTo(1, 2); |
| 821 | path.close(); |
| 822 | </div> |
| 823 | |
| 824 | <div id="testNondegenerate3"> |
| 825 | path.moveTo(0, 0); |
| 826 | path.lineTo(1, 0); |
| 827 | path.lineTo(2, 1); |
| 828 | path.close(); |
| 829 | path.moveTo(0, 1); |
| 830 | path.lineTo(1, 1); |
| 831 | path.lineTo(0, 2); |
| 832 | path.close(); |
| 833 | </div> |
| 834 | |
| 835 | <div id="testNondegenerate4"> |
| 836 | path.moveTo(1, 0); |
| 837 | path.lineTo(0, 1); |
| 838 | path.lineTo(1, 2); |
| 839 | path.close(); |
| 840 | path.moveTo(0, 2); |
| 841 | path.lineTo(0, 3); |
| 842 | path.lineTo(1, 3); |
| 843 | path.close(); |
| 844 | </div> |
| 845 | |
| 846 | <div id="testQuadralateral5"> |
| 847 | path.moveTo(0, 0); |
| 848 | path.lineTo(0, 0); |
| 849 | path.lineTo(1, 0); |
| 850 | path.lineTo(1, 1); |
| 851 | path.close(); |
| 852 | path.moveTo(0, 0); |
| 853 | path.lineTo(2, 2); |
| 854 | path.lineTo(3, 2); |
| 855 | path.lineTo(3, 3); |
| 856 | path.close(); |
| 857 | </div> |
| 858 | |
| 859 | <div id="testQuadralateral6"> |
| 860 | path.moveTo(0, 0); |
| 861 | path.lineTo(0, 0); |
| 862 | path.lineTo(1, 0); |
| 863 | path.lineTo(1, 1); |
| 864 | path.close(); |
| 865 | path.moveTo(1, 0); |
| 866 | path.lineTo(2, 0); |
| 867 | path.lineTo(0, 2); |
| 868 | path.lineTo(2, 2); |
| 869 | path.close(); |
| 870 | </div> |
| 871 | |
caryclark@google.com | 24bec79 | 2012-08-20 12:43:57 +0000 | [diff] [blame] | 872 | <div id="testFauxQuadralateral6"> |
| 873 | path.moveTo(0, 0); |
| 874 | path.lineTo(1, 0); |
| 875 | path.lineTo(1, 1); |
| 876 | path.close(); |
| 877 | path.moveTo(1, 0); |
| 878 | path.lineTo(2, 0); |
| 879 | path.lineTo(1.333, 0.667); |
| 880 | path.close(); |
| 881 | path.moveTo(1.333, 0.667); |
| 882 | path.lineTo(0, 2); |
| 883 | path.lineTo(2, 2); |
| 884 | path.close(); |
| 885 | </div> |
| 886 | |
| 887 | <div id="testFauxQuadralateral6a"> |
| 888 | path.moveTo(0, 0); |
| 889 | path.lineTo(3, 0); |
| 890 | path.lineTo(3, 3); |
| 891 | path.close(); |
| 892 | path.moveTo(3, 0); |
| 893 | path.lineTo(6, 0); |
| 894 | path.lineTo(4, 2); |
| 895 | path.close(); |
| 896 | path.moveTo(4, 2); |
| 897 | path.lineTo(0, 6); |
| 898 | path.lineTo(6, 6); |
| 899 | path.close(); |
| 900 | </div> |
| 901 | |
| 902 | <div id="testFauxQuadralateral6b"> |
| 903 | path.moveTo(0, 0); |
| 904 | path.lineTo(3, 0); |
| 905 | path.lineTo(3, 3); |
| 906 | path.close(); |
| 907 | path.moveTo(3, 0); |
| 908 | path.lineTo(6, 0); |
| 909 | path.lineTo(4, 2); |
| 910 | path.close(); |
| 911 | path.moveTo(4, 2); |
| 912 | path.lineTo(6, 6); |
| 913 | path.lineTo(0, 6); |
| 914 | path.close(); |
| 915 | </div> |
| 916 | |
| 917 | <div id="testFauxQuadralateral6c"> |
| 918 | path.moveTo(0, 0); |
| 919 | path.lineTo(3, 3); |
| 920 | path.lineTo(3, 0); |
| 921 | path.close(); |
| 922 | path.moveTo(3, 0); |
| 923 | path.lineTo(6, 0); |
| 924 | path.lineTo(4, 2); |
| 925 | path.close(); |
| 926 | path.moveTo(4, 2); |
| 927 | path.lineTo(0, 6); |
| 928 | path.lineTo(6, 6); |
| 929 | path.close(); |
| 930 | </div> |
| 931 | |
| 932 | <div id="testFauxQuadralateral6d"> |
| 933 | path.moveTo(0, 0); |
| 934 | path.lineTo(3, 3); |
| 935 | path.lineTo(3, 0); |
| 936 | path.close(); |
| 937 | path.moveTo(3, 0); |
| 938 | path.lineTo(6, 0); |
| 939 | path.lineTo(4, 2); |
| 940 | path.close(); |
| 941 | path.moveTo(4, 2); |
| 942 | path.lineTo(6, 6); |
| 943 | path.lineTo(0, 6); |
| 944 | </div> |
| 945 | |
| 946 | <div id="testQuadralateral6a"> |
| 947 | path.moveTo(0, 0); |
| 948 | path.lineTo(0, 0); |
| 949 | path.lineTo(3, 0); |
| 950 | path.lineTo(3, 3); |
| 951 | path.close(); |
| 952 | path.moveTo(3, 0); |
| 953 | path.lineTo(6, 0); |
| 954 | path.lineTo(0, 6); |
| 955 | path.lineTo(6, 6); |
| 956 | </div> |
| 957 | |
| 958 | <div id="testQuadralateral7"> |
| 959 | path.moveTo(0, 0); |
| 960 | path.lineTo(0, 0); |
| 961 | path.lineTo(1, 0); |
| 962 | path.lineTo(2, 1); |
| 963 | path.close(); |
| 964 | path.moveTo(1, 0); |
| 965 | path.lineTo(1, 1); |
| 966 | path.lineTo(2, 2); |
| 967 | path.lineTo(1, 3); |
| 968 | path.close(); |
| 969 | </div> |
| 970 | |
| 971 | <div id="testQuadralateral8"> |
| 972 | path.moveTo(0, 0); |
| 973 | path.lineTo(3, 1); |
| 974 | path.lineTo(1, 3); |
| 975 | path.lineTo(3, 3); |
| 976 | path.close(); |
| 977 | path.moveTo(2, 1); |
| 978 | path.lineTo(0, 2); |
| 979 | path.lineTo(3, 2); |
| 980 | path.lineTo(2, 3); |
| 981 | path.close(); |
| 982 | </div> |
| 983 | |
| 984 | <div id="testQuadralateral9"> |
| 985 | path.moveTo(0, 0); |
| 986 | path.lineTo(1, 0); |
| 987 | path.lineTo(1, 2); |
| 988 | path.lineTo(2, 2); |
| 989 | path.close(); |
| 990 | path.moveTo(1, 1); |
| 991 | path.lineTo(2, 1); |
| 992 | path.lineTo(1, 3); |
| 993 | path.lineTo(2, 3); |
| 994 | path.close(); |
| 995 | </div> |
| 996 | |
| 997 | <div id="testLine1x"> |
| 998 | path.setFillType(SkPath::kEvenOdd_FillType); |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 999 | path.addRect(0, 0, 12, 12, SkPath::kCW_Direction); |
| 1000 | path.addRect(4, 0, 13, 13, SkPath::kCW_Direction); |
caryclark@google.com | 24bec79 | 2012-08-20 12:43:57 +0000 | [diff] [blame] | 1001 | </div> |
| 1002 | |
| 1003 | <div id="testLine2x"> |
| 1004 | path.setFillType(SkPath::kEvenOdd_FillType); |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 1005 | path.addRect(0, 20, 20, 20, SkPath::kCW_Direction); |
| 1006 | path.addRect(0, 20, 12, 30, SkPath::kCW_Direction); |
| 1007 | path.addRect(12, 0, 21, 21, SkPath::kCCW_Direction); |
caryclark@google.com | 24bec79 | 2012-08-20 12:43:57 +0000 | [diff] [blame] | 1008 | </div> |
| 1009 | |
| 1010 | <div id="testLine3x"> |
| 1011 | path.setFillType(SkPath::kEvenOdd_FillType); |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 1012 | path.addRect(10, 30, 30, 30, SkPath::kCW_Direction); |
| 1013 | path.addRect(18, 20, 30, 30, SkPath::kCCW_Direction); |
| 1014 | path.addRect(0, 32, 9, 36, SkPath::kCCW_Direction); |
caryclark@google.com | 24bec79 | 2012-08-20 12:43:57 +0000 | [diff] [blame] | 1015 | </div> |
| 1016 | |
| 1017 | <div id="testLine4x"> |
| 1018 | path.setFillType(SkPath::kEvenOdd_FillType); |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 1019 | path.addRect(10, 30, 30, 30, SkPath::kCW_Direction); |
| 1020 | path.addRect(24, 20, 36, 30, SkPath::kCCW_Direction); |
| 1021 | path.addRect(0, 32, 9, 36, SkPath::kCCW_Direction); |
caryclark@google.com | 24bec79 | 2012-08-20 12:43:57 +0000 | [diff] [blame] | 1022 | </div> |
| 1023 | |
| 1024 | <div id="testQuadratic1"> |
| 1025 | path.moveTo(0, 0); |
| 1026 | path.quadTo(0, 0, 0, 0); |
| 1027 | path.lineTo(1, 0); |
| 1028 | path.close(); |
| 1029 | path.moveTo(0, 0); |
| 1030 | path.lineTo(0, 0); |
| 1031 | path.quadTo(0, 0, 0, 0); |
| 1032 | path.close(); |
| 1033 | </div> |
| 1034 | |
| 1035 | <div id="testQuadratic2"> |
| 1036 | path.moveTo(0, 0); |
| 1037 | path.quadTo(0, 0, 0, 0); |
| 1038 | path.lineTo(3, 0); |
| 1039 | path.close(); |
| 1040 | path.moveTo(0, 0); |
| 1041 | path.lineTo(0, 0); |
| 1042 | path.quadTo(1, 0, 0, 1); |
| 1043 | path.close(); |
| 1044 | </div> |
| 1045 | |
caryclark@google.com | 03f9706 | 2012-08-21 13:13:52 +0000 | [diff] [blame] | 1046 | <div id="testQuadratic3"> |
| 1047 | path.moveTo(0, 0); |
| 1048 | path.quadTo(0, 0, 1, 0); |
| 1049 | path.lineTo(0, 2); |
| 1050 | path.close(); |
| 1051 | path.moveTo(0, 0); |
| 1052 | path.lineTo(0, 0); |
| 1053 | path.quadTo(1, 0, 0, 1); |
| 1054 | path.close(); |
| 1055 | </div> |
| 1056 | |
caryclark@google.com | c899ad9 | 2012-08-23 15:24:42 +0000 | [diff] [blame] | 1057 | <div id="testQuadratic4x"> |
| 1058 | path.setFillType(SkPath::kEvenOdd_FillType); |
| 1059 | path.moveTo(0, 0); |
| 1060 | path.quadTo(0, 0, 1, 0); |
| 1061 | path.lineTo(0, 2); |
| 1062 | path.close(); |
| 1063 | path.moveTo(0, 0); |
| 1064 | path.lineTo(0, 0); |
| 1065 | path.quadTo(1, 0, 0, 2); |
| 1066 | path.close(); |
| 1067 | </div> |
| 1068 | |
| 1069 | <div id="testQuadratic5"> |
| 1070 | path.moveTo(0, 0); |
| 1071 | path.quadTo(0, 0, 0, 0); |
| 1072 | path.lineTo(0, 1); |
| 1073 | path.close(); |
| 1074 | path.moveTo(0, 0); |
| 1075 | path.lineTo(1, 0); |
| 1076 | path.quadTo(0, 1, 0, 2); |
| 1077 | path.close(); |
| 1078 | </div> |
| 1079 | |
| 1080 | <div id="testQuadratic6"> |
| 1081 | path.moveTo(0, 0); |
| 1082 | path.quadTo(0, 0, 1, 0); |
| 1083 | path.lineTo(2, 1); |
| 1084 | path.close(); |
| 1085 | path.moveTo(0, 0); |
| 1086 | path.lineTo(0, 0); |
| 1087 | path.quadTo(2, 0, 0, 1); |
| 1088 | path.close(); |
| 1089 | </div> |
| 1090 | |
| 1091 | <div id="testQuadratic7"> |
| 1092 | path.moveTo(0, 0); |
| 1093 | path.quadTo(0, 0, 1, 0); |
| 1094 | path.lineTo(3, 1); |
| 1095 | path.close(); |
| 1096 | path.moveTo(0, 0); |
| 1097 | path.lineTo(0, 0); |
| 1098 | path.quadTo(3, 0, 1, 2); |
| 1099 | path.close(); |
| 1100 | </div> |
| 1101 | |
| 1102 | <div id="testQuadratic8"> |
| 1103 | path.moveTo(0, 0); |
| 1104 | path.quadTo(0, 0, 1, 0); |
| 1105 | path.lineTo(0, 2); |
| 1106 | path.close(); |
| 1107 | path.moveTo(0, 0); |
| 1108 | path.lineTo(1, 0); |
| 1109 | path.quadTo(0, 1, 1, 2); |
| 1110 | path.close(); |
| 1111 | </div> |
| 1112 | |
| 1113 | <div id="testQuadratic9"> |
| 1114 | path.moveTo(0, 0); |
| 1115 | path.quadTo(0, 0, 1, 0); |
| 1116 | path.lineTo(3, 1); |
| 1117 | path.close(); |
| 1118 | path.moveTo(0, 0); |
| 1119 | path.lineTo(1, 0); |
| 1120 | path.quadTo(1, 2, 3, 2); |
| 1121 | path.close(); |
| 1122 | </div> |
| 1123 | |
| 1124 | <div id="testQuadratic9a"> |
| 1125 | path.moveTo(1.08000004, 0.720000029); |
| 1126 | path.lineTo(0, 0); |
| 1127 | path.lineTo(1, 0); |
| 1128 | path.lineTo(3, 1); |
| 1129 | path.lineTo(1.01568651, 0.338562161); |
| 1130 | path.quadTo(1.03542483, 0.541699469, 1.08000004, 0.720000029); |
| 1131 | path.close(); |
| 1132 | path.moveTo(1.08000004, 0.720000029); |
| 1133 | path.lineTo(3, 2); |
| 1134 | path.quadTo(1.39999998, 2, 1.08000004, 0.720000029); |
| 1135 | path.close(); |
| 1136 | |
| 1137 | </div> |
| 1138 | |
| 1139 | <div id="testQuadratic10a"> |
| 1140 | path.moveTo(15.5, 15.5); |
| 1141 | path.lineTo(46.5, 15.5); |
| 1142 | path.quadTo(0, 31, 0, 46.5); |
| 1143 | path.lineTo(15.5, 15.5); |
| 1144 | path.close(); |
| 1145 | </div> |
| 1146 | |
| 1147 | <div id="testQuadratic10b"> |
| 1148 | path.moveTo(5.16666698, 36.1666641); |
| 1149 | path.lineTo(15.5, 15.5); |
| 1150 | path.lineTo(46.5, 15.5); |
| 1151 | path.quadTo(15.5, 25.8333321, 5.16666698, 36.1666641); |
| 1152 | path.close(); |
| 1153 | path.moveTo(5.16666698, 36.1666641); |
| 1154 | path.lineTo(0, 46.5); |
| 1155 | path.quadTo(0, 41.3333359, 5.16666698, 36.1666641); |
| 1156 | path.close(); |
| 1157 | </div> |
| 1158 | |
| 1159 | <div id="testQuadratic11a"> |
| 1160 | path.moveTo(0, 0); |
| 1161 | path.lineTo(15.5, 31); |
| 1162 | path.lineTo(0, 0); |
| 1163 | path.close(); |
| 1164 | path.moveTo(0, 15.5); |
| 1165 | path.lineTo(15.5, 15.5); |
| 1166 | path.quadTo(15.5, 15.5, 46.5, 31); |
| 1167 | path.lineTo(0, 15.5); |
| 1168 | path.close(); |
| 1169 | </div> |
| 1170 | |
| 1171 | <div id="testQuadratic11b"> |
| 1172 | path.moveTo(9.30000019, 18.6000004); |
| 1173 | path.lineTo(0, 15.5); |
| 1174 | path.lineTo(7.75, 15.5); |
| 1175 | path.lineTo(15.5, 15.5); |
| 1176 | path.lineTo(46.5, 31); |
| 1177 | path.lineTo(9.30000019, 18.6000004); |
| 1178 | path.close(); |
| 1179 | </div> |
| 1180 | |
| 1181 | <div id="testQuadratic12"> |
| 1182 | path.moveTo(0, 0); |
| 1183 | path.quadTo(0, 0, 0, 0); |
| 1184 | path.lineTo(1, 3); |
| 1185 | path.close(); |
| 1186 | path.moveTo(1, 0); |
| 1187 | path.lineTo(0, 1); |
| 1188 | path.quadTo(1, 1, 0, 3); |
| 1189 | path.close(); |
| 1190 | </div> |
| 1191 | |
| 1192 | <div id="testQuadratic13a"> |
| 1193 | path.moveTo(0, 0); |
| 1194 | path.quadTo(0, 0, 15.5, 0); |
| 1195 | path.lineTo(15.5, 31); |
| 1196 | path.lineTo(0, 0); |
| 1197 | path.close(); |
| 1198 | path.moveTo(0, 0); |
| 1199 | path.quadTo(15.5, 46.5, 46.5, 46.5); |
| 1200 | path.lineTo(0, 0); |
| 1201 | path.close(); |
| 1202 | </div> |
| 1203 | |
| 1204 | <div id="testQuadratic13b"> |
| 1205 | path.moveTo(14.8800001, 29.7600002); |
| 1206 | path.quadTo(6.20000029, 18.6000004, 0, 0); |
| 1207 | path.lineTo(14.8800001, 29.7600002); |
| 1208 | path.close(); |
| 1209 | path.moveTo(15.5, 30.5437222); |
| 1210 | path.lineTo(15.5, 31); |
| 1211 | path.lineTo(14.8800001, 29.7600002); |
| 1212 | path.quadTo(15.1884346, 30.156559, 15.5, 30.5437222); |
| 1213 | path.close(); |
| 1214 | path.moveTo(15.5, 15.5); |
| 1215 | path.lineTo(0, 0); |
| 1216 | path.lineTo(15.5, 0); |
| 1217 | path.lineTo(15.5, 15.5); |
| 1218 | path.close(); |
| 1219 | path.moveTo(15.5, 30.5437222); |
| 1220 | path.lineTo(15.5, 15.5); |
| 1221 | path.lineTo(46.5, 46.5); |
| 1222 | path.quadTo(28.34062, 46.5, 15.5, 30.5437222); |
| 1223 | path.close(); |
| 1224 | </div> |
| 1225 | |
| 1226 | <div id="testQuadratic14"> |
| 1227 | path.moveTo(0, 0); |
| 1228 | path.quadTo(0, 0, 1, 0); |
| 1229 | path.lineTo(3, 2); |
| 1230 | path.close(); |
| 1231 | path.moveTo(0, 0); |
| 1232 | path.lineTo(1, 0); |
| 1233 | path.quadTo(3, 2, 3, 3); |
| 1234 | path.close(); |
| 1235 | </div> |
| 1236 | |
caryclark@google.com | 3350c3c | 2012-08-24 15:24:36 +0000 | [diff] [blame] | 1237 | <div id="testQuadratic15"> |
| 1238 | path.moveTo(0, 0); |
| 1239 | path.quadTo(0, 0, 1, 0); |
| 1240 | path.lineTo(1, 3); |
| 1241 | path.close(); |
| 1242 | path.moveTo(1, 0); |
| 1243 | path.lineTo(0, 1); |
| 1244 | path.quadTo(1, 1, 0, 3); |
| 1245 | path.close(); |
| 1246 | </div> |
| 1247 | |
| 1248 | <div id="testQuadratic16a"> |
| 1249 | path.moveTo(0, 0); |
| 1250 | path.quadTo(0, 0, 31, 0); |
| 1251 | path.lineTo(46.5, 31); |
| 1252 | path.lineTo(0, 0); |
| 1253 | path.close(); |
| 1254 | path.moveTo(46.5, 15.5); |
| 1255 | path.lineTo(0, 31); |
| 1256 | path.quadTo(0, 31, 15.5, 31); |
| 1257 | path.lineTo(46.5, 15.5); |
| 1258 | path.close(); |
| 1259 | </div> |
| 1260 | |
| 1261 | <div id="testQuadratic16b"> |
| 1262 | path.moveTo(31, 20.6666679); |
| 1263 | path.lineTo(0, 0); |
| 1264 | path.lineTo(31, 0); |
| 1265 | path.lineTo(39.8571434, 17.7142868); |
| 1266 | path.lineTo(31, 20.6666679); |
| 1267 | path.close(); |
| 1268 | path.moveTo(33.214283, 22.1428585); |
| 1269 | path.lineTo(15.5, 31); |
| 1270 | path.lineTo(0, 31); |
| 1271 | path.lineTo(31, 20.6666679); |
| 1272 | path.lineTo(33.214283, 22.1428585); |
| 1273 | path.close(); |
| 1274 | path.moveTo(40.2999992, 18.6000004); |
| 1275 | path.lineTo(46.5, 31); |
| 1276 | path.lineTo(33.214283, 22.1428585); |
| 1277 | path.lineTo(40.2999992, 18.6000004); |
| 1278 | path.close(); |
| 1279 | path.moveTo(39.8571434, 17.7142868); |
| 1280 | path.lineTo(46.5, 15.5); |
| 1281 | path.lineTo(40.2999992, 18.6000004); |
| 1282 | path.lineTo(39.8571434, 17.7142868); |
| 1283 | path.close(); |
| 1284 | </div> |
| 1285 | |
| 1286 | <div id="testQuadratic17x"> |
| 1287 | path.setFillType(SkPath::kEvenOdd_FillType); |
| 1288 | path.moveTo(0, 0); |
| 1289 | path.quadTo(0, 0, 3, 1); |
| 1290 | path.lineTo(0, 2); |
| 1291 | path.close(); |
| 1292 | path.moveTo(0, 0); |
| 1293 | path.lineTo(1, 0); |
| 1294 | path.quadTo(3, 1, 0, 2); |
| 1295 | path.close(); |
| 1296 | </div> |
| 1297 | |
| 1298 | <div id="testQuadratic18"> |
| 1299 | path.moveTo(0, 0); |
| 1300 | path.quadTo(1, 0, 0, 1); |
| 1301 | path.lineTo(0, 1); |
| 1302 | path.close(); |
| 1303 | path.moveTo(0, 0); |
| 1304 | path.lineTo(0, 0); |
| 1305 | path.quadTo(1, 0, 1, 1); |
| 1306 | path.close(); |
| 1307 | </div> |
| 1308 | |
caryclark@google.com | a7e483d | 2012-08-28 20:44:43 +0000 | [diff] [blame] | 1309 | <div id="testQuadratic19"> |
| 1310 | path.moveTo(0, 0); |
| 1311 | path.quadTo(1, 0, 0, 1); |
| 1312 | path.lineTo(0, 1); |
| 1313 | path.close(); |
| 1314 | path.moveTo(0, 0); |
| 1315 | path.lineTo(0, 0); |
| 1316 | path.quadTo(2, 0, 0, 1); |
| 1317 | path.close(); |
| 1318 | </div> |
| 1319 | |
caryclark@google.com | 32546db | 2012-08-31 20:55:07 +0000 | [diff] [blame] | 1320 | <div id="testQuadratic20"> |
| 1321 | path.moveTo(0, 0); |
| 1322 | path.quadTo(1, 0, 0, 1); |
| 1323 | path.lineTo(0, 1); |
| 1324 | path.close(); |
| 1325 | path.moveTo(0, 0); |
| 1326 | path.lineTo(0, 0); |
| 1327 | path.quadTo(1, 0, 0, 1); |
| 1328 | path.close(); |
| 1329 | </div> |
| 1330 | |
caryclark@google.com | 235f56a | 2012-09-14 14:19:30 +0000 | [diff] [blame] | 1331 | <div id="testQuadratic21"> |
| 1332 | path.moveTo(0, 0); |
| 1333 | path.quadTo(1, 0, 0, 1); |
| 1334 | path.lineTo(0, 1); |
| 1335 | path.close(); |
| 1336 | path.moveTo(0, 0); |
| 1337 | path.lineTo(0, 0); |
| 1338 | path.quadTo(1, 0, 0, 2); |
| 1339 | path.close(); |
| 1340 | </div> |
| 1341 | |
| 1342 | <div id="testQuadratic22"> |
| 1343 | path.moveTo(0, 0); |
| 1344 | path.quadTo(1, 0, 0, 1); |
| 1345 | path.lineTo(0, 1); |
| 1346 | path.close(); |
| 1347 | path.moveTo(0, 0); |
| 1348 | path.lineTo(0, 0); |
| 1349 | path.quadTo(0, 1, 2, 1); |
| 1350 | path.close(); |
| 1351 | </div> |
| 1352 | |
| 1353 | <div id="testQuadratic23"> |
| 1354 | path.moveTo(0, 0); |
| 1355 | path.quadTo(1, 0, 0, 1); |
| 1356 | path.lineTo(0, 1); |
| 1357 | path.close(); |
| 1358 | path.moveTo(0, 0); |
| 1359 | path.lineTo(0, 0); |
| 1360 | path.quadTo(0, 2, 1, 2); |
| 1361 | path.close(); |
| 1362 | </div> |
| 1363 | |
| 1364 | <div id="testQuadratic24"> |
| 1365 | path.moveTo(0, 0); |
| 1366 | path.quadTo(1, 0, 0, 1); |
| 1367 | path.lineTo(0, 1); |
| 1368 | path.close(); |
| 1369 | path.moveTo(0, 0); |
| 1370 | path.lineTo(1, 0); |
| 1371 | path.quadTo(2, 0, 0, 1); |
| 1372 | path.close(); |
| 1373 | </div> |
| 1374 | |
| 1375 | <div id="testQuadratic25"> |
| 1376 | path.moveTo(0, 0); |
| 1377 | path.quadTo(1, 0, 1, 1); |
| 1378 | path.lineTo(1, 1); |
| 1379 | path.close(); |
| 1380 | path.moveTo(0, 0); |
| 1381 | path.lineTo(0, 0); |
| 1382 | path.quadTo(2, 1, 0, 2); |
| 1383 | path.close(); |
| 1384 | </div> |
| 1385 | |
| 1386 | <div id="testQuadratic26"> |
| 1387 | path.moveTo(0, 0); |
| 1388 | path.quadTo(1, 0, 1, 1); |
| 1389 | path.lineTo(0, 2); |
| 1390 | path.close(); |
| 1391 | path.moveTo(0, 0); |
| 1392 | path.lineTo(0, 0); |
| 1393 | path.quadTo(1, 0, 0, 1); |
| 1394 | path.close(); |
| 1395 | </div> |
| 1396 | |
| 1397 | <div id="testQuadratic27"> |
| 1398 | path.moveTo(0, 0); |
| 1399 | path.quadTo(1, 0, 1, 1); |
| 1400 | path.lineTo(2, 1); |
| 1401 | path.close(); |
| 1402 | path.moveTo(0, 0); |
| 1403 | path.lineTo(0, 0); |
| 1404 | path.quadTo(2, 1, 0, 2); |
| 1405 | path.close(); |
| 1406 | </div> |
| 1407 | |
| 1408 | <div id="testQuadratic28"> |
| 1409 | path.moveTo(0, 0); |
| 1410 | path.quadTo(1, 0, 0, 1); |
| 1411 | path.lineTo(0, 1); |
| 1412 | path.close(); |
| 1413 | path.moveTo(0, 0); |
| 1414 | path.lineTo(0, 2); |
| 1415 | path.quadTo(1, 2, 0, 3); |
| 1416 | path.close(); |
| 1417 | </div> |
| 1418 | |
caryclark@google.com | d168874 | 2012-09-18 20:08:37 +0000 | [diff] [blame] | 1419 | <div id="testQuadratic29"> |
| 1420 | path.moveTo(0, 0); |
| 1421 | path.quadTo(1, 0, 2, 1); |
| 1422 | path.lineTo(0, 2); |
| 1423 | path.close(); |
| 1424 | path.moveTo(0, 0); |
| 1425 | path.lineTo(0, 0); |
| 1426 | path.quadTo(1, 0, 0, 1); |
| 1427 | path.close(); |
| 1428 | </div> |
| 1429 | |
| 1430 | <div id="testQuadratic30"> |
| 1431 | path.moveTo(0, 0); |
| 1432 | path.quadTo(1, 0, 1, 2); |
| 1433 | path.lineTo(1, 2); |
| 1434 | path.close(); |
| 1435 | path.moveTo(0, 0); |
| 1436 | path.lineTo(1, 0); |
| 1437 | path.quadTo(0, 1, 1, 2); |
| 1438 | path.close(); |
| 1439 | </div> |
| 1440 | |
| 1441 | <div id="testQuadratic31"> |
| 1442 | path.moveTo(0, 0); |
| 1443 | path.quadTo(1, 0, 1, 2); |
| 1444 | path.lineTo(1, 2); |
| 1445 | path.close(); |
| 1446 | path.moveTo(0, 0); |
| 1447 | path.lineTo(1, 0); |
| 1448 | path.quadTo(0, 1, 1, 3); |
| 1449 | path.close(); |
| 1450 | </div> |
| 1451 | |
| 1452 | <div id="testQuadratic32"> |
| 1453 | path.moveTo(0, 0); |
| 1454 | path.quadTo(1, 0, 2, 3); |
| 1455 | path.lineTo(2, 3); |
| 1456 | path.close(); |
| 1457 | path.moveTo(0, 0); |
| 1458 | path.lineTo(0, 0); |
| 1459 | path.quadTo(3, 1, 0, 2); |
| 1460 | path.close(); |
| 1461 | </div> |
| 1462 | |
| 1463 | <div id="testQuadratic33"> |
| 1464 | path.moveTo(0, 0); |
| 1465 | path.quadTo(2, 0, 0, 1); |
| 1466 | path.lineTo(0, 1); |
| 1467 | path.close(); |
| 1468 | path.moveTo(0, 0); |
| 1469 | path.lineTo(1, 1); |
| 1470 | path.quadTo(2, 1, 2, 2); |
| 1471 | path.close(); |
| 1472 | </div> |
| 1473 | |
| 1474 | <div id="testQuadratic34"> |
| 1475 | path.moveTo(0, 0); |
| 1476 | path.quadTo(2, 0, 0, 1); |
| 1477 | path.lineTo(0, 1); |
| 1478 | path.close(); |
| 1479 | path.moveTo(1, 0); |
| 1480 | path.lineTo(1, 1); |
| 1481 | path.quadTo(2, 1, 1, 2); |
| 1482 | path.close(); |
| 1483 | </div> |
| 1484 | |
| 1485 | <div id="testQuadratic35"> |
| 1486 | path.moveTo(0, 0); |
| 1487 | path.quadTo(0, 1, 1, 1); |
| 1488 | path.lineTo(1, 3); |
| 1489 | path.close(); |
| 1490 | path.moveTo(2, 0); |
| 1491 | path.lineTo(3, 0); |
| 1492 | path.quadTo(0, 1, 1, 1); |
| 1493 | path.close(); |
| 1494 | </div> |
| 1495 | |
| 1496 | <div id="testQuadratic36"> |
| 1497 | path.moveTo(0, 0); |
| 1498 | path.quadTo(2, 1, 2, 3); |
| 1499 | path.lineTo(2, 3); |
| 1500 | path.close(); |
| 1501 | path.moveTo(3, 1); |
| 1502 | path.lineTo(1, 2); |
| 1503 | path.quadTo(3, 2, 1, 3); |
| 1504 | path.close(); |
| 1505 | </div> |
| 1506 | |
| 1507 | <div id="testQuadratic37"> |
| 1508 | path.moveTo(0, 0); |
| 1509 | path.quadTo(0, 2, 1, 2); |
| 1510 | path.lineTo(1, 2); |
| 1511 | path.close(); |
| 1512 | path.moveTo(0, 0); |
| 1513 | path.lineTo(3, 1); |
| 1514 | path.quadTo(0, 2, 1, 2); |
| 1515 | path.close(); |
| 1516 | </div> |
| 1517 | |
| 1518 | <div id="testQuadratic38"> |
| 1519 | path.moveTo(1, 0); |
| 1520 | path.quadTo(0, 1, 1, 1); |
| 1521 | path.lineTo(1, 1); |
| 1522 | path.close(); |
| 1523 | path.moveTo(1, 0); |
| 1524 | path.lineTo(1, 2); |
| 1525 | path.quadTo(2, 2, 1, 3); |
| 1526 | path.close(); |
| 1527 | </div> |
| 1528 | |
| 1529 | <div id="testQuadratic39"> |
| 1530 | path.moveTo(15.5, 0); |
| 1531 | path.quadTo(46.5, 15.5, 46.5, 31); |
| 1532 | path.lineTo(15.5, 0); |
| 1533 | path.close(); |
| 1534 | path.moveTo(46.5, 15.5); |
| 1535 | path.lineTo(0, 31); |
| 1536 | path.quadTo(0, 31, 15.5, 31); |
| 1537 | path.lineTo(46.5, 15.5); |
| 1538 | path.close(); |
| 1539 | </div> |
| 1540 | |
| 1541 | <div id="testQuadratic39a"> |
| 1542 | path.moveTo(34.875, 19.375); |
| 1543 | path.lineTo(15.5, 0); |
| 1544 | path.quadTo(32.9687576, 8.73437881, 40.5937271, 17.4687576); |
| 1545 | path.lineTo(34.875, 19.375); |
| 1546 | path.close(); |
| 1547 | path.moveTo(36.1666641, 20.6666679); |
| 1548 | path.lineTo(15.5, 31); |
| 1549 | path.lineTo(0, 31); |
| 1550 | path.lineTo(34.875, 19.375); |
| 1551 | path.lineTo(36.1666641, 20.6666679); |
| 1552 | path.close(); |
| 1553 | path.moveTo(41.1812401, 18.15938); |
| 1554 | path.quadTo(46.5, 24.5796909, 46.5, 31); |
| 1555 | path.lineTo(36.1666641, 20.6666679); |
| 1556 | path.lineTo(41.1812401, 18.15938); |
| 1557 | path.close(); |
| 1558 | path.moveTo(40.5937271, 17.4687576); |
| 1559 | path.lineTo(46.5, 15.5); |
| 1560 | path.lineTo(41.1812401, 18.15938); |
| 1561 | path.quadTo(40.8951759, 17.8140678, 40.5937271, 17.4687576); |
| 1562 | path.close(); |
| 1563 | </div> |
| 1564 | |
caryclark@google.com | 6aea33f | 2012-10-09 14:11:58 +0000 | [diff] [blame] | 1565 | <div id="testQuadratic40x"> |
| 1566 | path.setFillType(SkPath::kEvenOdd_FillType); |
| 1567 | path.moveTo(2, 0); |
| 1568 | path.quadTo(3, 0, 2, 2); |
| 1569 | path.lineTo(3, 2); |
| 1570 | path.close(); |
| 1571 | path.moveTo(3, 1); |
| 1572 | path.lineTo(0, 2); |
| 1573 | path.quadTo(0, 2, 1, 2); |
| 1574 | path.close(); |
| 1575 | </div> |
| 1576 | |
| 1577 | <div id="testQuadratic40xa"> |
| 1578 | path.moveTo(31, 0); |
| 1579 | path.quadTo(41.3333359, 0, 37.8888893, 13.7777777); |
| 1580 | path.lineTo(31, 0); |
| 1581 | path.close(); |
| 1582 | path.moveTo(37.8888893, 13.7777777); |
| 1583 | path.quadTo(37.2993202, 16.1360455, 36.3061028, 18.8979664); |
| 1584 | path.lineTo(0, 31); |
| 1585 | path.lineTo(15.5, 31); |
| 1586 | path.lineTo(35.5182915, 20.9908543); |
| 1587 | path.quadTo(33.7454262, 25.5091457, 31, 31); |
| 1588 | path.lineTo(46.5, 31); |
| 1589 | path.lineTo(40.2999992, 18.6000004); |
| 1590 | path.lineTo(46.5, 15.5); |
| 1591 | path.lineTo(39.8571434, 17.7142868); |
| 1592 | path.lineTo(37.8888893, 13.7777777); |
| 1593 | path.close(); |
| 1594 | path.moveTo(36.3061028, 18.8979664); |
| 1595 | path.quadTo(35.9396667, 19.9169388, 35.5182915, 20.9908543); |
| 1596 | path.lineTo(40.2999992, 18.6000004); |
| 1597 | path.lineTo(39.8571434, 17.7142868); |
| 1598 | path.lineTo(36.3061028, 18.8979664); |
| 1599 | </div> |
| 1600 | |
| 1601 | <div id="testQuadratic40xb"> |
| 1602 | path.moveTo(31, 0); |
| 1603 | path.quadTo(46.5, 0, 31, 31); |
| 1604 | path.lineTo(46.5, 31); |
| 1605 | path.lineTo(31, 0); |
| 1606 | path.close(); |
| 1607 | path.moveTo(46.5, 15.5); |
| 1608 | path.lineTo(0, 31); |
| 1609 | path.quadTo(0, 31, 15.5, 31); |
| 1610 | path.lineTo(46.5, 15.5); |
| 1611 | path.close(); |
| 1612 | </div> |
| 1613 | |
| 1614 | <div id="testQuadratic41o"> |
| 1615 | path.moveTo(419.33905, 236.377808); |
| 1616 | path.quadTo(398.847778, 242.58728, 384.255524, 242.58728); |
| 1617 | path.quadTo(359.417633, 242.58728, 343.738708, 226.080429); |
| 1618 | path.quadTo(328.059784, 209.573578, 328.059784, 183.286819); |
| 1619 | path.quadTo(328.059784, 157.724487, 341.875854, 141.372879); |
| 1620 | path.quadTo(355.691956, 125.021263, 377.218109, 125.021263); |
| 1621 | path.quadTo(397.605896, 125.021263, 408.731201, 139.51004); |
| 1622 | path.quadTo(419.856506, 153.99881, 419.856506, 180.699539); |
| 1623 | path.lineTo(419.752991, 187.012497); |
| 1624 | path.lineTo(348.861511, 187.012497); |
| 1625 | path.quadTo(353.311646, 227.063599, 388.084686, 227.063599); |
| 1626 | path.quadTo(400.814117, 227.063599, 419.33905, 220.233185); |
| 1627 | path.lineTo(419.33905, 236.377808); |
| 1628 | path.close(); |
| 1629 | path.moveTo(349.792938, 171.695801); |
| 1630 | path.lineTo(399.365234, 171.695801); |
| 1631 | path.quadTo(399.365234, 140.337967, 375.976227, 140.337967); |
| 1632 | path.quadTo(352.483704, 140.337967, 349.792938, 171.695801); |
| 1633 | path.close(); |
| 1634 | path.moveTo(378.682587, 277.360321); |
| 1635 | path.lineTo(381.062897, 259.66333); |
| 1636 | path.quadTo(398.759888, 268.046112, 415.939423, 268.046112); |
| 1637 | path.quadTo(450.402008, 268.046112, 450.402008, 231.513718); |
| 1638 | path.lineTo(450.402008, 213.816727); |
| 1639 | path.quadTo(439.12146, 237.41272, 413.352142, 237.41272); |
| 1640 | path.quadTo(393.171356, 237.41272, 381.269867, 222.716965); |
| 1641 | path.quadTo(369.368378, 208.02121, 369.368378, 183.079834); |
| 1642 | path.quadTo(369.368378, 157.414017, 382.92572, 141.269379); |
| 1643 | path.quadTo(396.483093, 125.124756, 418.009247, 125.124756); |
| 1644 | path.quadTo(436.844666, 125.124756, 450.402008, 140.441467); |
| 1645 | path.lineTo(450.402008, 127.608543); |
| 1646 | path.lineTo(470.89325, 127.608543); |
| 1647 | path.lineTo(470.89325, 209.366608); |
| 1648 | path.quadTo(470.89325, 235.756866, 468.150757, 248.43454); |
| 1649 | path.quadTo(465.408234, 261.112213, 457.853363, 269.184509); |
| 1650 | path.quadTo(444.502991, 283.362823, 416.353394, 283.362823); |
| 1651 | path.quadTo(396.690063, 283.362823, 378.682587, 277.360321); |
| 1652 | path.close(); |
| 1653 | path.moveTo(450.402008, 201.087311); |
| 1654 | path.lineTo(450.402008, 154.412781); |
| 1655 | path.quadTo(436.948151, 140.441467, 421.113983, 140.441467); |
| 1656 | path.quadTo(407.039185, 140.441467, 399.070374, 151.722); |
| 1657 | path.quadTo(391.101532, 163.002533, 391.101532, 182.665863); |
| 1658 | path.quadTo(391.101532, 219.612228, 417.07782, 219.612228); |
| 1659 | path.quadTo(434.774841, 219.612228, 450.402008, 201.087311); |
| 1660 | path.close(); |
| 1661 | path.moveTo(482.9328, 236.377808); |
| 1662 | path.quadTo(462.441528, 242.58728, 447.849274, 242.58728); |
| 1663 | path.quadTo(423.011383, 242.58728, 407.332458, 226.080429); |
| 1664 | path.quadTo(391.653534, 209.573578, 391.653534, 183.286819); |
| 1665 | path.quadTo(391.653534, 157.724487, 405.469604, 141.372879); |
| 1666 | path.quadTo(419.285706, 125.021263, 440.811859, 125.021263); |
| 1667 | path.quadTo(461.199646, 125.021263, 472.324951, 139.51004); |
| 1668 | path.quadTo(483.450256, 153.99881, 483.450256, 180.699539); |
| 1669 | path.lineTo(483.346741, 187.012497); |
| 1670 | path.lineTo(412.455261, 187.012497); |
| 1671 | path.quadTo(416.905396, 227.063599, 451.678436, 227.063599); |
| 1672 | path.quadTo(464.407867, 227.063599, 482.9328, 220.233185); |
| 1673 | path.lineTo(482.9328, 236.377808); |
| 1674 | path.close(); |
| 1675 | path.moveTo(413.386688, 171.695801); |
| 1676 | path.lineTo(462.958984, 171.695801); |
| 1677 | path.quadTo(462.958984, 140.337967, 439.569977, 140.337967); |
| 1678 | path.quadTo(416.077454, 140.337967, 413.386688, 171.695801); |
| 1679 | path.close(); |
| 1680 | </div> |
| 1681 | |
| 1682 | <div id="testQuadratic41s"> |
| 1683 | path.moveTo(341.875854, 141.372879); |
| 1684 | path.quadTo(355.691956,125.021263, 377.218109,125.021263); |
| 1685 | path.quadTo(388.787811,125.021263, 397.374664,129.687164); |
| 1686 | path.quadTo(406.565979,125.124756, 418.009247,125.124756); |
| 1687 | path.quadTo(423.583374,125.124756, 428.695251,126.466187); |
| 1688 | path.quadTo(434.412903,125.021263, 440.811859,125.021263); |
| 1689 | path.quadTo(449.427277,125.021263, 456.388672,127.608543); |
| 1690 | path.lineTo(470.89325,127.608543); |
| 1691 | path.lineTo(470.89325,137.749908); |
| 1692 | path.quadTo(471.627319,138.601486, 472.324951,139.51004); |
| 1693 | path.quadTo(483.450256,153.99881, 483.450256,180.699539); |
| 1694 | path.lineTo(483.346741,187.012497); |
| 1695 | path.lineTo(470.89325,187.012497); |
| 1696 | path.lineTo(470.89325,209.366608); |
| 1697 | path.quadTo(470.89325,217.414856, 470.638184,224.187729); |
| 1698 | path.quadTo(476.428223,222.631516, 482.9328,220.233185); |
| 1699 | path.lineTo(482.9328,236.377808); |
| 1700 | path.quadTo(475.87207,238.517426, 469.511749,239.919785); |
| 1701 | path.quadTo(468.946777,244.754791, 468.150757,248.43454); |
| 1702 | path.quadTo(465.408234,261.112213, 457.853363,269.184509); |
| 1703 | path.quadTo(444.502991,283.362823, 416.353394,283.362823); |
| 1704 | path.quadTo(396.690063,283.362823, 378.682587,277.360321); |
| 1705 | path.lineTo(381.062897,259.66333); |
| 1706 | path.quadTo(398.759888,268.046112, 415.939423,268.046112); |
| 1707 | path.quadTo(444.719147,268.046112, 449.464905,242.568665); |
| 1708 | path.quadTo(448.648254,242.58728, 447.849274,242.58728); |
| 1709 | path.quadTo(433.084625,242.58728, 421.556366,236.754425); |
| 1710 | path.quadTo(418.89566,237.203537, 416.046783,237.346252); |
| 1711 | path.quadTo(397.661652,242.58728, 384.255524,242.58728); |
| 1712 | path.quadTo(359.417633,242.58728, 343.738708,226.080429); |
| 1713 | path.quadTo(328.059784,209.573578, 328.059784,183.286819); |
| 1714 | path.quadTo(328.059784,157.724487, 341.875854,141.372879); |
| 1715 | path.close(); |
| 1716 | path.moveTo(442.014923, 226.179474); |
| 1717 | path.quadTo(445.951935,226.953491, 450.402008,227.049881); |
| 1718 | path.lineTo(450.402008,213.816727); |
| 1719 | path.quadTo(446.904755,221.132065, 442.014923,226.179474); |
| 1720 | path.close(); |
| 1721 | path.moveTo(395.347717, 206.501785); |
| 1722 | path.quadTo(392.200165,197.593536, 391.734406,187.012497); |
| 1723 | path.lineTo(391.197113,187.012497); |
| 1724 | path.quadTo(391.738647,198.938644, 395.347717,206.501785); |
| 1725 | path.close(); |
| 1726 | path.moveTo(391.808533, 171.695801); |
| 1727 | path.lineTo(392.428436,171.695801); |
| 1728 | path.quadTo(393.693451,162.656265, 397.02359,154.9935); |
| 1729 | path.quadTo(397.023804,154.992996, 397.024048,154.992493); |
| 1730 | path.quadTo(393.175995,143.845093, 383.003235,141.177292); |
| 1731 | path.quadTo(382.964447,141.223267, 382.92572,141.269379); |
| 1732 | </div> |
| 1733 | |
| 1734 | <div id="testQuadratic42o"> |
| 1735 | path.moveTo(421.962158, 236.285355); |
| 1736 | path.quadTo(400.947845, 242.65332, 385.983124, 242.65332); |
| 1737 | path.quadTo(360.511261, 242.65332, 344.432129, 225.725143); |
| 1738 | path.quadTo(328.352997, 208.796951, 328.352997, 181.839218); |
| 1739 | path.quadTo(328.352997, 155.62442, 342.521729, 138.855438); |
| 1740 | path.quadTo(356.69046, 122.086449, 378.766083, 122.086449); |
| 1741 | path.quadTo(399.674255, 122.086449, 411.083527, 136.945038); |
| 1742 | path.quadTo(422.492798, 151.803635, 422.492798, 179.185898); |
| 1743 | path.lineTo(422.386688, 185.660004); |
| 1744 | path.lineTo(349.685699, 185.660004); |
| 1745 | path.quadTo(354.24942, 226.733398, 389.910034, 226.733398); |
| 1746 | path.quadTo(402.964386, 226.733398, 421.962158, 219.728638); |
| 1747 | path.lineTo(421.962158, 236.285355); |
| 1748 | path.close(); |
| 1749 | path.moveTo(350.6409, 169.952347); |
| 1750 | path.lineTo(401.478516, 169.952347); |
| 1751 | path.quadTo(401.478516, 137.794098, 377.492493, 137.794098); |
| 1752 | path.quadTo(353.40036, 137.794098, 350.6409, 169.952347); |
| 1753 | path.close(); |
| 1754 | path.moveTo(379.213562, 278.313934); |
| 1755 | path.lineTo(381.654602, 260.165222); |
| 1756 | path.quadTo(399.803314, 268.761993, 417.421356, 268.761993); |
| 1757 | path.quadTo(452.763611, 268.761993, 452.763611, 231.297104); |
| 1758 | path.lineTo(452.763611, 213.148392); |
| 1759 | path.quadTo(441.195129, 237.34668, 414.768036, 237.34668); |
| 1760 | path.quadTo(394.072144, 237.34668, 381.866882, 222.275818); |
| 1761 | path.quadTo(369.661591, 207.204956, 369.661591, 181.626953); |
| 1762 | path.quadTo(369.661591, 155.306015, 383.565002, 138.749298); |
| 1763 | path.quadTo(397.468384, 122.192581, 419.544037, 122.192581); |
| 1764 | path.quadTo(438.860199, 122.192581, 452.763611, 137.900238); |
| 1765 | path.lineTo(452.763611, 124.739769); |
| 1766 | path.lineTo(473.777893, 124.739769); |
| 1767 | path.lineTo(473.777893, 208.584686); |
| 1768 | path.quadTo(473.777893, 235.64856, 470.965363, 248.649826); |
| 1769 | path.quadTo(468.152863, 261.651093, 460.405151, 269.929443); |
| 1770 | path.quadTo(446.71402, 284.469666, 417.845886, 284.469666); |
| 1771 | path.quadTo(397.680664, 284.469666, 379.213562, 278.313934); |
| 1772 | path.close(); |
| 1773 | path.moveTo(452.763611, 200.094055); |
| 1774 | path.lineTo(452.763611, 152.228165); |
| 1775 | path.quadTo(438.966339, 137.900238, 422.727997, 137.900238); |
| 1776 | path.quadTo(408.293945, 137.900238, 400.121704, 149.468719); |
| 1777 | path.quadTo(391.949493, 161.037186, 391.949493, 181.202423); |
| 1778 | path.quadTo(391.949493, 219.091827, 418.588837, 219.091827); |
| 1779 | path.quadTo(436.737549, 219.091827, 452.763611, 200.094055); |
| 1780 | path.close(); |
| 1781 | path.moveTo(485.555908, 236.285355); |
| 1782 | path.quadTo(464.541595, 242.65332, 449.576874, 242.65332); |
| 1783 | path.quadTo(424.105011, 242.65332, 408.025879, 225.725143); |
| 1784 | path.quadTo(391.946747, 208.796951, 391.946747, 181.839218); |
| 1785 | path.quadTo(391.946747, 155.62442, 406.115479, 138.855438); |
| 1786 | path.quadTo(420.28421, 122.086449, 442.359833, 122.086449); |
| 1787 | path.quadTo(463.268005, 122.086449, 474.677277, 136.945038); |
| 1788 | path.quadTo(486.086548, 151.803635, 486.086548, 179.185898); |
| 1789 | path.lineTo(485.980438, 185.660004); |
| 1790 | path.lineTo(413.279449, 185.660004); |
| 1791 | path.quadTo(417.84317, 226.733398, 453.503784, 226.733398); |
| 1792 | path.quadTo(466.558136, 226.733398, 485.555908, 219.728638); |
| 1793 | path.lineTo(485.555908, 236.285355); |
| 1794 | path.close(); |
| 1795 | path.moveTo(414.23465, 169.952347); |
| 1796 | path.lineTo(465.072266, 169.952347); |
| 1797 | path.quadTo(465.072266, 137.794098, 441.086243, 137.794098); |
| 1798 | path.quadTo(416.99411, 137.794098, 414.23465, 169.952347); |
| 1799 | path.close(); |
| 1800 | </div> |
| 1801 | |
| 1802 | <div id="testQuadratic42s"> |
| 1803 | path.moveTo(342.521729, 138.855438); |
| 1804 | path.quadTo(356.69046,122.086449, 378.766083,122.086449); |
| 1805 | path.quadTo(390.293488,122.086449, 398.933502,126.603004); |
| 1806 | path.quadTo(408.150299,122.192581, 419.544037,122.192581); |
| 1807 | path.quadTo(425.108429,122.192581, 430.223633,123.496056); |
| 1808 | path.quadTo(435.959412,122.086449, 442.359833,122.086449); |
| 1809 | path.quadTo(451.19516,122.086449, 458.334229,124.739769); |
| 1810 | path.lineTo(473.777893,124.739769); |
| 1811 | path.lineTo(473.777893,135.814713); |
| 1812 | path.quadTo(474.234741,136.368698, 474.677277,136.945038); |
| 1813 | path.quadTo(486.086548,151.803635, 486.086548,179.185898); |
| 1814 | path.lineTo(485.980438,185.660004); |
| 1815 | path.lineTo(473.777893,185.660004); |
| 1816 | path.lineTo(473.777893,208.584686); |
| 1817 | path.quadTo(473.777893,216.745773, 473.522156,223.628113); |
| 1818 | path.quadTo(479.207153,222.069519, 485.555908,219.728638); |
| 1819 | path.lineTo(485.555908,236.285355); |
| 1820 | path.quadTo(478.638306,238.381592, 472.376221,239.787796); |
| 1821 | path.quadTo(471.792389,244.826782, 470.965363,248.649826); |
| 1822 | path.quadTo(468.152863,261.651093, 460.405151,269.929443); |
| 1823 | path.quadTo(446.71402,284.469666, 417.845886,284.469666); |
| 1824 | path.quadTo(397.680664,284.469666, 379.213562,278.313934); |
| 1825 | path.lineTo(381.654602,260.165222); |
| 1826 | path.quadTo(399.803314,268.761993, 417.421356,268.761993); |
| 1827 | path.quadTo(446.944275,268.761993, 451.80542,242.619034); |
| 1828 | path.quadTo(450.674866,242.65332, 449.576874,242.65332); |
| 1829 | path.quadTo(434.524628,242.65332, 422.75238,236.741913); |
| 1830 | path.quadTo(420.864227,237.041901, 418.884674,237.193085); |
| 1831 | path.quadTo(399.840271,242.65332, 385.983124,242.65332); |
| 1832 | path.quadTo(360.511261,242.65332, 344.432129,225.725143); |
| 1833 | path.quadTo(328.352997,208.796951, 328.352997,181.839218); |
| 1834 | path.quadTo(328.352997,155.62442, 342.521729,138.855438); |
| 1835 | path.close(); |
| 1836 | path.moveTo(383.823944, 138.443222); |
| 1837 | path.quadTo(380.900299,137.794098, 377.492493,137.794098); |
| 1838 | path.quadTo(353.40036,137.794098, 350.6409,169.952347); |
| 1839 | path.lineTo(370.408203,169.952347); |
| 1840 | path.quadTo(372.883484,151.469254, 383.565002,138.749298); |
| 1841 | path.quadTo(383.694122,138.595551, 383.823944,138.443222); |
| 1842 | path.close(); |
| 1843 | path.moveTo(369.740021, 185.660004); |
| 1844 | path.lineTo(349.685699,185.660004); |
| 1845 | path.quadTo(353.983734,224.342361, 385.863525,226.594208); |
| 1846 | path.quadTo(383.762756,224.616837, 381.866882,222.275818); |
| 1847 | path.quadTo(370.639954,208.41301, 369.740021,185.660004); |
| 1848 | path.close(); |
| 1849 | path.moveTo(413.279449, 185.660004); |
| 1850 | path.quadTo(415.737305,207.780716, 427.214905,217.987976); |
| 1851 | path.quadTo(440.600586,214.512451, 452.763611,200.094055); |
| 1852 | path.lineTo(452.763611,185.660004); |
| 1853 | </div> |
| 1854 | |
| 1855 | <div id="testQuadratic43o"> |
| 1856 | path.moveTo(288.755981, 240); |
| 1857 | path.lineTo(288.755981, 102.232819); |
| 1858 | path.lineTo(315.843994, 102.232819); |
| 1859 | path.lineTo(354.009216, 208.816208); |
| 1860 | path.lineTo(393.291473, 102.232819); |
| 1861 | path.lineTo(417.493835, 102.232819); |
| 1862 | path.lineTo(417.493835, 240); |
| 1863 | path.lineTo(399.248962, 240); |
| 1864 | path.lineTo(399.248962, 127.92453); |
| 1865 | path.lineTo(361.269928, 230.784485); |
| 1866 | path.lineTo(342.373474, 230.784485); |
| 1867 | path.lineTo(305.511444, 127.645271); |
| 1868 | path.lineTo(305.511444, 240); |
| 1869 | path.lineTo(288.755981, 240); |
| 1870 | path.close(); |
| 1871 | path.moveTo(397.864014, 236.741989); |
| 1872 | path.quadTo(379.433014, 242.327148, 366.307892, 242.327148); |
| 1873 | path.quadTo(343.967255, 242.327148, 329.864746, 227.479935); |
| 1874 | path.quadTo(315.762238, 212.632736, 315.762238, 188.988907); |
| 1875 | path.quadTo(315.762238, 165.996674, 328.189209, 151.289093); |
| 1876 | path.quadTo(340.61618, 136.581512, 359.978058, 136.581512); |
| 1877 | path.quadTo(378.315979, 136.581512, 388.322723, 149.613556); |
| 1878 | path.quadTo(398.329468, 162.645584, 398.329468, 186.661758); |
| 1879 | path.lineTo(398.236359, 192.339996); |
| 1880 | path.lineTo(334.472504, 192.339996); |
| 1881 | path.quadTo(338.475189, 228.364258, 369.752075, 228.364258); |
| 1882 | path.quadTo(381.20163, 228.364258, 397.864014, 222.220581); |
| 1883 | path.lineTo(397.864014, 236.741989); |
| 1884 | path.close(); |
| 1885 | path.moveTo(335.310272, 178.563278); |
| 1886 | path.lineTo(379.898438, 178.563278); |
| 1887 | path.quadTo(379.898438, 150.358246, 358.861023, 150.358246); |
| 1888 | path.quadTo(337.730499, 150.358246, 335.310272, 178.563278); |
| 1889 | path.close(); |
| 1890 | path.moveTo(346.052765, 240); |
| 1891 | path.lineTo(346.052765, 138.908661); |
| 1892 | path.lineTo(364.390686, 138.908661); |
| 1893 | path.lineTo(364.390686, 157.898193); |
| 1894 | path.quadTo(375.281769, 136.674606, 396.039917, 136.674606); |
| 1895 | path.quadTo(398.832489, 136.674606, 401.904327, 137.140045); |
| 1896 | path.lineTo(401.904327, 154.267853); |
| 1897 | path.quadTo(397.156952, 152.685394, 393.526611, 152.685394); |
| 1898 | path.quadTo(376.119537, 152.685394, 364.390686, 173.350464); |
| 1899 | path.lineTo(364.390686, 240); |
| 1900 | path.lineTo(346.052765, 240); |
| 1901 | path.close(); |
| 1902 | path.moveTo(362.792297, 273.604034); |
| 1903 | path.lineTo(364.933289, 257.68634); |
| 1904 | path.quadTo(380.850983, 265.226288, 396.303253, 265.226288); |
| 1905 | path.quadTo(427.300842, 265.226288, 427.300842, 232.366959); |
| 1906 | path.lineTo(427.300842, 216.449265); |
| 1907 | path.quadTo(417.15448, 237.672852, 393.976105, 237.672852); |
| 1908 | path.quadTo(375.824341, 237.672852, 365.119446, 224.454651); |
| 1909 | path.quadTo(354.414581, 211.23645, 354.414581, 188.802734); |
| 1910 | path.quadTo(354.414581, 165.717422, 366.608826, 151.196014); |
| 1911 | path.quadTo(378.803101, 136.674606, 398.164948, 136.674606); |
| 1912 | path.quadTo(415.106598, 136.674606, 427.300842, 150.451324); |
| 1913 | path.lineTo(427.300842, 138.908661); |
| 1914 | path.lineTo(445.731873, 138.908661); |
| 1915 | path.lineTo(445.731873, 212.446564); |
| 1916 | path.quadTo(445.731873, 236.183472, 443.265106, 247.586502); |
| 1917 | path.quadTo(440.798309, 258.989532, 434.003052, 266.250244); |
| 1918 | path.quadTo(421.994965, 279.002991, 396.675598, 279.002991); |
| 1919 | path.quadTo(378.989258, 279.002991, 362.792297, 273.604034); |
| 1920 | path.close(); |
| 1921 | path.moveTo(427.300842, 204.999695); |
| 1922 | path.lineTo(427.300842, 163.017929); |
| 1923 | path.quadTo(415.199677, 150.451324, 400.95755, 150.451324); |
| 1924 | path.quadTo(388.297852, 150.451324, 381.130249, 160.597687); |
| 1925 | path.quadTo(373.962616, 170.744064, 373.962616, 188.430389); |
| 1926 | path.quadTo(373.962616, 221.662079, 397.327179, 221.662079); |
| 1927 | path.quadTo(413.244873, 221.662079, 427.300842, 204.999695); |
| 1928 | path.close(); |
| 1929 | path.moveTo(461.457764, 236.741989); |
| 1930 | path.quadTo(443.026764, 242.327148, 429.901642, 242.327148); |
| 1931 | path.quadTo(407.561005, 242.327148, 393.458496, 227.479935); |
| 1932 | path.quadTo(379.355988, 212.632736, 379.355988, 188.988907); |
| 1933 | path.quadTo(379.355988, 165.996674, 391.782959, 151.289093); |
| 1934 | path.quadTo(404.20993, 136.581512, 423.571808, 136.581512); |
| 1935 | path.quadTo(441.909729, 136.581512, 451.916473, 149.613556); |
| 1936 | path.quadTo(461.923218, 162.645584, 461.923218, 186.661758); |
| 1937 | path.lineTo(461.830109, 192.339996); |
| 1938 | path.lineTo(398.066254, 192.339996); |
| 1939 | path.quadTo(402.068939, 228.364258, 433.345825, 228.364258); |
| 1940 | path.quadTo(444.79538, 228.364258, 461.457764, 222.220581); |
| 1941 | path.lineTo(461.457764, 236.741989); |
| 1942 | path.close(); |
| 1943 | path.moveTo(398.904022, 178.563278); |
| 1944 | path.lineTo(443.492188, 178.563278); |
| 1945 | path.quadTo(443.492188, 150.358246, 422.454773, 150.358246); |
| 1946 | path.quadTo(401.324249, 150.358246, 398.904022, 178.563278); |
| 1947 | path.close(); |
| 1948 | </div> |
| 1949 | |
| 1950 | <div id="testQuadratic43s"> |
| 1951 | path.moveTo(288.755981, 240); |
| 1952 | path.lineTo(288.755981,102.232819); |
| 1953 | path.lineTo(315.843994,102.232819); |
| 1954 | path.lineTo(331.979736,147.294876); |
| 1955 | path.quadTo(343.453125,136.581512, 359.978058,136.581512); |
| 1956 | path.quadTo(370.869446,136.581512, 378.822021,141.178574); |
| 1957 | path.quadTo(378.893585,141.140915, 378.965302,141.103577); |
| 1958 | path.lineTo(393.291473,102.232819); |
| 1959 | path.lineTo(417.493835,102.232819); |
| 1960 | path.lineTo(417.493835,136.965759); |
| 1961 | path.quadTo(420.44223,136.581512, 423.571808,136.581512); |
| 1962 | path.quadTo(431.320984,136.581512, 437.582458,138.908661); |
| 1963 | path.lineTo(445.731873,138.908661); |
| 1964 | path.lineTo(445.731873,143.392502); |
| 1965 | path.quadTo(449.143951,146.002823, 451.916473,149.613556); |
| 1966 | path.quadTo(461.923218,162.645584, 461.923218,186.661758); |
| 1967 | path.lineTo(461.830109,192.339996); |
| 1968 | path.lineTo(445.731873,192.339996); |
| 1969 | path.lineTo(445.731873,212.446564); |
| 1970 | path.quadTo(445.731873,220.39856, 445.455017,226.966339); |
| 1971 | path.quadTo(452.7435,225.43367, 461.457764,222.220581); |
| 1972 | path.lineTo(461.457764,236.741989); |
| 1973 | path.quadTo(452.250824,239.531982, 444.367889,240.928268); |
| 1974 | path.quadTo(443.897583,244.662796, 443.265106,247.586502); |
| 1975 | path.quadTo(440.798309,258.989532, 434.003052,266.250244); |
| 1976 | path.quadTo(421.994965,279.002991, 396.675598,279.002991); |
| 1977 | path.quadTo(378.989258,279.002991, 362.792297,273.604034); |
| 1978 | path.lineTo(364.933289,257.68634); |
| 1979 | path.quadTo(380.850983,265.226288, 396.303253,265.226288); |
| 1980 | path.quadTo(422.230743,265.226288, 426.471558,242.237076); |
| 1981 | path.quadTo(419.570892,241.869324, 413.503387,240); |
| 1982 | path.lineTo(399.248962,240); |
| 1983 | path.lineTo(399.248962,237.37915); |
| 1984 | path.quadTo(397.047638,237.633072, 394.711517,237.667465); |
| 1985 | path.quadTo(378.296356,242.327148, 366.307892,242.327148); |
| 1986 | path.quadTo(357.463165,242.327148, 349.909637,240); |
| 1987 | path.lineTo(346.052765,240); |
| 1988 | path.lineTo(346.052765,238.625916); |
| 1989 | path.quadTo(336.926056,234.914124, 329.864746,227.479935); |
| 1990 | path.quadTo(315.762238,212.632736, 315.762238,188.988907); |
| 1991 | path.quadTo(315.762238,176.540054, 319.405273,166.519882); |
| 1992 | path.lineTo(305.511444,127.645271); |
| 1993 | path.lineTo(305.511444,240); |
| 1994 | path.lineTo(288.755981,240); |
| 1995 | path.close(); |
| 1996 | path.moveTo(375.464813, 192.339996); |
| 1997 | path.lineTo(374.267029,195.583939); |
| 1998 | path.quadTo(375.987579,214.575378, 387.432068,219.736267); |
| 1999 | path.quadTo(380.122528,208.101486, 379.428741,192.339996); |
| 2000 | path.lineTo(375.464813,192.339996); |
| 2001 | path.close(); |
| 2002 | path.moveTo(427.300842, 178.563278); |
| 2003 | path.lineTo(427.300842,163.017929); |
| 2004 | path.quadTo(422.561523,158.096329, 417.493835,155.102234); |
| 2005 | path.lineTo(417.493835,178.563278); |
| 2006 | path.lineTo(427.300842,178.563278); |
| 2007 | path.close(); |
| 2008 | path.moveTo(427.300842, 192.339996); |
| 2009 | path.lineTo(417.493835,192.339996); |
| 2010 | path.lineTo(417.493835,214.429169); |
| 2011 | path.quadTo(422.505676,210.684036, 427.300842,204.999695); |
| 2012 | path.lineTo(427.300842,192.339996); |
| 2013 | path.close(); |
| 2014 | path.moveTo(420.700134, 226.556015); |
| 2015 | path.quadTo(423.794342,227.54834, 427.300842,227.996094); |
| 2016 | path.lineTo(427.300842,216.449265); |
| 2017 | path.quadTo(424.497772,222.312531, 420.700134,226.556015); |
| 2018 | path.close(); |
| 2019 | path.moveTo(368.744965, 228.354782); |
| 2020 | path.quadTo(366.836426,226.574738, 365.119446,224.454651); |
| 2021 | path.quadTo(364.748657,223.996796, 364.390686,223.527878); |
| 2022 | path.lineTo(364.390686,228.077774); |
| 2023 | path.quadTo(366.495239,228.312164, 368.744965,228.354782); |
| 2024 | path.close(); |
| 2025 | path.moveTo(399.248962, 199.701065); |
| 2026 | path.lineTo(399.248962,192.339996); |
| 2027 | path.lineTo(398.236359,192.339996); |
| 2028 | path.lineTo(398.066254,192.339996); |
| 2029 | path.quadTo(398.498535,196.230621, 399.248962,199.701065); |
| 2030 | path.close(); |
| 2031 | path.moveTo(399.248962, 178.563278); |
| 2032 | path.lineTo(399.248962,175.376892); |
| 2033 | path.quadTo(399.04483,176.922348, 398.904022,178.563278); |
| 2034 | path.lineTo(399.248962,178.563278); |
| 2035 | path.close(); |
| 2036 | path.moveTo(399.248962, 136.688828); |
| 2037 | path.lineTo(399.248962,127.92453); |
| 2038 | path.lineTo(396.018158,136.674606); |
| 2039 | path.quadTo(396.029053,136.674606, 396.039917,136.674606); |
| 2040 | path.quadTo(396.513672,136.674606, 396.995453,136.688004); |
| 2041 | path.quadTo(397.576904,136.674606, 398.164948,136.674606); |
| 2042 | path.quadTo(398.709412,136.674606, 399.248962,136.688828); |
| 2043 | path.close(); |
| 2044 | path.moveTo(346.052765, 178.563278); |
| 2045 | path.lineTo(346.052765,154.02713); |
| 2046 | path.quadTo(340.97113,157.621338, 338.22525,164.736588); |
| 2047 | path.lineTo(343.1763,178.563278); |
| 2048 | path.lineTo(346.052765,178.563278); |
| 2049 | path.close(); |
| 2050 | path.moveTo(364.390686, 150.922379); |
| 2051 | path.lineTo(364.390686,154.048065); |
| 2052 | path.quadTo(365.340851,152.726639, 366.38147,151.468765); |
| 2053 | path.quadTo(365.420258,151.14975, 364.390686,150.922379); |
| 2054 | path.close(); |
| 2055 | path.moveTo(367.863586, 152.032623); |
| 2056 | path.quadTo(367.144043,151.721848, 366.38147,151.468765); |
| 2057 | </div> |
| 2058 | |
| 2059 | <div id="testQuadratic44o"> |
| 2060 | path.moveTo(354.009216, 208.816208); |
| 2061 | path.lineTo(393.291473, 102.232819); |
| 2062 | path.lineTo(399.248962, 127.92453); |
| 2063 | path.lineTo(361.269928, 230.784485); |
| 2064 | path.lineTo(354.009216, 208.816208); |
| 2065 | path.close(); |
| 2066 | path.moveTo(328.189209, 151.289093); |
| 2067 | path.quadTo(340.61618, 136.581512, 359.978058, 136.581512); |
| 2068 | path.quadTo(378.315979, 136.581512, 388.322723, 149.613556); |
| 2069 | path.lineTo(328.189209, 151.289093); |
| 2070 | path.close(); |
| 2071 | path.moveTo(346.052765, 138.908661); |
| 2072 | path.lineTo(364.390686, 138.908661); |
| 2073 | path.lineTo(364.390686, 157.898193); |
| 2074 | path.quadTo(375.281769, 136.674606, 396.039917, 136.674606); |
| 2075 | path.lineTo(346.052765, 138.908661); |
| 2076 | path.close(); |
| 2077 | </div> |
| 2078 | |
| 2079 | <div id="testQuadratic44s"> |
| 2080 | path.moveTo(380.33902, 137.376312); |
| 2081 | path.lineTo(393.291473,102.232819); |
| 2082 | path.lineTo(399.248962,127.92453); |
| 2083 | path.lineTo(396.018158,136.674606); |
| 2084 | path.quadTo(396.029053,136.674606, 396.039917,136.674606); |
| 2085 | path.lineTo(396.017792,136.675598); |
| 2086 | path.lineTo(361.269928,230.784485); |
| 2087 | path.lineTo(354.009216,208.816208); |
| 2088 | path.lineTo(375.699249,149.965286); |
| 2089 | path.lineTo(369.22699,150.14563); |
| 2090 | path.quadTo(373.524384,144.511566, 378.917297,141.233871); |
| 2091 | path.lineTo(380.33902,137.376312); |
| 2092 | path.close(); |
caryclark@google.com | a461ff0 | 2012-10-11 12:54:23 +0000 | [diff] [blame] | 2093 | path.moveTo(380.33902, 137.376312); |
| 2094 | path.lineTo(378.917297,141.233856); |
| 2095 | path.quadTo(375.048248,138.978912, 370.480499,137.816925); |
| 2096 | path.lineTo(380.33902,137.376312); |
| 2097 | path.close(); |
caryclark@google.com | 6aea33f | 2012-10-09 14:11:58 +0000 | [diff] [blame] | 2098 | path.moveTo(392.55661, 136.830276); |
caryclark@google.com | a461ff0 | 2012-10-11 12:54:23 +0000 | [diff] [blame] | 2099 | path.lineTo(380.33902,137.376312); |
| 2100 | </div> |
| 2101 | |
| 2102 | <div id="testQuadratic45o"> |
| 2103 | path.moveTo(315.843994, 102.232819); |
| 2104 | path.lineTo(354.009216, 208.816208); |
| 2105 | path.lineTo(393.291473, 102.232819); |
| 2106 | path.lineTo(399.248962, 127.92453); |
| 2107 | path.lineTo(361.269928, 230.784485); |
| 2108 | path.lineTo(342.373474, 230.784485); |
| 2109 | path.lineTo(305.511444, 127.645271); |
| 2110 | path.lineTo(315.843994, 102.232819); |
| 2111 | path.close(); |
| 2112 | path.moveTo(366.307892, 242.327148); |
| 2113 | path.quadTo(343.967255, 242.327148, 329.864746, 227.479935); |
| 2114 | path.quadTo(315.762238, 212.632736, 315.762238, 188.988907); |
| 2115 | path.quadTo(315.762238, 165.996674, 328.189209, 151.289093); |
| 2116 | path.quadTo(340.61618, 136.581512, 359.978058, 136.581512); |
| 2117 | path.quadTo(378.315979, 136.581512, 388.322723, 149.613556); |
| 2118 | path.quadTo(398.329468, 162.645584, 398.329468, 186.661758); |
| 2119 | path.lineTo(398.236359, 192.339996); |
| 2120 | path.lineTo(334.472504, 192.339996); |
| 2121 | path.quadTo(338.475189, 228.364258, 369.752075, 228.364258); |
| 2122 | path.quadTo(381.20163, 228.364258, 397.864014, 222.220581); |
| 2123 | path.lineTo(366.307892, 242.327148); |
| 2124 | path.close(); |
| 2125 | path.moveTo(335.310272, 178.563278); |
| 2126 | path.lineTo(379.898438, 178.563278); |
| 2127 | path.quadTo(379.898438, 150.358246, 358.861023, 150.358246); |
| 2128 | path.quadTo(337.730499, 150.358246, 335.310272, 178.563278); |
| 2129 | path.close(); |
| 2130 | path.moveTo(346.052765, 240); |
| 2131 | path.lineTo(346.052765, 138.908661); |
| 2132 | path.lineTo(364.390686, 138.908661); |
| 2133 | path.lineTo(364.390686, 157.898193); |
| 2134 | path.quadTo(375.281769, 136.674606, 396.039917, 136.674606); |
| 2135 | path.lineTo(401.904327, 154.267853); |
| 2136 | path.quadTo(397.156952, 152.685394, 393.526611, 152.685394); |
| 2137 | path.quadTo(376.119537, 152.685394, 364.390686, 173.350464); |
| 2138 | path.lineTo(364.390686, 240); |
| 2139 | path.lineTo(346.052765, 240); |
| 2140 | path.close(); |
| 2141 | path.moveTo(396.303253, 265.226288); |
| 2142 | path.quadTo(427.300842, 265.226288, 427.300842, 232.366959); |
| 2143 | path.lineTo(427.300842, 216.449265); |
| 2144 | path.quadTo(417.15448, 237.672852, 393.976105, 237.672852); |
| 2145 | path.quadTo(375.824341, 237.672852, 365.119446, 224.454651); |
| 2146 | path.quadTo(354.414581, 211.23645, 354.414581, 188.802734); |
| 2147 | path.quadTo(354.414581, 165.717422, 366.608826, 151.196014); |
| 2148 | path.quadTo(378.803101, 136.674606, 398.164948, 136.674606); |
| 2149 | path.lineTo(396.303253, 265.226288); |
| 2150 | path.close(); |
| 2151 | path.moveTo(400.95755, 150.451324); |
| 2152 | path.quadTo(388.297852, 150.451324, 381.130249, 160.597687); |
| 2153 | path.quadTo(373.962616, 170.744064, 373.962616, 188.430389); |
| 2154 | path.quadTo(373.962616, 221.662079, 397.327179, 221.662079); |
| 2155 | path.lineTo(400.95755, 150.451324); |
| 2156 | path.close(); |
| 2157 | path.moveTo(429.901642, 242.327148); |
| 2158 | path.quadTo(407.561005, 242.327148, 393.458496, 227.479935); |
| 2159 | path.quadTo(379.355988, 212.632736, 379.355988, 188.988907); |
| 2160 | path.quadTo(379.355988, 165.996674, 391.782959, 151.289093); |
| 2161 | path.quadTo(404.20993, 136.581512, 423.571808, 136.581512); |
| 2162 | path.lineTo(429.901642, 242.327148); |
| 2163 | path.close(); |
| 2164 | </div> |
| 2165 | |
| 2166 | <div id="testQuadratic45s"> |
| 2167 | path.moveTo(305.511444, 127.645271); |
| 2168 | path.lineTo(315.843994,102.232819); |
| 2169 | path.lineTo(331.979736,147.294876); |
| 2170 | path.quadTo(343.453125,136.581512, 359.978058,136.581512); |
| 2171 | path.quadTo(370.869446,136.581512, 378.822021,141.178574); |
| 2172 | path.quadTo(378.893585,141.140915, 378.965302,141.103577); |
| 2173 | path.lineTo(393.291473,102.232819); |
| 2174 | path.lineTo(399.248962,127.92453); |
| 2175 | path.lineTo(396.018158,136.674606); |
| 2176 | path.quadTo(396.029053,136.674606, 396.039917,136.674606); |
| 2177 | path.lineTo(396.054596,136.718628); |
| 2178 | path.quadTo(397.098907,136.674606, 398.164948,136.674606); |
| 2179 | path.lineTo(398.076477,142.784256); |
| 2180 | path.lineTo(398.697632,144.647751); |
| 2181 | path.quadTo(409.233032,136.581512, 423.571808,136.581512); |
| 2182 | path.lineTo(429.901642,242.327148); |
| 2183 | path.quadTo(428.161621,242.327148, 426.471558,242.237076); |
| 2184 | path.quadTo(427.300842,237.741562, 427.300842,232.366959); |
| 2185 | path.lineTo(427.300842,216.449265); |
| 2186 | path.quadTo(419.710114,232.327133, 404.8255,236.326401); |
| 2187 | path.quadTo(400.557983,233.971252, 396.803375,230.691772); |
| 2188 | path.lineTo(396.7034,237.596863); |
| 2189 | path.quadTo(395.363068,237.672852, 393.976105,237.672852); |
| 2190 | path.quadTo(385.309937,237.672852, 378.341187,234.659912); |
| 2191 | path.lineTo(366.307892,242.327148); |
| 2192 | path.quadTo(357.463165,242.327148, 349.909637,240); |
| 2193 | path.lineTo(346.052765,240); |
| 2194 | path.lineTo(346.052765,238.625916); |
| 2195 | path.quadTo(336.926056,234.914124, 329.864746,227.479935); |
| 2196 | path.quadTo(315.762238,212.632736, 315.762238,188.988907); |
| 2197 | path.quadTo(315.762238,176.540054, 319.405273,166.519882); |
| 2198 | path.lineTo(305.511444,127.645271); |
| 2199 | path.close(); |
| 2200 | path.moveTo(375.464813, 192.339996); |
| 2201 | path.lineTo(374.267029,195.583939); |
| 2202 | path.quadTo(375.987579,214.575378, 387.432068,219.736267); |
| 2203 | path.quadTo(380.122528,208.101486, 379.428741,192.339996); |
| 2204 | path.lineTo(375.464813,192.339996); |
| 2205 | path.close(); |
| 2206 | path.moveTo(397.925934, 153.178131); |
| 2207 | path.lineTo(397.615479,174.615356); |
| 2208 | path.quadTo(398.329468,180.246704, 398.329468,186.661758); |
| 2209 | path.lineTo(398.236359,192.339996); |
| 2210 | path.lineTo(397.358795,192.339996); |
| 2211 | path.lineTo(396.934174,221.659714); |
| 2212 | path.quadTo(397.129852,221.662079, 397.327179,221.662079); |
| 2213 | path.lineTo(400.781189,153.910889); |
| 2214 | path.quadTo(399.295654,153.462463, 397.925934,153.178131); |
| 2215 | path.close(); |
| 2216 | path.moveTo(400.914398, 151.298019); |
| 2217 | path.lineTo(400.632721,150.453003); |
| 2218 | path.quadTo(400.794678,150.451324, 400.95755,150.451324); |
| 2219 | path.lineTo(400.914398,151.298019); |
| 2220 | path.close(); |
| 2221 | path.moveTo(368.744965, 228.354782); |
| 2222 | path.quadTo(366.836426,226.574738, 365.119446,224.454651); |
| 2223 | path.quadTo(364.748657,223.996796, 364.390686,223.527878); |
| 2224 | path.lineTo(364.390686,228.077774); |
| 2225 | path.quadTo(366.495239,228.312164, 368.744965,228.354782); |
| 2226 | path.close(); |
| 2227 | path.moveTo(346.052765, 178.563278); |
| 2228 | path.lineTo(346.052765,154.02713); |
| 2229 | path.quadTo(340.97113,157.621338, 338.22525,164.736588); |
| 2230 | path.lineTo(343.1763,178.563278); |
| 2231 | path.lineTo(346.052765,178.563278); |
| 2232 | path.close(); |
| 2233 | path.moveTo(364.390686, 150.922379); |
| 2234 | path.lineTo(364.390686,154.048065); |
| 2235 | path.quadTo(365.340851,152.726639, 366.38147,151.468765); |
| 2236 | path.quadTo(365.420258,151.14975, 364.390686,150.922379); |
| 2237 | path.close(); |
| 2238 | path.moveTo(367.863586, 152.032623); |
| 2239 | path.quadTo(367.144043,151.721848, 366.38147,151.468765); |
| 2240 | </div> |
| 2241 | |
| 2242 | <div id="testQuadratic46o"> |
| 2243 | path.moveTo(366.608826, 151.196014); |
| 2244 | path.quadTo(378.803101, 136.674606, 398.164948, 136.674606); |
| 2245 | path.lineTo(354.009216, 208.816208); |
| 2246 | path.lineTo(393.291473, 102.232819); |
| 2247 | path.lineTo(359.978058, 136.581512); |
| 2248 | path.quadTo(378.315979, 136.581512, 388.322723, 149.613556); |
| 2249 | path.lineTo(364.390686, 157.898193); |
| 2250 | path.quadTo(375.281769, 136.674606, 396.039917, 136.674606); |
| 2251 | path.lineTo(350, 120); |
| 2252 | path.lineTo(366.608826, 151.196014); |
| 2253 | path.close(); |
| 2254 | </div> |
| 2255 | |
| 2256 | <div id="testQuadratic46s"> |
| 2257 | path.moveTo(369.285553, 126.984779); |
| 2258 | path.lineTo(393.291473,102.232819); |
| 2259 | path.lineTo(382.416199,131.740402); |
| 2260 | path.lineTo(396.039917,136.674606); |
| 2261 | path.quadTo(387.290802,136.674606, 380.294495,140.44487); |
| 2262 | path.quadTo(379.623352,140.760971, 378.965302,141.103577); |
| 2263 | path.lineTo(378.917297,141.233856); |
| 2264 | path.quadTo(378.86972,141.206131, 378.822021,141.178574); |
| 2265 | path.quadTo(372.011871,144.761871, 366.608826,151.196014); |
| 2266 | path.lineTo(350,120); |
| 2267 | path.lineTo(369.285553,126.984779); |
| 2268 | path.close(); |
| 2269 | path.moveTo(374.00174, 154.571106); |
| 2270 | path.lineTo(378.917297,141.233871); |
| 2271 | path.quadTo(378.917297,141.233871, 378.917297,141.233856); |
| 2272 | path.quadTo(384.294891,144.368011, 388.322723,149.613556); |
| 2273 | path.lineTo(374.00174,154.571106); |
| 2274 | path.close(); |
| 2275 | path.moveTo(378.917297, 141.233871); |
| 2276 | path.quadTo(370.233887,146.511475, 364.390686,157.898193); |
| 2277 | path.lineTo(374.00174,154.571106); |
| 2278 | path.lineTo(354.009216,208.816208); |
| 2279 | path.lineTo(398.164948,136.674606); |
| 2280 | path.quadTo(388.299255,136.674606, 380.294495,140.44487); |
caryclark@google.com | 6aea33f | 2012-10-09 14:11:58 +0000 | [diff] [blame] | 2281 | </div> |
| 2282 | |
caryclark@google.com | c91dfe4 | 2012-10-16 12:06:27 +0000 | [diff] [blame] | 2283 | <div id="testQuadratic47o"> |
| 2284 | path.moveTo(343.939362, 212.598053); |
| 2285 | path.lineTo(378.457642, 118.940636); |
| 2286 | path.lineTo(383.692657, 141.516571); |
| 2287 | path.lineTo(350.319519, 231.902115); |
| 2288 | path.lineTo(343.939362, 212.598053); |
| 2289 | path.close(); |
| 2290 | path.moveTo(325.429016, 162.047577); |
| 2291 | path.quadTo(336.348907, 149.123688, 353.36264, 149.123688); |
| 2292 | path.quadTo(369.476624, 149.123688, 378.269806, 160.575241); |
| 2293 | path.lineTo(325.429016, 162.047577); |
| 2294 | path.close(); |
| 2295 | path.moveTo(370.867188, 186.014069); |
| 2296 | path.quadTo(370.867188, 161.229614, 352.381104, 161.229614); |
| 2297 | path.quadTo(333.813202, 161.229614, 331.686493, 186.014069); |
| 2298 | path.lineTo(370.867188, 186.014069); |
| 2299 | path.close(); |
| 2300 | path.moveTo(353.161499, 195.011719); |
| 2301 | path.quadTo(353.161499, 174.726105, 363.876862, 161.96579); |
| 2302 | path.lineTo(353.161499, 195.011719); |
| 2303 | path.close(); |
| 2304 | </div> |
| 2305 | |
| 2306 | <div id="testQuadratic47s"> |
| 2307 | path.moveTo(366.466309, 151.476364); |
| 2308 | path.lineTo(378.457642,118.940636); |
| 2309 | path.lineTo(383.692657,141.516571); |
| 2310 | path.lineTo(377.159943,159.209305); |
| 2311 | path.quadTo(377.728729,159.87059, 378.269806,160.575241); |
| 2312 | path.lineTo(376.638824,160.620682); |
| 2313 | path.lineTo(370.26593,177.8806); |
| 2314 | path.quadTo(368.708496,168.390671, 363.116943,164.309357); |
| 2315 | path.lineTo(356.079041,186.014069); |
| 2316 | path.lineTo(367.262817,186.014069); |
| 2317 | path.lineTo(350.319519,231.902115); |
| 2318 | path.lineTo(343.939362,212.598053); |
| 2319 | path.lineTo(353.736816,186.014923); |
| 2320 | path.lineTo(353.737122,186.014069); |
| 2321 | path.lineTo(353.736938,186.014069); |
| 2322 | path.quadTo(353.736877,186.014496, 353.736816,186.014923); |
| 2323 | path.quadTo(353.161499,190.31131, 353.161499,195.011719); |
| 2324 | </div> |
| 2325 | |
caryclark@google.com | fb51afb | 2012-10-19 15:54:16 +0000 | [diff] [blame] | 2326 | <div id="testQuadratic48o"> |
| 2327 | path.moveTo(366.608826, 151.196014); |
| 2328 | path.quadTo(378.803101, 136.674606, 398.164948, 136.674606); |
| 2329 | path.lineTo(354.009216, 208.816208); |
| 2330 | path.lineTo(393.291473, 102.232819); |
| 2331 | path.lineTo(359.978058, 136.581512); |
| 2332 | path.quadTo(378.315979, 136.581512, 388.322723, 149.613556); |
| 2333 | path.lineTo(364.390686, 157.898193); |
| 2334 | path.quadTo(375.281769, 136.674606, 396.039917, 136.674606); |
| 2335 | path.lineTo(350, 120); |
| 2336 | path.lineTo(366.608826, 151.196014); |
| 2337 | path.close(); |
| 2338 | </div> |
| 2339 | |
| 2340 | <div id="testQuadratic48s"> |
| 2341 | path.moveTo(369.285553, 126.984779); |
| 2342 | path.lineTo(393.291473,102.232819); |
| 2343 | path.lineTo(382.416199,131.740402); |
| 2344 | path.lineTo(396.039917,136.674606); |
| 2345 | path.quadTo(387.290802,136.674606, 380.294495,140.44487); |
| 2346 | path.quadTo(379.623352,140.760971, 378.965302,141.103577); |
| 2347 | path.lineTo(378.917297,141.233856); |
| 2348 | path.quadTo(378.86972,141.206131, 378.822021,141.178574); |
| 2349 | path.quadTo(372.011871,144.761871, 366.608826,151.196014); |
| 2350 | path.lineTo(350,120); |
| 2351 | path.lineTo(369.285553,126.984779); |
| 2352 | path.close(); |
| 2353 | </div> |
| 2354 | |
| 2355 | <div id="testQuadratic49s"> |
| 2356 | path.moveTo(366.400513, 204.162521); |
| 2357 | path.lineTo(411.545044, 81.6732483); |
| 2358 | path.lineTo(366.400513, 204.162521); |
| 2359 | path.close(); |
| 2360 | path.moveTo(331.585693, 138.050415); |
| 2361 | path.quadTo(345.867188, 121.147957, 368.11853, 121.147957); |
| 2362 | path.quadTo(389.193115, 121.147957, 400.693176, 136.124817); |
| 2363 | path.lineTo(331.585693, 138.050415); |
| 2364 | path.close(); |
| 2365 | path.moveTo(369.863983, 145.645813); |
| 2366 | path.quadTo(382.380371, 121.254936, 406.236359, 121.254936); |
| 2367 | path.lineTo(369.863983, 145.645813); |
| 2368 | path.close(); |
| 2369 | path.moveTo(369.970581, 137.94342); |
| 2370 | path.quadTo(383.98465, 121.254936, 406.235992, 121.254936); |
| 2371 | path.lineTo(369.970581, 137.94342); |
| 2372 | path.close(); |
| 2373 | </div> |
| 2374 | |
| 2375 | <div id="testQuadratic50o"> |
| 2376 | path.moveTo(366.400513, 204.162521); |
| 2377 | path.lineTo(411.545044, 81.6732483); |
| 2378 | path.lineTo(366.400513, 204.162521); |
| 2379 | path.close(); |
| 2380 | path.moveTo(331.585693, 138.050415); |
| 2381 | path.quadTo(345.867188, 121.147957, 368.11853, 121.147957); |
| 2382 | path.quadTo(389.193115, 121.147957, 400.693176, 136.124817); |
| 2383 | path.lineTo(331.585693, 138.050415); |
| 2384 | path.close(); |
| 2385 | path.moveTo(369.863983, 145.645813); |
| 2386 | path.quadTo(382.380371, 121.254936, 406.236359, 121.254936); |
| 2387 | path.lineTo(369.863983, 145.645813); |
| 2388 | path.close(); |
| 2389 | path.moveTo(369.970581, 137.94342); |
| 2390 | path.quadTo(383.98465, 121.254936, 406.235992, 121.254936); |
| 2391 | path.lineTo(369.970581, 137.94342); |
| 2392 | path.close(); |
| 2393 | </div> |
| 2394 | |
| 2395 | <div id="testQuadratic50s"> |
| 2396 | path.moveTo(331.585693, 138.050415); |
| 2397 | path.quadTo(345.867188,121.147957, 368.11853,121.147957); |
| 2398 | path.quadTo(378.797424,121.147957, 387.017914,124.993469); |
| 2399 | path.quadTo(391.577667,123.030998, 396.645874,122.098694); |
| 2400 | path.quadTo(401.232697,121.254936, 406.235992,121.254936); |
| 2401 | path.lineTo(395.061676,126.397095); |
| 2402 | path.lineTo(391.979187,127.81559); |
| 2403 | path.quadTo(393.010406,128.517273, 393.994415,129.292801); |
| 2404 | path.quadTo(394.053131,129.339066, 394.111664,129.385605); |
| 2405 | path.lineTo(393.910492,129.520508); |
| 2406 | path.lineTo(383.340973,136.608322); |
| 2407 | path.lineTo(375.350006,136.830978); |
| 2408 | path.quadTo(376.20224,135.708145, 377.092102,134.66626); |
| 2409 | path.lineTo(372.197113,136.918823); |
| 2410 | </div> |
| 2411 | |
| 2412 | <div id="testQuadratic51"> |
| 2413 | path.moveTo(369.863983, 145.645813); |
| 2414 | path.quadTo(382.380371, 121.254936, 406.236359, 121.254936); |
| 2415 | path.lineTo(369.863983, 145.645813); |
| 2416 | path.close(); |
| 2417 | path.moveTo(369.970581, 137.94342); |
| 2418 | path.quadTo(383.98465, 121.254936, 406.235992, 121.254936); |
| 2419 | path.lineTo(369.970581, 137.94342); |
| 2420 | path.close(); |
| 2421 | </div> |
| 2422 | |
caryclark@google.com | 185c7c4 | 2012-10-19 18:26:24 +0000 | [diff] [blame] | 2423 | <div id="testQuadratic52o"> |
| 2424 | path.moveTo(366.400513, 204.162521); |
| 2425 | path.lineTo(411.545044, 81.6732483); |
| 2426 | path.lineTo(366.400513, 204.162521); |
| 2427 | path.close(); |
| 2428 | path.moveTo(331.585693, 138.050415); |
| 2429 | path.quadTo(345.867188, 121.147957, 368.11853, 121.147957); |
| 2430 | path.quadTo(389.193115, 121.147957, 400.693176, 136.124817); |
| 2431 | path.lineTo(331.585693, 138.050415); |
| 2432 | path.close(); |
| 2433 | path.moveTo(369.863983, 145.645813); |
| 2434 | path.quadTo(382.380371, 121.254936, 406.236359, 121.254936); |
| 2435 | path.lineTo(369.863983, 145.645813); |
| 2436 | path.close(); |
| 2437 | path.moveTo(369.970581, 137.94342); |
| 2438 | path.quadTo(383.98465, 121.254936, 406.235992, 121.254936); |
| 2439 | path.lineTo(369.970581, 137.94342); |
| 2440 | path.close(); |
| 2441 | </div> |
| 2442 | |
| 2443 | <div id="testQuadratic52s"> |
| 2444 | path.moveTo(331.585693, 138.050415); |
| 2445 | path.quadTo(345.867188,121.147957, 368.11853,121.147957); |
| 2446 | path.quadTo(378.797424,121.147957, 387.017914,124.993469); |
| 2447 | path.quadTo(391.577667,123.030998, 396.645874,122.098694); |
| 2448 | path.quadTo(401.232697,121.254936, 406.235992,121.254936); |
| 2449 | path.close(); |
| 2450 | path.moveTo(383.340973, 136.608322); |
| 2451 | path.lineTo(369.863983,145.645813); |
| 2452 | path.quadTo(372.378204,140.746292, 375.350006,136.830978); |
| 2453 | path.lineTo(372.197113,136.918823); |
| 2454 | path.lineTo(369.970581,137.94342); |
| 2455 | path.quadTo(370.390961,137.442825, 370.818756,136.95723); |
| 2456 | path.lineTo(331.585693,138.050415); |
| 2457 | path.quadTo(345.867188,121.147957, 368.11853,121.147957); |
| 2458 | path.quadTo(378.797424,121.147957, 387.017914,124.993469); |
| 2459 | path.quadTo(391.577667,123.030998, 396.645874,122.098694); |
| 2460 | path.quadTo(401.232697,121.254936, 406.235992,121.254936); |
| 2461 | path.close(); |
| 2462 | path.moveTo(383.340973, 136.608322); |
| 2463 | path.lineTo(391.380798,136.384293); |
| 2464 | path.lineTo(400.693176,136.124817); |
| 2465 | path.quadTo(397.721985,132.255341, 394.111664,129.385605); |
| 2466 | path.lineTo(406.236359,121.254936); |
| 2467 | path.quadTo(406.236176,121.254936, 406.235992,121.254936); |
| 2468 | path.lineTo(406.235992,121.254936); |
| 2469 | path.quadTo(401.232697,121.254936, 396.645874,122.098694); |
| 2470 | path.quadTo(391.577667,123.030998, 387.017914,124.993469); |
| 2471 | path.quadTo(378.797424,121.147957, 368.11853,121.147957); |
| 2472 | path.quadTo(345.867188,121.147957, 331.585693,138.050415); |
| 2473 | path.lineTo(370.818756,136.95723); |
| 2474 | path.quadTo(370.390961,137.442825, 369.970581,137.94342); |
| 2475 | path.lineTo(372.197113,136.918823); |
| 2476 | path.lineTo(375.350006,136.830978); |
| 2477 | path.quadTo(372.378204,140.746292, 369.863983,145.645813); |
| 2478 | path.lineTo(383.340973,136.608322); |
| 2479 | path.close(); |
| 2480 | </div> |
| 2481 | |
caryclark@google.com | f839c03 | 2012-10-26 21:03:50 +0000 | [diff] [blame] | 2482 | <div id="testQuadratic52sa"> |
| 2483 | path.moveTo(331.585693, 138.050415); |
| 2484 | path.quadTo(345.867188,121.147957, 368.11853,121.147957); |
| 2485 | path.quadTo(378.797424,121.147957, 387.017914,124.993469); |
| 2486 | path.quadTo(391.577667,123.030998, 396.645874,122.098694); |
| 2487 | path.quadTo(401.232697,121.254936, 406.235992,121.254936); |
| 2488 | path.close(); |
| 2489 | </div> |
| 2490 | |
| 2491 | <div id="testQuadratic52sb"> |
| 2492 | path.moveTo(383.340973, 136.608322); |
| 2493 | path.lineTo(369.863983,145.645813); |
| 2494 | path.quadTo(372.378204,140.746292, 375.350006,136.830978); |
| 2495 | path.lineTo(372.197113,136.918823); |
| 2496 | path.lineTo(369.970581,137.94342); |
| 2497 | path.quadTo(370.390961,137.442825, 370.818756,136.95723); |
| 2498 | path.lineTo(331.585693,138.050415); |
| 2499 | path.quadTo(345.867188,121.147957, 368.11853,121.147957); |
| 2500 | path.quadTo(378.797424,121.147957, 387.017914,124.993469); |
| 2501 | path.quadTo(391.577667,123.030998, 396.645874,122.098694); |
| 2502 | path.quadTo(401.232697,121.254936, 406.235992,121.254936); |
| 2503 | path.close(); |
| 2504 | </div> |
| 2505 | |
| 2506 | <div id="testQuadratic52sc"> |
| 2507 | path.moveTo(383.340973, 136.608322); |
| 2508 | path.lineTo(391.380798,136.384293); |
| 2509 | path.lineTo(400.693176,136.124817); |
| 2510 | path.quadTo(397.721985,132.255341, 394.111664,129.385605); |
| 2511 | path.lineTo(406.236359,121.254936); |
| 2512 | path.quadTo(406.236176,121.254936, 406.235992,121.254936); |
| 2513 | path.lineTo(406.235992,121.254936); |
| 2514 | path.quadTo(401.232697,121.254936, 396.645874,122.098694); |
| 2515 | path.quadTo(391.577667,123.030998, 387.017914,124.993469); |
| 2516 | path.quadTo(378.797424,121.147957, 368.11853,121.147957); |
| 2517 | path.quadTo(345.867188,121.147957, 331.585693,138.050415); |
| 2518 | path.lineTo(370.818756,136.95723); |
| 2519 | path.quadTo(370.390961,137.442825, 369.970581,137.94342); |
| 2520 | path.lineTo(372.197113,136.918823); |
| 2521 | path.lineTo(375.350006,136.830978); |
| 2522 | path.quadTo(372.378204,140.746292, 369.863983,145.645813); |
| 2523 | path.lineTo(383.340973,136.608322); |
| 2524 | path.close(); |
| 2525 | </div> |
| 2526 | |
| 2527 | <div id="testQuadratic53o"> |
| 2528 | path.moveTo(303.12088, 141.299606); |
| 2529 | path.lineTo(330.463562, 217.659027); |
| 2530 | path.lineTo(303.12088, 141.299606); |
| 2531 | path.close(); |
| 2532 | path.moveTo(371.919067, 205.854996); |
| 2533 | path.lineTo(326.236786, 205.854996); |
| 2534 | path.quadTo(329.104431, 231.663818, 351.512085, 231.663818); |
| 2535 | path.lineTo(371.919067, 205.854996); |
| 2536 | path.close(); |
| 2537 | </div> |
| 2538 | |
| 2539 | <div id="testQuadratic53s"> |
| 2540 | path.moveTo(326.236786,205.854996); |
| 2541 | path.lineTo(326.236786,205.854996); |
| 2542 | path.close(); |
| 2543 | path.moveTo(371.919067,205.854996); |
| 2544 | path.lineTo(326.236786,205.854996); |
| 2545 | </div> |
| 2546 | |
| 2547 | <div id="testQuadratic54"> |
| 2548 | path.moveTo(303.12088, 141.299606); |
| 2549 | path.lineTo(330.463562, 217.659027); |
| 2550 | path.lineTo(358.606506, 141.299606); |
| 2551 | path.lineTo(303.12088, 141.299606); |
| 2552 | path.close(); |
| 2553 | path.moveTo(371.919067, 205.854996); |
| 2554 | path.lineTo(326.236786, 205.854996); |
| 2555 | path.quadTo(329.104431, 231.663818, 351.512085, 231.663818); |
| 2556 | path.lineTo(371.919067, 205.854996); |
| 2557 | path.close(); |
| 2558 | </div> |
| 2559 | |
| 2560 | <div id="testQuadratic55o"> |
| 2561 | path.moveTo(303.12088, 141.299606); |
| 2562 | path.lineTo(330.463562, 217.659027); |
| 2563 | path.lineTo(358.606506, 141.299606); |
| 2564 | path.lineTo(303.12088, 141.299606); |
| 2565 | path.close(); |
| 2566 | path.moveTo(326.236786, 205.854996); |
| 2567 | path.quadTo(329.104431, 231.663818, 351.512085, 231.663818); |
| 2568 | path.lineTo(326.236786, 205.854996); |
| 2569 | path.close(); |
| 2570 | </div> |
| 2571 | |
| 2572 | <div id="testQuadratic55s"> |
| 2573 | path.moveTo(326.236786,205.854996); |
| 2574 | path.lineTo(303.12088,141.299606); |
| 2575 | path.lineTo(358.606506,141.299606); |
| 2576 | path.lineTo(332.468719,212.218475); |
| 2577 | path.lineTo(351.512085,231.663818); |
| 2578 | path.quadTo(329.104431,231.663818, 326.236786,205.854996); |
| 2579 | path.close(); |
| 2580 | </div> |
| 2581 | |
| 2582 | <div id="testQuadratic56o"> |
| 2583 | path.moveTo(366.608826, 151.196014); |
| 2584 | path.quadTo(378.803101, 136.674606, 398.164948, 136.674606); |
| 2585 | path.lineTo(354.009216, 208.816208); |
| 2586 | path.lineTo(393.291473, 102.232819); |
| 2587 | path.lineTo(359.978058, 136.581512); |
| 2588 | path.quadTo(378.315979, 136.581512, 388.322723, 149.613556); |
| 2589 | path.lineTo(364.390686, 157.898193); |
| 2590 | path.quadTo(375.281769, 136.674606, 396.039917, 136.674606); |
| 2591 | path.lineTo(350, 120); |
| 2592 | path.lineTo(366.608826, 151.196014); |
| 2593 | path.close(); |
| 2594 | </div> |
| 2595 | |
| 2596 | <div id="testQuadratic56s"> |
| 2597 | path.moveTo(369.285553,126.984779); |
| 2598 | path.lineTo(393.291473,102.232819); |
| 2599 | path.lineTo(382.416199,131.740402); |
| 2600 | path.lineTo(396.039917,136.674606); |
| 2601 | path.quadTo(387.290802,136.674606, 380.294495,140.44487); |
| 2602 | path.quadTo(379.623352,140.760971, 378.965302,141.103577); |
| 2603 | path.lineTo(378.917297,141.233856); |
| 2604 | path.quadTo(378.86972,141.206131, 378.822021,141.178574); |
| 2605 | path.quadTo(372.011871,144.761871, 366.608826,151.196014); |
| 2606 | path.lineTo(350,120); |
| 2607 | path.lineTo(369.285553,126.984779); |
| 2608 | path.close(); |
| 2609 | path.moveTo(378.917297,141.233871); |
| 2610 | path.lineTo(378.917297,141.233856); |
| 2611 | path.quadTo(378.86972,141.206131, 378.822021,141.178574); |
| 2612 | path.quadTo(372.011871,144.761871, 366.608826,151.196014); |
| 2613 | </div> |
| 2614 | |
| 2615 | <div id="testQuadratic57o"> |
| 2616 | path.moveTo(303.12088, 141.299606); |
| 2617 | path.lineTo(330.463562, 217.659027); |
| 2618 | path.lineTo(358.606506, 141.299606); |
| 2619 | path.lineTo(362.874634, 159.705902); |
| 2620 | path.lineTo(335.665344, 233.397751); |
| 2621 | path.lineTo(322.12738, 233.397751); |
| 2622 | path.lineTo(295.718353, 159.505829); |
| 2623 | path.lineTo(295.718353, 240); |
| 2624 | path.lineTo(303.12088, 141.299606); |
| 2625 | path.close(); |
| 2626 | path.moveTo(322.935669, 231.030273); |
| 2627 | path.quadTo(312.832214, 220.393295, 312.832214, 203.454178); |
| 2628 | path.quadTo(312.832214, 186.981888, 321.73526, 176.444946); |
| 2629 | path.quadTo(330.638306, 165.90802, 344.509705, 165.90802); |
| 2630 | path.lineTo(371.919067, 205.854996); |
| 2631 | path.lineTo(326.236786, 205.854996); |
| 2632 | path.quadTo(329.104431, 231.663818, 351.512085, 231.663818); |
| 2633 | path.lineTo(322.935669, 231.030273); |
| 2634 | path.close(); |
| 2635 | path.moveTo(326.837006, 195.984955); |
| 2636 | path.lineTo(358.78125, 195.984955); |
| 2637 | path.lineTo(343.709442, 175.778046); |
| 2638 | path.quadTo(328.570923, 175.778046, 326.837006, 195.984955); |
| 2639 | path.close(); |
| 2640 | </div> |
| 2641 | |
| 2642 | <div id="testQuadratic57s"> |
| 2643 | path.moveTo(300.708282,173.46756); |
| 2644 | path.lineTo(303.12088,141.299606); |
| 2645 | path.lineTo(317.770294,182.210785); |
| 2646 | path.quadTo(319.462738,179.134506, 321.73526,176.444946); |
| 2647 | path.quadTo(330.638306,165.90802, 344.509705,165.90802); |
| 2648 | path.lineTo(347.780151,170.674438); |
| 2649 | path.lineTo(358.606506,141.299606); |
| 2650 | path.lineTo(362.874634,159.705902); |
| 2651 | path.lineTo(354.960693,181.139511); |
| 2652 | path.lineTo(371.919067,205.854996); |
| 2653 | path.lineTo(345.834961,205.854996); |
| 2654 | path.lineTo(337.609253,228.13298); |
| 2655 | path.quadTo(342.649323,231.302383, 349.843323,231.626816); |
| 2656 | path.lineTo(336.429047,231.329422); |
| 2657 | path.lineTo(335.665344,233.397751); |
| 2658 | path.lineTo(322.12738,233.397751); |
| 2659 | path.lineTo(320.050781,227.587433); |
| 2660 | path.quadTo(313.982483,219.336182, 313.015503,207.902908); |
| 2661 | path.lineTo(300.708282,173.46756); |
| 2662 | path.close(); |
| 2663 | path.moveTo(300.708282,173.46756); |
| 2664 | path.lineTo(295.718353,240); |
| 2665 | path.lineTo(295.718353,159.505829); |
| 2666 | path.lineTo(300.708282,173.46756); |
| 2667 | path.close(); |
| 2668 | path.moveTo(349.843323,231.626816); |
| 2669 | path.lineTo(351.512085,231.663818); |
| 2670 | path.quadTo(350.663696,231.663818, 349.843323,231.626816); |
| 2671 | path.close(); |
| 2672 | path.moveTo(326.236786,205.854996); |
| 2673 | path.lineTo(330.463562,217.659027); |
| 2674 | path.lineTo(334.814056,205.854996); |
| 2675 | path.lineTo(326.236786,205.854996); |
| 2676 | path.close(); |
| 2677 | path.moveTo(334.814056,205.854996); |
| 2678 | path.lineTo(338.451721,195.984955); |
| 2679 | path.lineTo(349.479309,195.984955); |
| 2680 | path.lineTo(352.559326,187.643173); |
| 2681 | path.lineTo(358.78125,195.984955); |
| 2682 | </div> |
| 2683 | |
| 2684 | <div id="testQuadratic58o"> |
| 2685 | path.moveTo(283.714233, 240); |
| 2686 | path.lineTo(283.714233, 141.299606); |
| 2687 | path.lineTo(303.12088, 141.299606); |
| 2688 | path.lineTo(330.463562, 217.659027); |
| 2689 | path.lineTo(358.606506, 141.299606); |
| 2690 | path.lineTo(362.874634, 159.705902); |
| 2691 | path.lineTo(335.665344, 233.397751); |
| 2692 | path.lineTo(322.12738, 233.397751); |
| 2693 | path.lineTo(295.718353, 159.505829); |
| 2694 | path.lineTo(295.718353, 240); |
| 2695 | path.lineTo(283.714233, 240); |
| 2696 | path.close(); |
| 2697 | path.moveTo(322.935669, 231.030273); |
| 2698 | path.quadTo(312.832214, 220.393295, 312.832214, 203.454178); |
| 2699 | path.quadTo(312.832214, 186.981888, 321.73526, 176.444946); |
| 2700 | path.quadTo(330.638306, 165.90802, 344.509705, 165.90802); |
| 2701 | path.quadTo(357.647522, 165.90802, 364.81665, 175.244537); |
| 2702 | path.lineTo(371.919067, 205.854996); |
| 2703 | path.lineTo(326.236786, 205.854996); |
| 2704 | path.quadTo(329.104431, 231.663818, 351.512085, 231.663818); |
| 2705 | path.lineTo(322.935669, 231.030273); |
| 2706 | path.close(); |
| 2707 | path.moveTo(326.837006, 195.984955); |
| 2708 | path.lineTo(358.78125, 195.984955); |
| 2709 | path.quadTo(358.78125, 175.778046, 343.709442, 175.778046); |
| 2710 | path.quadTo(328.570923, 175.778046, 326.837006, 195.984955); |
| 2711 | path.close(); |
| 2712 | </div> |
| 2713 | |
| 2714 | <div id="testQuadratic58s"> |
| 2715 | path.moveTo(283.714233,240); |
| 2716 | path.lineTo(283.714233,141.299606); |
| 2717 | path.lineTo(303.12088,141.299606); |
| 2718 | path.lineTo(317.770294,182.210785); |
| 2719 | path.quadTo(319.462738,179.134506, 321.73526,176.444946); |
| 2720 | path.quadTo(330.638306,165.90802, 344.509705,165.90802); |
| 2721 | path.quadTo(347.07132,165.90802, 349.406036,166.26297); |
| 2722 | path.lineTo(358.606506,141.299606); |
| 2723 | path.lineTo(362.874634,159.705902); |
| 2724 | path.lineTo(359.116211,169.884979); |
| 2725 | path.quadTo(362.326477,172.001541, 364.81665,175.244537); |
| 2726 | path.lineTo(371.919067,205.854996); |
| 2727 | path.lineTo(345.834961,205.854996); |
| 2728 | path.lineTo(337.609253,228.13298); |
| 2729 | path.quadTo(342.649323,231.302383, 349.843323,231.626816); |
| 2730 | path.lineTo(336.429047,231.329422); |
| 2731 | path.lineTo(335.665344,233.397751); |
| 2732 | path.lineTo(322.12738,233.397751); |
| 2733 | path.lineTo(320.050781,227.587433); |
| 2734 | path.quadTo(313.982483,219.336182, 313.015503,207.902908); |
| 2735 | path.lineTo(295.718353,159.505829); |
| 2736 | path.lineTo(295.718353,240); |
| 2737 | path.lineTo(283.714233,240); |
| 2738 | path.close(); |
| 2739 | path.moveTo(349.843323,231.626816); |
| 2740 | path.lineTo(351.512085,231.663818); |
| 2741 | path.quadTo(350.663696,231.663818, 349.843323,231.626816); |
| 2742 | path.close(); |
| 2743 | path.moveTo(326.236786,205.854996); |
| 2744 | path.lineTo(330.463562,217.659027); |
| 2745 | path.lineTo(334.814056,205.854996); |
| 2746 | path.lineTo(326.236786,205.854996); |
| 2747 | path.close(); |
| 2748 | path.moveTo(334.814056,205.854996); |
| 2749 | path.lineTo(338.451721,195.984955); |
| 2750 | path.lineTo(349.479309,195.984955); |
| 2751 | path.lineTo(355.054535,180.885361); |
| 2752 | path.quadTo(358.78125,185.936935, 358.78125,195.984955); |
| 2753 | </div> |
| 2754 | |
| 2755 | <div id="testQuadratic58a"> |
| 2756 | path.moveTo(283.714233,240); |
| 2757 | path.lineTo(283.714233,141.299606); |
| 2758 | path.lineTo(303.12088,141.299606); |
| 2759 | path.lineTo(317.770294,182.210785); |
| 2760 | path.quadTo(319.462738,179.134506, 321.73526,176.444946); |
| 2761 | path.quadTo(330.638306,165.90802, 344.509705,165.90802); |
| 2762 | path.quadTo(347.07132,165.90802, 349.406036,166.26297); |
| 2763 | path.lineTo(358.606506,141.299606); |
| 2764 | path.lineTo(362.874634,159.705902); |
| 2765 | path.lineTo(359.116211,169.884979); |
| 2766 | path.quadTo(362.326477,172.001541, 364.81665,175.244537); |
| 2767 | path.lineTo(371.919067,205.854996); |
| 2768 | path.lineTo(345.834961,205.854996); |
| 2769 | path.lineTo(337.609253,228.13298); |
| 2770 | path.quadTo(342.649323,231.302383, 349.843323,231.626816); |
| 2771 | path.lineTo(336.429047,231.329422); |
| 2772 | path.lineTo(335.665344,233.397751); |
| 2773 | path.lineTo(322.12738,233.397751); |
| 2774 | path.lineTo(320.050781,227.587433); |
| 2775 | path.quadTo(313.982483,219.336182, 313.015503,207.902908); |
| 2776 | path.lineTo(295.718353,159.505829); |
| 2777 | path.lineTo(295.718353,240); |
| 2778 | path.lineTo(283.714233,240); |
| 2779 | path.close(); |
| 2780 | path.moveTo(349.843323,231.626816); |
| 2781 | path.lineTo(351.512085,231.663818); |
| 2782 | path.quadTo(350.663696,231.663818, 349.843323,231.626816); |
| 2783 | path.close(); |
| 2784 | path.moveTo(349.479309,195.984955); |
| 2785 | path.lineTo(358.78125,195.984955); |
| 2786 | path.quadTo(358.78125,185.936935, 355.054535,180.885361); |
| 2787 | path.lineTo(349.479309,195.984955); |
| 2788 | path.close(); |
| 2789 | path.moveTo(345.858368,175.888794); |
| 2790 | path.lineTo(338.451721,195.984955); |
| 2791 | path.lineTo(326.837006,195.984955); |
| 2792 | path.quadTo(328.570923,175.778046, 343.709442,175.778046); |
| 2793 | path.quadTo(344.825195,175.778046, 345.858368,175.888794); |
| 2794 | path.close(); |
| 2795 | </div> |
| 2796 | |
caryclark@google.com | db0b3e0 | 2012-12-21 21:34:36 +0000 | [diff] [blame] | 2797 | <div id="testQuadratic59"> |
| 2798 | path.moveTo(0, 0); |
| 2799 | path.quadTo(0, 0, 0, 0); |
| 2800 | path.lineTo(2, 2); |
| 2801 | path.close(); |
| 2802 | path.moveTo(0, 0); |
| 2803 | path.lineTo(2, 0); |
| 2804 | path.quadTo(3, 1, 1, 2); |
| 2805 | </div> |
| 2806 | |
caryclark@google.com | 0b7da43 | 2012-10-31 19:00:20 +0000 | [diff] [blame] | 2807 | <div id="testQuadratic59o"> |
| 2808 | path.moveTo(369.863983, 145.645813); |
| 2809 | path.quadTo(382.380371, 121.254936, 406.236359, 121.254936); |
| 2810 | path.quadTo(409.445679, 121.254936, 412.975952, 121.789818); |
| 2811 | path.lineTo(369.863983, 145.645813); |
| 2812 | path.close(); |
| 2813 | path.moveTo(369.970581, 137.94342); |
| 2814 | path.quadTo(383.98465, 121.254936, 406.235992, 121.254936); |
| 2815 | path.quadTo(425.705902, 121.254936, 439.71994, 137.087616); |
| 2816 | path.lineTo(369.970581, 137.94342); |
| 2817 | path.close(); |
| 2818 | </div> |
| 2819 | |
| 2820 | <div id="testQuadratic59s"> |
| 2821 | path.moveTo(369.970581,137.94342); |
| 2822 | path.quadTo(383.98465,121.254936, 406.235992,121.254936); |
| 2823 | path.quadTo(406.237854,121.254936, 406.239746,121.254936); |
| 2824 | path.lineTo(406.239532,121.254936); |
| 2825 | path.quadTo(409.447418,121.255203, 412.975952,121.789818); |
| 2826 | </div> |
| 2827 | |
| 2828 | <div id="testQuadratic60"> |
| 2829 | path.moveTo(360.416077, 166.795715); |
| 2830 | path.quadTo(370.126831, 147.872162, 388.635406, 147.872162); |
| 2831 | path.lineTo(360.416077, 166.795715); |
| 2832 | path.close(); |
| 2833 | path.moveTo(353.2948, 194.351074); |
| 2834 | path.quadTo(353.2948, 173.767563, 364.167572, 160.819855); |
| 2835 | path.quadTo(375.040314, 147.872162, 392.303894, 147.872162); |
| 2836 | path.lineTo(353.2948, 194.351074); |
| 2837 | path.close(); |
| 2838 | </div> |
| 2839 | |
| 2840 | <div id="testQuadratic61"> |
| 2841 | path.moveTo(348.781738, 123.864815); |
| 2842 | path.lineTo(369.848602, 123.864815); |
| 2843 | path.lineTo(369.848602, 145.680267); |
| 2844 | path.quadTo(382.360413, 121.298294, 406.207703, 121.298294); |
| 2845 | path.lineTo(348.781738, 123.864815); |
| 2846 | path.close(); |
| 2847 | path.moveTo(369.961151, 137.980698); |
| 2848 | path.quadTo(383.970093, 121.298294, 406.213287, 121.298294); |
| 2849 | path.lineTo(369.961151, 137.980698); |
| 2850 | path.close(); |
| 2851 | </div> |
| 2852 | |
caryclark@google.com | e7bd5f4 | 2012-12-13 19:47:53 +0000 | [diff] [blame] | 2853 | <div id="testQuadratic62x"> |
| 2854 | path.setFillType(SkPath::kEvenOdd_FillType); |
| 2855 | path.moveTo(0, 0); |
| 2856 | path.quadTo(0, 0, 0, 0); |
| 2857 | path.lineTo(2, 2); |
| 2858 | path.close(); |
| 2859 | path.moveTo(0, 0); |
| 2860 | path.lineTo(2, 0); |
| 2861 | path.quadTo(3, 1, 1, 2); |
| 2862 | path.close(); |
| 2863 | </div> |
| 2864 | |
| 2865 | <div id="testLine1a"> |
| 2866 | path.addRect(0, 0, 12, 12, SkPath::kCW_Direction); |
| 2867 | path.addRect(4, 0, 13, 13, SkPath::kCCW_Direction); |
| 2868 | path.close(); |
| 2869 | </div> |
| 2870 | |
| 2871 | <div id="testQuadratic63"> |
| 2872 | path.moveTo(0, 0); |
| 2873 | path.quadTo(0, 0, 0, 0); |
| 2874 | path.lineTo(3, 2); |
| 2875 | path.close(); |
| 2876 | path.moveTo(1, 0); |
| 2877 | path.lineTo(2, 1); |
| 2878 | path.quadTo(2, 1, 2, 2); |
| 2879 | path.close(); |
| 2880 | </div> |
| 2881 | |
| 2882 | <div id="testQuadratic64"> |
| 2883 | path.moveTo(0, 0); |
| 2884 | path.quadTo(0, 0, 0, 0); |
| 2885 | path.lineTo(2, 3); |
| 2886 | path.close(); |
| 2887 | path.moveTo(1, 2); |
| 2888 | path.lineTo(2, 2); |
| 2889 | path.quadTo(0, 3, 3, 3); |
| 2890 | path.close(); |
| 2891 | </div> |
| 2892 | |
| 2893 | <div id="testQuadratic65"> |
| 2894 | path.moveTo(0, 0); |
| 2895 | path.quadTo(0, 0, 0, 0); |
| 2896 | path.lineTo(3, 2); |
| 2897 | path.close(); |
| 2898 | path.moveTo(2, 1); |
| 2899 | path.lineTo(2, 2); |
| 2900 | path.quadTo(0, 3, 1, 3); |
| 2901 | path.close(); |
| 2902 | </div> |
| 2903 | |
| 2904 | <div id="testQuadratic66"> |
| 2905 | path.moveTo(0, 0); |
| 2906 | path.quadTo(0, 0, 0, 1); |
| 2907 | path.lineTo(3, 2); |
| 2908 | path.close(); |
| 2909 | path.moveTo(2, 0); |
| 2910 | path.lineTo(1, 1); |
| 2911 | path.quadTo(3, 2, 2, 3); |
| 2912 | path.close(); |
| 2913 | </div> |
| 2914 | |
| 2915 | <div id="testQuadratic67x"> |
| 2916 | path.setFillType(SkPath::kEvenOdd_FillType); |
| 2917 | path.moveTo(0, 0); |
| 2918 | path.quadTo(0, 0, 2, 1); |
| 2919 | path.lineTo(2, 2); |
| 2920 | path.close(); |
| 2921 | path.moveTo(0, 0); |
| 2922 | path.lineTo(2, 0); |
| 2923 | path.quadTo(1, 1, 3, 2); |
| 2924 | path.close(); |
| 2925 | </div> |
| 2926 | |
| 2927 | <div id="testQuadratic68"> |
| 2928 | path.moveTo(0, 0); |
| 2929 | path.quadTo(1, 0, 0, 1); |
| 2930 | path.lineTo(1, 2); |
| 2931 | path.close(); |
| 2932 | path.moveTo(0, 0); |
| 2933 | path.lineTo(0, 0); |
| 2934 | path.quadTo(0, 1, 2, 1); |
| 2935 | path.close(); |
| 2936 | </div> |
| 2937 | |
| 2938 | <div id="testQuadratic69"> |
| 2939 | path.moveTo(0, 0); |
| 2940 | path.quadTo(0, 0, 0, 1); |
| 2941 | path.lineTo(3, 2); |
| 2942 | path.close(); |
| 2943 | path.moveTo(2, 0); |
| 2944 | path.lineTo(1, 1); |
| 2945 | path.quadTo(3, 2, 2, 3); |
| 2946 | path.close(); |
| 2947 | </div> |
| 2948 | |
| 2949 | <div id="testQuadratic70x"> |
| 2950 | path.setFillType(SkPath::kEvenOdd_FillType); |
| 2951 | path.moveTo(0, 0); |
| 2952 | path.quadTo(1, 0, 0, 1); |
| 2953 | path.lineTo(1, 2); |
| 2954 | path.close(); |
| 2955 | path.moveTo(0, 0); |
| 2956 | path.lineTo(0, 0); |
| 2957 | path.quadTo(0, 1, 2, 1); |
| 2958 | path.close(); |
| 2959 | </div> |
| 2960 | |
| 2961 | <div id="testQuadratic71"> |
| 2962 | path.moveTo(0, 0); |
| 2963 | path.quadTo(1, 0, 1, 1); |
| 2964 | path.lineTo(3, 2); |
| 2965 | path.close(); |
| 2966 | path.moveTo(0, 0); |
| 2967 | path.lineTo(0, 0); |
| 2968 | path.quadTo(1, 1, 3, 1); |
| 2969 | path.close(); |
| 2970 | </div> |
| 2971 | |
| 2972 | <div id="testQuadratic72"> |
| 2973 | path.moveTo(0, 0); |
| 2974 | path.quadTo(1, 0, 1, 2); |
| 2975 | path.lineTo(1, 2); |
| 2976 | path.close(); |
| 2977 | path.moveTo(0, 0); |
| 2978 | path.lineTo(1, 0); |
| 2979 | path.quadTo(0, 1, 3, 2); |
| 2980 | path.close(); |
| 2981 | </div> |
| 2982 | |
| 2983 | <div id="testQuadratic73"> |
| 2984 | path.moveTo(0, 0); |
| 2985 | path.quadTo(1, 0, 0, 3); |
| 2986 | path.lineTo(0, 3); |
| 2987 | path.close(); |
| 2988 | path.moveTo(0, 0); |
| 2989 | path.lineTo(1, 0); |
| 2990 | path.quadTo(0, 1, 1, 1); |
| 2991 | path.close(); |
| 2992 | </div> |
| 2993 | |
| 2994 | <div id="testQuadratic74"> |
| 2995 | path.moveTo(0, 0); |
| 2996 | path.quadTo(1, 0, 1, 3); |
| 2997 | path.lineTo(1, 3); |
| 2998 | path.close(); |
| 2999 | path.moveTo(0, 0); |
| 3000 | path.lineTo(0, 1); |
| 3001 | path.quadTo(3, 2, 2, 3); |
| 3002 | path.close(); |
| 3003 | </div> |
| 3004 | |
| 3005 | <div id="testQuadratic75"> |
| 3006 | path.moveTo(0, 0); |
| 3007 | path.quadTo(1, 0, 1, 3); |
| 3008 | path.lineTo(2, 3); |
| 3009 | path.close(); |
| 3010 | path.moveTo(0, 0); |
| 3011 | path.lineTo(0, 1); |
| 3012 | path.quadTo(3, 2, 2, 3); |
| 3013 | path.close(); |
| 3014 | </div> |
| 3015 | |
caryclark@google.com | db0b3e0 | 2012-12-21 21:34:36 +0000 | [diff] [blame] | 3016 | <div id="testQuadratic76"> |
| 3017 | path.moveTo(0, 0); |
| 3018 | path.quadTo(0, 0, 0, 0); |
| 3019 | path.lineTo(2, 3); |
| 3020 | path.close(); |
| 3021 | path.moveTo(1, 0); |
| 3022 | path.lineTo(1, 2); |
| 3023 | path.quadTo(1, 2, 2, 2); |
| 3024 | path.close(); |
| 3025 | </div> |
| 3026 | |
| 3027 | <div id="testQuadratic77"> |
| 3028 | path.moveTo(0, 0); |
| 3029 | path.quadTo(1, 0, 1, 1); |
| 3030 | path.lineTo(3, 1); |
| 3031 | path.close(); |
| 3032 | path.moveTo(0, 0); |
| 3033 | path.lineTo(1, 0); |
| 3034 | path.quadTo(0, 1, 3, 2); |
| 3035 | path.close(); |
| 3036 | </div> |
| 3037 | |
| 3038 | <div id="testQuadratic78"> |
| 3039 | path.moveTo(0, 0); |
| 3040 | path.quadTo(1, 0, 1, 2); |
| 3041 | path.lineTo(3, 2); |
| 3042 | path.close(); |
| 3043 | path.moveTo(0, 0); |
| 3044 | path.lineTo(0, 0); |
| 3045 | path.quadTo(2, 1, 0, 2); |
| 3046 | path.close(); |
| 3047 | </div> |
| 3048 | |
| 3049 | <div id="testQuadratic79"> |
| 3050 | path.moveTo(0, 0); |
| 3051 | path.quadTo(1, 0, 1, 2); |
| 3052 | path.lineTo(3, 2); |
| 3053 | path.close(); |
| 3054 | path.moveTo(0, 0); |
| 3055 | path.lineTo(1, 0); |
| 3056 | path.quadTo(0, 1, 3, 2); |
| 3057 | path.close(); |
| 3058 | </div> |
| 3059 | |
| 3060 | <div id="testQuadratic80"> |
| 3061 | path.moveTo(0, 0); |
| 3062 | path.quadTo(1, 0, 2, 3); |
| 3063 | path.lineTo(2, 3); |
| 3064 | path.close(); |
| 3065 | path.moveTo(1, 0); |
| 3066 | path.lineTo(3, 0); |
| 3067 | path.quadTo(0, 1, 1, 1); |
| 3068 | path.close(); |
| 3069 | </div> |
| 3070 | |
| 3071 | <div id="testQuadratic81"> |
| 3072 | path.moveTo(0, 0); |
| 3073 | path.quadTo(2, 0, 1, 1); |
| 3074 | path.lineTo(1, 1); |
| 3075 | path.close(); |
| 3076 | path.moveTo(0, 0); |
| 3077 | path.lineTo(0, 0); |
| 3078 | path.quadTo(2, 1, 0, 2); |
| 3079 | path.close(); |
| 3080 | </div> |
| 3081 | |
| 3082 | <div id="testQuadratic82"> |
| 3083 | path.moveTo(0, 0); |
| 3084 | path.quadTo(2, 0, 1, 1); |
| 3085 | path.lineTo(0, 3); |
| 3086 | path.close(); |
| 3087 | path.moveTo(0, 0); |
| 3088 | path.lineTo(0, 0); |
| 3089 | path.quadTo(2, 1, 0, 2); |
| 3090 | path.close(); |
| 3091 | </div> |
| 3092 | |
caryclark@google.com | 3586ece | 2012-12-27 18:46:58 +0000 | [diff] [blame^] | 3093 | <div id="testQuadratic83"> |
| 3094 | path.moveTo(0, 0); |
| 3095 | path.quadTo(0, 0, 2, 0); |
| 3096 | path.lineTo(2, 2); |
| 3097 | path.close(); |
| 3098 | path.moveTo(0, 1); |
| 3099 | path.lineTo(0, 2); |
| 3100 | path.quadTo(2, 2, 1, 3); |
| 3101 | path.close(); |
| 3102 | </div> |
| 3103 | |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3104 | </div> |
| 3105 | |
| 3106 | <script type="text/javascript"> |
| 3107 | |
| 3108 | var testDivs = [ |
caryclark@google.com | 3586ece | 2012-12-27 18:46:58 +0000 | [diff] [blame^] | 3109 | testQuadratic83, |
caryclark@google.com | db0b3e0 | 2012-12-21 21:34:36 +0000 | [diff] [blame] | 3110 | testQuadratic82, |
| 3111 | testQuadratic81, |
| 3112 | testQuadratic80, |
| 3113 | testQuadratic79, |
| 3114 | testQuadratic78, |
| 3115 | testQuadratic77, |
| 3116 | testQuadratic76, |
caryclark@google.com | e7bd5f4 | 2012-12-13 19:47:53 +0000 | [diff] [blame] | 3117 | testQuadratic75, |
| 3118 | testQuadratic74, |
| 3119 | testQuadratic73, |
| 3120 | testQuadratic72, |
| 3121 | testQuadratic71, |
| 3122 | testQuadratic70x, |
| 3123 | testQuadratic69, |
| 3124 | testQuadratic68, |
| 3125 | testQuadratic67x, |
| 3126 | testQuadratic66, |
| 3127 | testQuadratic65, |
| 3128 | testQuadratic64, |
| 3129 | testQuadratic63, |
| 3130 | testLine1a, |
| 3131 | testQuadratic62x, |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 3132 | testLine81, |
caryclark@google.com | 0b7da43 | 2012-10-31 19:00:20 +0000 | [diff] [blame] | 3133 | testQuadratic61, |
| 3134 | testQuadratic60, |
caryclark@google.com | db0b3e0 | 2012-12-21 21:34:36 +0000 | [diff] [blame] | 3135 | testQuadratic59, |
caryclark@google.com | 0b7da43 | 2012-10-31 19:00:20 +0000 | [diff] [blame] | 3136 | testQuadratic59o, |
| 3137 | testQuadratic59s, |
caryclark@google.com | f839c03 | 2012-10-26 21:03:50 +0000 | [diff] [blame] | 3138 | testQuadratic58o, |
| 3139 | testQuadratic58a, |
| 3140 | testQuadratic58s, |
| 3141 | testQuadratic57o, |
| 3142 | testQuadratic57s, |
| 3143 | testQuadratic56o, |
| 3144 | testQuadratic56s, |
| 3145 | testQuadratic55o, |
| 3146 | testQuadratic55s, |
| 3147 | testQuadratic54, |
| 3148 | testQuadratic53o, |
| 3149 | testQuadratic53s, |
| 3150 | testQuadratic52sa, |
| 3151 | testQuadratic52sb, |
| 3152 | testQuadratic52sc, |
caryclark@google.com | 185c7c4 | 2012-10-19 18:26:24 +0000 | [diff] [blame] | 3153 | testQuadratic52o, |
| 3154 | testQuadratic52s, |
caryclark@google.com | fb51afb | 2012-10-19 15:54:16 +0000 | [diff] [blame] | 3155 | testQuadratic51, |
| 3156 | testQuadratic50o, |
| 3157 | testQuadratic50s, |
| 3158 | testQuadratic49s, |
| 3159 | testQuadratic48o, |
| 3160 | testQuadratic48s, |
caryclark@google.com | c91dfe4 | 2012-10-16 12:06:27 +0000 | [diff] [blame] | 3161 | testQuadratic47o, |
| 3162 | testQuadratic47s, |
caryclark@google.com | a461ff0 | 2012-10-11 12:54:23 +0000 | [diff] [blame] | 3163 | testQuadratic46o, |
| 3164 | testQuadratic46s, |
| 3165 | testQuadratic45o, |
| 3166 | testQuadratic45s, |
caryclark@google.com | 6aea33f | 2012-10-09 14:11:58 +0000 | [diff] [blame] | 3167 | testQuadratic44o, |
| 3168 | testQuadratic44s, |
| 3169 | testQuadratic43o, |
| 3170 | testQuadratic43s, |
| 3171 | testQuadratic42o, |
| 3172 | testQuadratic42s, |
| 3173 | testQuadratic41o, |
| 3174 | testQuadratic41s, |
| 3175 | testQuadratic40xb, |
| 3176 | testQuadratic40xa, |
| 3177 | testQuadratic40x, |
caryclark@google.com | d168874 | 2012-09-18 20:08:37 +0000 | [diff] [blame] | 3178 | testQuadratic39, |
| 3179 | testQuadratic39a, |
| 3180 | testQuadratic38, |
| 3181 | testQuadratic37, |
| 3182 | testQuadratic36, |
| 3183 | testQuadratic35, |
| 3184 | testQuadratic34, |
| 3185 | testQuadratic33, |
| 3186 | testQuadratic32, |
| 3187 | testQuadratic31, |
| 3188 | testQuadratic30, |
| 3189 | testQuadratic29, |
caryclark@google.com | 235f56a | 2012-09-14 14:19:30 +0000 | [diff] [blame] | 3190 | testQuadratic28, |
| 3191 | testQuadratic27, |
| 3192 | testQuadratic26, |
| 3193 | testQuadratic25, |
| 3194 | testQuadratic24, |
| 3195 | testQuadratic23, |
| 3196 | testQuadratic22, |
| 3197 | testQuadratic21, |
caryclark@google.com | 32546db | 2012-08-31 20:55:07 +0000 | [diff] [blame] | 3198 | testQuadratic20, |
caryclark@google.com | a7e483d | 2012-08-28 20:44:43 +0000 | [diff] [blame] | 3199 | testQuadratic19, |
caryclark@google.com | 3350c3c | 2012-08-24 15:24:36 +0000 | [diff] [blame] | 3200 | testQuadratic18, |
| 3201 | testQuadratic17x, |
| 3202 | testQuadratic16b, |
| 3203 | testQuadratic16a, |
| 3204 | testQuadratic15, |
caryclark@google.com | c899ad9 | 2012-08-23 15:24:42 +0000 | [diff] [blame] | 3205 | testQuadratic14, |
| 3206 | testQuadratic13b, |
| 3207 | testQuadratic13a, |
| 3208 | testQuadratic12, |
| 3209 | testQuadratic11b, |
| 3210 | testQuadratic11a, |
| 3211 | testQuadratic10b, |
| 3212 | testQuadratic10a, |
| 3213 | testQuadratic9a, |
| 3214 | testQuadratic9, |
| 3215 | testQuadratic8, |
| 3216 | testQuadratic7, |
| 3217 | testQuadratic6, |
| 3218 | testQuadratic5, |
| 3219 | testQuadratic4x, |
caryclark@google.com | 03f9706 | 2012-08-21 13:13:52 +0000 | [diff] [blame] | 3220 | testQuadratic3, |
caryclark@google.com | 24bec79 | 2012-08-20 12:43:57 +0000 | [diff] [blame] | 3221 | testQuadratic2, |
| 3222 | testQuadratic1, |
| 3223 | testLine4x, |
| 3224 | testLine3x, |
| 3225 | testLine2x, |
| 3226 | testLine1x, |
| 3227 | testQuadralateral9, |
| 3228 | testQuadralateral8, |
| 3229 | testQuadralateral7, |
| 3230 | testFauxQuadralateral6d, |
| 3231 | testFauxQuadralateral6c, |
| 3232 | testFauxQuadralateral6b, |
| 3233 | testFauxQuadralateral6a, |
| 3234 | testFauxQuadralateral6, |
| 3235 | testQuadralateral6a, |
caryclark@google.com | 59823f7 | 2012-08-09 18:17:47 +0000 | [diff] [blame] | 3236 | testQuadralateral6, |
| 3237 | testQuadralateral5, |
| 3238 | testNondegenerate4, |
| 3239 | testNondegenerate3, |
| 3240 | testNondegenerate2, |
| 3241 | testNondegenerate1, |
| 3242 | testDegenerate4, |
| 3243 | testDegenerate3, |
| 3244 | testDegenerate2, |
| 3245 | testDegenerate1, |
caryclark@google.com | 2ddff93 | 2012-08-07 21:25:27 +0000 | [diff] [blame] | 3246 | testLine79, |
| 3247 | testLine78, |
| 3248 | testLine77, |
| 3249 | testLine76, |
| 3250 | testLine75, |
caryclark@google.com | 0c803d0 | 2012-08-06 11:15:47 +0000 | [diff] [blame] | 3251 | testLine74, |
caryclark@google.com | 200c211 | 2012-08-03 15:05:04 +0000 | [diff] [blame] | 3252 | testLine73, |
| 3253 | testLine72, |
caryclark@google.com | 534aa5b | 2012-08-02 20:08:21 +0000 | [diff] [blame] | 3254 | testLine71, |
| 3255 | testLine70, |
| 3256 | testLine69, |
| 3257 | testLine68f, |
| 3258 | testLine68e, |
| 3259 | testLine68d, |
| 3260 | testLine68c, |
| 3261 | testLine68b, |
| 3262 | testLine68a, |
| 3263 | testLine67, |
caryclark@google.com | 27c449a | 2012-07-27 18:26:38 +0000 | [diff] [blame] | 3264 | testLine66, |
| 3265 | testLine65, |
| 3266 | testLine64, |
| 3267 | testLine63, |
| 3268 | testLine62, |
| 3269 | testLine61, |
| 3270 | testLine60, |
caryclark@google.com | cc90505 | 2012-07-25 20:59:42 +0000 | [diff] [blame] | 3271 | testLine59, |
| 3272 | testLine58, |
caryclark@google.com | 1806344 | 2012-07-25 12:05:18 +0000 | [diff] [blame] | 3273 | testLine57, |
| 3274 | testLine56, |
caryclark@google.com | e21cb18 | 2012-07-23 21:26:31 +0000 | [diff] [blame] | 3275 | testLine55, |
| 3276 | testLine54, |
| 3277 | testLine53, |
| 3278 | testLine52, |
caryclark@google.com | 4758069 | 2012-07-23 12:14:49 +0000 | [diff] [blame] | 3279 | testLine51, |
| 3280 | testLine50, |
| 3281 | testLine49, |
| 3282 | testLine48, |
| 3283 | testLine47, |
| 3284 | testLine46, |
| 3285 | testLine45, |
| 3286 | testLine44, |
| 3287 | testLine43, |
| 3288 | testLine42, |
| 3289 | testLine41, |
| 3290 | testLine40, |
| 3291 | testLine39, |
| 3292 | testLine38, |
| 3293 | testLine37, |
caryclark@google.com | 0e08a19 | 2012-07-13 21:07:52 +0000 | [diff] [blame] | 3294 | testLine36, |
caryclark@google.com | 210acaf | 2012-07-12 21:05:13 +0000 | [diff] [blame] | 3295 | testLine35, |
| 3296 | testLine34, |
caryclark@google.com | 9764cc6 | 2012-07-12 19:29:45 +0000 | [diff] [blame] | 3297 | testLine33, |
caryclark@google.com | fa4a6e9 | 2012-07-11 17:52:32 +0000 | [diff] [blame] | 3298 | testLine32, |
| 3299 | testLine31, |
caryclark@google.com | 534aa5b | 2012-08-02 20:08:21 +0000 | [diff] [blame] | 3300 | testLine30, |
caryclark@google.com | fa4a6e9 | 2012-07-11 17:52:32 +0000 | [diff] [blame] | 3301 | testLine29, |
| 3302 | testLine28, |
caryclark@google.com | 4758069 | 2012-07-23 12:14:49 +0000 | [diff] [blame] | 3303 | testLine24, |
caryclark@google.com | cc90505 | 2012-07-25 20:59:42 +0000 | [diff] [blame] | 3304 | testLine22, |
caryclark@google.com | 4758069 | 2012-07-23 12:14:49 +0000 | [diff] [blame] | 3305 | testLine19, |
caryclark@google.com | fa4a6e9 | 2012-07-11 17:52:32 +0000 | [diff] [blame] | 3306 | testLine17, |
caryclark@google.com | e21cb18 | 2012-07-23 21:26:31 +0000 | [diff] [blame] | 3307 | testLine13, |
| 3308 | testLine12, |
caryclark@google.com | 4758069 | 2012-07-23 12:14:49 +0000 | [diff] [blame] | 3309 | testLine9, |
caryclark@google.com | cc90505 | 2012-07-25 20:59:42 +0000 | [diff] [blame] | 3310 | testLine7b, |
caryclark@google.com | 4758069 | 2012-07-23 12:14:49 +0000 | [diff] [blame] | 3311 | testLine7, |
caryclark@google.com | 8dcf114 | 2012-07-02 20:27:02 +0000 | [diff] [blame] | 3312 | testSimplifyQuadratic21, |
| 3313 | testSimplifyQuadratic20, |
| 3314 | testSimplifyQuadratic19, |
caryclark@google.com | b45a1b4 | 2012-05-18 20:50:33 +0000 | [diff] [blame] | 3315 | testSimplifyQuadratic18, |
caryclark@google.com | fa0588f | 2012-04-26 21:01:06 +0000 | [diff] [blame] | 3316 | testSimplifyQuadratic17, |
| 3317 | testSimplifyQuadratic16, |
| 3318 | testSimplifyQuadratic15, |
| 3319 | testSimplifyQuadratic14, |
| 3320 | testSimplifyQuadratic13, |
| 3321 | testSimplifyQuadratic12, |
| 3322 | testSimplifyQuadratic11, |
| 3323 | testSimplifyQuadratic10, |
| 3324 | testSimplifyQuadratic9, |
| 3325 | testSimplifyQuadratic8, |
| 3326 | testSimplifyQuadratic7, |
| 3327 | testSimplifyQuadratic6, |
| 3328 | testSimplifyQuadratic5, |
| 3329 | testSimplifyQuadratic4, |
| 3330 | testSimplifyQuadratic3, |
| 3331 | testSimplifyQuadratic2, |
| 3332 | testSimplifyQuadratic1, |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3333 | ]; |
| 3334 | |
| 3335 | var scale, columns, rows, xStart, yStart; |
| 3336 | |
| 3337 | var ticks = 0.1; |
| 3338 | var at_x = 13 + 0.5; |
| 3339 | var at_y = 13 + 0.5; |
caryclark@google.com | 2ddff93 | 2012-08-07 21:25:27 +0000 | [diff] [blame] | 3340 | var decimal_places = 0; // make this 3 to show more precision |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3341 | |
| 3342 | var tests = []; |
caryclark@google.com | 0e08a19 | 2012-07-13 21:07:52 +0000 | [diff] [blame] | 3343 | var testTitles = []; |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3344 | var testIndex = 0; |
caryclark@google.com | 24bec79 | 2012-08-20 12:43:57 +0000 | [diff] [blame] | 3345 | var hasXor = false; |
caryclark@google.com | 6aea33f | 2012-10-09 14:11:58 +0000 | [diff] [blame] | 3346 | var draw_labels = true; |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3347 | |
| 3348 | var ctx; |
| 3349 | |
caryclark@google.com | 0e08a19 | 2012-07-13 21:07:52 +0000 | [diff] [blame] | 3350 | function parse(test, title) { |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3351 | var contours = []; |
| 3352 | var contourStrs = test.split("path.close();"); |
caryclark@google.com | d88e089 | 2012-03-27 13:23:51 +0000 | [diff] [blame] | 3353 | var pattern = /-?\d+\.*\d*/g; |
caryclark@google.com | 24bec79 | 2012-08-20 12:43:57 +0000 | [diff] [blame] | 3354 | hasXor = test.split("kEvenOdd_FillType").length > 1; |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3355 | for (var c in contourStrs) { |
caryclark@google.com | fb17342 | 2012-04-10 18:28:55 +0000 | [diff] [blame] | 3356 | var contour = contourStrs[c]; |
| 3357 | var verbStrs = contour.split("path"); |
| 3358 | var verbs = []; |
| 3359 | for (var v in verbStrs) { |
| 3360 | var verbStr = verbStrs[v]; |
| 3361 | var points = verbStr.match(pattern); |
| 3362 | var pts = []; |
| 3363 | for (var wd in points) { |
| 3364 | var num = parseFloat(points[wd]); |
| 3365 | if (isNaN(num)) continue; |
| 3366 | pts.push(num); |
| 3367 | } |
| 3368 | if (pts.length > 0) |
| 3369 | verbs.push(pts); |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3370 | } |
caryclark@google.com | fa0588f | 2012-04-26 21:01:06 +0000 | [diff] [blame] | 3371 | if (verbs.length > 0) { |
| 3372 | var lastIndex = verbs.length - 1; |
| 3373 | var lastVerb = verbs[lastIndex]; |
| 3374 | var lastLen = lastVerb.length; |
| 3375 | if (verbs[0][0] != lastVerb[lastLen - 2] && verbs[0][1] != lastVerb[lastLen - 1]) { |
| 3376 | var lastPts = []; |
| 3377 | lastPts.push(verbs[0][0]); |
| 3378 | lastPts.push(verbs[0][1]); |
| 3379 | verbs.push(lastPts); |
| 3380 | } |
caryclark@google.com | fb17342 | 2012-04-10 18:28:55 +0000 | [diff] [blame] | 3381 | contours.push(verbs); |
caryclark@google.com | fa0588f | 2012-04-26 21:01:06 +0000 | [diff] [blame] | 3382 | } |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3383 | } |
caryclark@google.com | 0e08a19 | 2012-07-13 21:07:52 +0000 | [diff] [blame] | 3384 | if (contours.length > 0) { |
caryclark@google.com | fb17342 | 2012-04-10 18:28:55 +0000 | [diff] [blame] | 3385 | tests.push(contours); |
caryclark@google.com | 0e08a19 | 2012-07-13 21:07:52 +0000 | [diff] [blame] | 3386 | testTitles.push(title); |
| 3387 | } |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3388 | } |
| 3389 | |
caryclark@google.com | 0e08a19 | 2012-07-13 21:07:52 +0000 | [diff] [blame] | 3390 | function parseRect(test, title) { |
caryclark@google.com | fa4a6e9 | 2012-07-11 17:52:32 +0000 | [diff] [blame] | 3391 | var contours = []; |
| 3392 | var rectStrs = test.split("path.addRect"); |
| 3393 | var pattern = /-?\d+\.*\d*/g; |
caryclark@google.com | 24bec79 | 2012-08-20 12:43:57 +0000 | [diff] [blame] | 3394 | hasXor = test.split("kEvenOdd_FillType").length > 1; |
caryclark@google.com | fa4a6e9 | 2012-07-11 17:52:32 +0000 | [diff] [blame] | 3395 | for (var r in rectStrs) { |
| 3396 | var rect = rectStrs[r]; |
| 3397 | var sideStrs = rect.match(pattern); |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 3398 | var ccw = rect.split("kCCW_Direction").length > 1; |
caryclark@google.com | fa4a6e9 | 2012-07-11 17:52:32 +0000 | [diff] [blame] | 3399 | var sides = []; |
| 3400 | for (var wd in sideStrs) { |
| 3401 | var num = parseFloat(sideStrs[wd]); |
| 3402 | if (isNaN(num)) continue; |
| 3403 | sides.push(num); |
| 3404 | } |
| 3405 | if (sides.length == 0) |
| 3406 | continue; |
| 3407 | var verbs = []; |
| 3408 | var topLeft = []; |
| 3409 | topLeft.push(sides[0]); topLeft.push(sides[1]); |
| 3410 | var topRight = []; |
| 3411 | topRight.push(sides[2]); topRight.push(sides[1]); |
| 3412 | var botLeft = []; |
| 3413 | botLeft.push(sides[0]); botLeft.push(sides[3]); |
| 3414 | var botRight = []; |
| 3415 | botRight.push(sides[2]); botRight.push(sides[3]); |
| 3416 | verbs.push(topLeft); |
caryclark@google.com | 7fce0de | 2012-11-29 14:31:50 +0000 | [diff] [blame] | 3417 | if (!ccw) { |
caryclark@google.com | fa4a6e9 | 2012-07-11 17:52:32 +0000 | [diff] [blame] | 3418 | verbs.push(topRight); |
| 3419 | verbs.push(botRight); |
| 3420 | verbs.push(botLeft); |
| 3421 | } else { |
| 3422 | verbs.push(botLeft); |
| 3423 | verbs.push(botRight); |
| 3424 | verbs.push(topRight); |
| 3425 | } |
| 3426 | verbs.push(topLeft); |
| 3427 | contours.push(verbs); |
| 3428 | } |
caryclark@google.com | 0e08a19 | 2012-07-13 21:07:52 +0000 | [diff] [blame] | 3429 | if (contours.length > 0) { |
caryclark@google.com | fa4a6e9 | 2012-07-11 17:52:32 +0000 | [diff] [blame] | 3430 | tests.push(contours); |
caryclark@google.com | 0e08a19 | 2012-07-13 21:07:52 +0000 | [diff] [blame] | 3431 | testTitles.push(title); |
| 3432 | } |
caryclark@google.com | fa4a6e9 | 2012-07-11 17:52:32 +0000 | [diff] [blame] | 3433 | } |
| 3434 | |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3435 | function init(test) { |
| 3436 | var canvas = document.getElementById('canvas'); |
| 3437 | if (!canvas.getContext) return; |
caryclark@google.com | 534aa5b | 2012-08-02 20:08:21 +0000 | [diff] [blame] | 3438 | canvas.width = window.innerWidth - at_x; |
| 3439 | canvas.height = window.innerHeight - at_y; |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3440 | ctx = canvas.getContext('2d'); |
| 3441 | var xmin = Infinity; |
| 3442 | var xmax = -Infinity; |
| 3443 | var ymin = Infinity; |
| 3444 | var ymax = -Infinity; |
caryclark@google.com | fb17342 | 2012-04-10 18:28:55 +0000 | [diff] [blame] | 3445 | for (var contours in test) { |
| 3446 | var contour = test[contours]; |
| 3447 | for (var verbs in contour) { |
| 3448 | var verb = contour[verbs]; |
| 3449 | var last = verb.length; |
caryclark@google.com | b45a1b4 | 2012-05-18 20:50:33 +0000 | [diff] [blame] | 3450 | for (var idx = 0; idx < last; idx += 2) { |
| 3451 | xmin = Math.min(xmin, verb[idx]); |
| 3452 | xmax = Math.max(xmax, verb[idx]); |
| 3453 | ymin = Math.min(ymin, verb[idx + 1]); |
| 3454 | ymax = Math.max(ymax, verb[idx + 1]); |
| 3455 | } |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3456 | } |
| 3457 | } |
| 3458 | var subscale = 1; |
| 3459 | while ((xmax - xmin) * subscale < 0.1 && (ymax - ymin) * subscale < 0.1) { |
| 3460 | subscale *= 10; |
| 3461 | } |
| 3462 | columns = Math.ceil(xmax) - Math.floor(xmin) + 1; |
| 3463 | rows = Math.ceil(ymax) - Math.floor(ymin) + 1; |
| 3464 | xStart = Math.floor(xmin); |
| 3465 | yStart = Math.floor(ymin); |
| 3466 | var hscale = ctx.canvas.width / columns / ticks; |
| 3467 | var vscale = ctx.canvas.height / rows / ticks; |
| 3468 | scale = Math.floor(Math.min(hscale, vscale)) * subscale; |
| 3469 | } |
| 3470 | |
| 3471 | function drawPoint(px, py, xoffset, yoffset, unit) { |
caryclark@google.com | 2ddff93 | 2012-08-07 21:25:27 +0000 | [diff] [blame] | 3472 | var label = px.toFixed(decimal_places) + ", " + py.toFixed(decimal_places); |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3473 | var _px = px * unit + xoffset; |
| 3474 | var _py = py * unit + yoffset; |
| 3475 | ctx.beginPath(); |
| 3476 | ctx.arc(_px, _py, 3, 0, Math.PI*2, true); |
| 3477 | ctx.closePath(); |
| 3478 | ctx.fill(); |
| 3479 | ctx.fillText(label, _px + 5, _py); |
| 3480 | } |
| 3481 | |
caryclark@google.com | 0e08a19 | 2012-07-13 21:07:52 +0000 | [diff] [blame] | 3482 | function draw(test, title, _at_x, _at_y, scale) { |
| 3483 | ctx.fillStyle = "rgba(0,0,0, 0.1)"; |
| 3484 | ctx.font = "normal 50px Arial"; |
| 3485 | ctx.fillText(title, 50, 50); |
| 3486 | ctx.font = "normal 10px Arial"; |
| 3487 | |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3488 | var unit = scale * ticks; |
| 3489 | ctx.lineWidth = 1; |
| 3490 | var i; |
| 3491 | for (i = 0; i <= rows * ticks; ++i) { |
| 3492 | ctx.strokeStyle = (i % ticks) != 0 ? "rgb(160,160,160)" : "black"; |
| 3493 | ctx.beginPath(); |
| 3494 | ctx.moveTo(_at_x + 0, _at_y + i * scale); |
| 3495 | ctx.lineTo(_at_x + unit * columns, _at_y + i * scale); |
| 3496 | ctx.stroke(); |
| 3497 | } |
| 3498 | for (i = 0; i <= columns * ticks; ++i) { |
| 3499 | ctx.strokeStyle = (i % ticks) != 0 ? "rgb(160,160,160)" : "black"; |
| 3500 | ctx.beginPath(); |
| 3501 | ctx.moveTo(_at_x + i * scale, _at_y + 0); |
| 3502 | ctx.lineTo(_at_x + i * scale, _at_y + unit * rows); |
| 3503 | ctx.stroke(); |
| 3504 | } |
| 3505 | |
| 3506 | var xoffset = xStart * -unit + _at_x; |
| 3507 | var yoffset = yStart * -unit + _at_y; |
| 3508 | |
| 3509 | ctx.fillStyle = "rgb(40,80,60)" |
| 3510 | for (i = 0; i <= columns; i += (1 / ticks)) |
| 3511 | { |
| 3512 | num = (xoffset - _at_x) / -unit + i; |
| 3513 | ctx.fillText(num.toFixed(0), i * unit + _at_y - 5, 10); |
| 3514 | } |
| 3515 | for (i = 0; i <= rows; i += (1 / ticks)) |
| 3516 | { |
| 3517 | num = (yoffset - _at_x) / -unit + i; |
| 3518 | ctx.fillText(num.toFixed(0), 0, i * unit + _at_y + 0); |
| 3519 | } |
caryclark@google.com | 32546db | 2012-08-31 20:55:07 +0000 | [diff] [blame] | 3520 | |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3521 | ctx.strokeStyle = "red"; |
caryclark@google.com | fb17342 | 2012-04-10 18:28:55 +0000 | [diff] [blame] | 3522 | var contours, verbs, pts; |
caryclark@google.com | 8dcf114 | 2012-07-02 20:27:02 +0000 | [diff] [blame] | 3523 | ctx.beginPath(); |
caryclark@google.com | fb17342 | 2012-04-10 18:28:55 +0000 | [diff] [blame] | 3524 | for (contours in test) { |
| 3525 | var contour = test[contours]; |
| 3526 | if (contours == 2) ctx.strokeStyle = "blue"; |
caryclark@google.com | fb17342 | 2012-04-10 18:28:55 +0000 | [diff] [blame] | 3527 | var first = true; |
| 3528 | for (verbs in contour) { |
| 3529 | var verb = contour[verbs]; |
| 3530 | switch (verb.length) { |
| 3531 | case 2: |
| 3532 | if (first) { |
| 3533 | ctx.moveTo(xoffset + verb[0] * unit, yoffset + verb[1] * unit); |
| 3534 | first = false; |
| 3535 | } else |
| 3536 | ctx.lineTo(xoffset + verb[0] * unit, yoffset + verb[1] * unit); |
| 3537 | break; |
| 3538 | case 4: |
| 3539 | ctx.quadraticCurveTo(xoffset + verb[0] * unit, yoffset + verb[1] * unit, |
| 3540 | xoffset + verb[2] * unit, yoffset + verb[3] * unit); |
| 3541 | break; |
| 3542 | case 6: |
| 3543 | ctx.bezierCurveTo(xoffset + verb[0] * unit, yoffset + verb[1] * unit, |
| 3544 | xoffset + verb[2] * unit, yoffset + verb[3] * unit, |
| 3545 | xoffset + verb[4] * unit, yoffset + verb[5] * unit); |
| 3546 | break; |
| 3547 | } |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3548 | } |
caryclark@google.com | 8dcf114 | 2012-07-02 20:27:02 +0000 | [diff] [blame] | 3549 | ctx.closePath(); |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3550 | } |
caryclark@google.com | 24bec79 | 2012-08-20 12:43:57 +0000 | [diff] [blame] | 3551 | if (hasXor) { |
| 3552 | ctx.fillType=xor; // how is this done? |
| 3553 | } |
caryclark@google.com | 8dcf114 | 2012-07-02 20:27:02 +0000 | [diff] [blame] | 3554 | ctx.stroke(); |
| 3555 | ctx.fillStyle="rgba(192,192,255, 0.3)"; |
| 3556 | ctx.fill(); |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3557 | |
caryclark@google.com | 6aea33f | 2012-10-09 14:11:58 +0000 | [diff] [blame] | 3558 | if (!draw_labels) { |
| 3559 | return; |
| 3560 | } |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3561 | ctx.fillStyle="blue"; |
caryclark@google.com | fb17342 | 2012-04-10 18:28:55 +0000 | [diff] [blame] | 3562 | for (contours in test) { |
| 3563 | var contour = test[contours]; |
| 3564 | for (verbs in contour) { |
| 3565 | var verb = contour[verbs]; |
| 3566 | for (i = 0; i < verb.length; i += 2) { |
| 3567 | x = verb[i]; |
| 3568 | y = verb[i + 1]; |
| 3569 | drawPoint(x, y, xoffset, yoffset, unit); |
| 3570 | } |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3571 | } |
| 3572 | } |
| 3573 | } |
| 3574 | |
| 3575 | var mouseX = Infinity, mouseY; |
| 3576 | |
| 3577 | function calcXY() { |
| 3578 | var e = window.event; |
| 3579 | var tgt = e.target || e.srcElement; |
| 3580 | var left = tgt.offsetLeft; |
| 3581 | var top = tgt.offsetTop; |
| 3582 | var unit = scale * ticks; |
| 3583 | mouseX = (e.clientX - left - Math.ceil(at_x) + 1) / unit + xStart; |
| 3584 | mouseY = (e.clientY - top - Math.ceil(at_y)) / unit + yStart; |
| 3585 | } |
| 3586 | |
| 3587 | function handleMouseOver() { |
| 3588 | calcXY(); |
| 3589 | var num = mouseX.toFixed(3) + ", " + mouseY.toFixed(3); |
| 3590 | ctx.beginPath(); |
| 3591 | ctx.rect(300,100,200,10); |
| 3592 | ctx.fillStyle="white"; |
| 3593 | ctx.fill(); |
| 3594 | ctx.fillStyle="black"; |
| 3595 | ctx.fillText(num, 300, 108); |
| 3596 | } |
| 3597 | |
| 3598 | function handleMouseClick() { |
| 3599 | calcXY(); |
| 3600 | // drawInset(); |
| 3601 | } |
| 3602 | |
| 3603 | function drawTop() { |
| 3604 | init(tests[testIndex]); |
| 3605 | redraw(); |
| 3606 | } |
| 3607 | |
| 3608 | function redraw() { |
| 3609 | ctx.beginPath(); |
| 3610 | ctx.rect(0, 0, ctx.canvas.width, ctx.canvas.height); |
| 3611 | ctx.fillStyle="white"; |
| 3612 | ctx.fill(); |
caryclark@google.com | 0e08a19 | 2012-07-13 21:07:52 +0000 | [diff] [blame] | 3613 | draw(tests[testIndex], testTitles[testIndex], at_x, at_y, scale); |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3614 | // if (insetScale != scale && mouseX != Infinity) |
| 3615 | // drawInset(); |
| 3616 | } |
| 3617 | |
| 3618 | function doKeyPress(evt) { |
| 3619 | var char = String.fromCharCode(evt.charCode); |
| 3620 | switch (char) { |
| 3621 | case 'N': |
caryclark@google.com | 534aa5b | 2012-08-02 20:08:21 +0000 | [diff] [blame] | 3622 | testIndex += 9; |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3623 | case 'n': |
| 3624 | if (++testIndex >= tests.length) |
| 3625 | testIndex = 0; |
caryclark@google.com | fa0588f | 2012-04-26 21:01:06 +0000 | [diff] [blame] | 3626 | mouseX = Infinity; |
| 3627 | drawTop(); |
| 3628 | break; |
| 3629 | case 'P': |
caryclark@google.com | 534aa5b | 2012-08-02 20:08:21 +0000 | [diff] [blame] | 3630 | testIndex -= 9; |
caryclark@google.com | fa0588f | 2012-04-26 21:01:06 +0000 | [diff] [blame] | 3631 | case 'p': |
| 3632 | if (--testIndex < 0) |
| 3633 | testIndex = tests.length - 1; |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3634 | mouseX = Infinity; |
| 3635 | drawTop(); |
| 3636 | break; |
| 3637 | case 'T': |
| 3638 | case 't': |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3639 | break; |
| 3640 | case '-': |
caryclark@google.com | 534aa5b | 2012-08-02 20:08:21 +0000 | [diff] [blame] | 3641 | drawTop(); |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3642 | break; |
| 3643 | case '=': |
| 3644 | case '+': |
caryclark@google.com | 534aa5b | 2012-08-02 20:08:21 +0000 | [diff] [blame] | 3645 | drawTop(); |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3646 | break; |
caryclark@google.com | 6aea33f | 2012-10-09 14:11:58 +0000 | [diff] [blame] | 3647 | case 'x': |
| 3648 | draw_labels ^= true; |
| 3649 | drawTop(); |
| 3650 | break; |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3651 | } |
| 3652 | } |
| 3653 | |
| 3654 | function start() { |
| 3655 | for (i = 0; i < testDivs.length; ++i) { |
caryclark@google.com | 0e08a19 | 2012-07-13 21:07:52 +0000 | [diff] [blame] | 3656 | var title = testDivs[i].id.toString(); |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3657 | var str = testDivs[i].firstChild.data; |
caryclark@google.com | fa4a6e9 | 2012-07-11 17:52:32 +0000 | [diff] [blame] | 3658 | if (str.split("addRect").length > 1) { |
caryclark@google.com | 0e08a19 | 2012-07-13 21:07:52 +0000 | [diff] [blame] | 3659 | parseRect(str, title); |
caryclark@google.com | fa4a6e9 | 2012-07-11 17:52:32 +0000 | [diff] [blame] | 3660 | } else { |
caryclark@google.com | 0e08a19 | 2012-07-13 21:07:52 +0000 | [diff] [blame] | 3661 | parse(str, title); |
caryclark@google.com | fa4a6e9 | 2012-07-11 17:52:32 +0000 | [diff] [blame] | 3662 | } |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3663 | } |
| 3664 | drawTop(); |
| 3665 | window.addEventListener('keypress', doKeyPress, true); |
caryclark@google.com | 534aa5b | 2012-08-02 20:08:21 +0000 | [diff] [blame] | 3666 | window.onresize = function() { |
| 3667 | drawTop(); |
| 3668 | } |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3669 | } |
| 3670 | |
| 3671 | </script> |
| 3672 | </head> |
| 3673 | |
| 3674 | <body onLoad="start();"> |
caryclark@google.com | fa4a6e9 | 2012-07-11 17:52:32 +0000 | [diff] [blame] | 3675 | <canvas id="canvas" width="750" height="500" |
caryclark@google.com | 752b60e | 2012-03-22 21:11:17 +0000 | [diff] [blame] | 3676 | onmousemove="handleMouseOver()" |
| 3677 | onclick="handleMouseClick()" |
| 3678 | ></canvas > |
| 3679 | </body> |
| 3680 | </html> |