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