Lines Matching refs:ts
283 SkIntersections ts; in AddIntersectTs() local
295 pts = ts.lineHorizontal(wn.pts(), wt.left(), in AddIntersectTs()
297 debugShowLineIntersection(pts, wn, wt, ts); in AddIntersectTs()
300 pts = ts.quadHorizontal(wn.pts(), wt.left(), in AddIntersectTs()
302 debugShowQuadLineIntersection(pts, wn, wt, ts); in AddIntersectTs()
305 pts = ts.conicHorizontal(wn.pts(), wn.weight(), wt.left(), in AddIntersectTs()
307 debugShowConicLineIntersection(pts, wn, wt, ts); in AddIntersectTs()
310 pts = ts.cubicHorizontal(wn.pts(), wt.left(), in AddIntersectTs()
312 debugShowCubicLineIntersection(pts, wn, wt, ts); in AddIntersectTs()
324 pts = ts.lineVertical(wn.pts(), wt.top(), in AddIntersectTs()
326 debugShowLineIntersection(pts, wn, wt, ts); in AddIntersectTs()
330 pts = ts.quadVertical(wn.pts(), wt.top(), in AddIntersectTs()
332 debugShowQuadLineIntersection(pts, wn, wt, ts); in AddIntersectTs()
336 pts = ts.conicVertical(wn.pts(), wn.weight(), wt.top(), in AddIntersectTs()
338 debugShowConicLineIntersection(pts, wn, wt, ts); in AddIntersectTs()
342 pts = ts.cubicVertical(wn.pts(), wt.top(), in AddIntersectTs()
344 debugShowCubicLineIntersection(pts, wn, wt, ts); in AddIntersectTs()
354 pts = ts.lineHorizontal(wt.pts(), wn.left(), in AddIntersectTs()
356 debugShowLineIntersection(pts, wt, wn, ts); in AddIntersectTs()
359 pts = ts.lineVertical(wt.pts(), wn.top(), in AddIntersectTs()
361 debugShowLineIntersection(pts, wt, wn, ts); in AddIntersectTs()
364 pts = ts.lineLine(wt.pts(), wn.pts()); in AddIntersectTs()
365 debugShowLineIntersection(pts, wt, wn, ts); in AddIntersectTs()
369 pts = ts.quadLine(wn.pts(), wt.pts()); in AddIntersectTs()
370 debugShowQuadLineIntersection(pts, wn, wt, ts); in AddIntersectTs()
374 pts = ts.conicLine(wn.pts(), wn.weight(), wt.pts()); in AddIntersectTs()
375 debugShowConicLineIntersection(pts, wn, wt, ts); in AddIntersectTs()
379 pts = ts.cubicLine(wn.pts(), wt.pts()); in AddIntersectTs()
380 debugShowCubicLineIntersection(pts, wn, wt, ts); in AddIntersectTs()
389 pts = ts.quadHorizontal(wt.pts(), wn.left(), in AddIntersectTs()
391 debugShowQuadLineIntersection(pts, wt, wn, ts); in AddIntersectTs()
394 pts = ts.quadVertical(wt.pts(), wn.top(), in AddIntersectTs()
396 debugShowQuadLineIntersection(pts, wt, wn, ts); in AddIntersectTs()
399 pts = ts.quadLine(wt.pts(), wn.pts()); in AddIntersectTs()
400 debugShowQuadLineIntersection(pts, wt, wn, ts); in AddIntersectTs()
403 pts = ts.intersect(quad1.set(wt.pts()), quad2.set(wn.pts())); in AddIntersectTs()
404 debugShowQuadIntersection(pts, wt, wn, ts); in AddIntersectTs()
409 pts = ts.intersect(conic2.set(wn.pts(), wn.weight()), in AddIntersectTs()
411 debugShowConicQuadIntersection(pts, wn, wt, ts); in AddIntersectTs()
416 pts = ts.intersect(cubic2.set(wn.pts()), quad1.set(wt.pts())); in AddIntersectTs()
417 debugShowCubicQuadIntersection(pts, wn, wt, ts); in AddIntersectTs()
427 pts = ts.conicHorizontal(wt.pts(), wt.weight(), wn.left(), in AddIntersectTs()
429 debugShowConicLineIntersection(pts, wt, wn, ts); in AddIntersectTs()
432 pts = ts.conicVertical(wt.pts(), wt.weight(), wn.top(), in AddIntersectTs()
434 debugShowConicLineIntersection(pts, wt, wn, ts); in AddIntersectTs()
437 pts = ts.conicLine(wt.pts(), wt.weight(), wn.pts()); in AddIntersectTs()
438 debugShowConicLineIntersection(pts, wt, wn, ts); in AddIntersectTs()
441 pts = ts.intersect(conic1.set(wt.pts(), wt.weight()), in AddIntersectTs()
443 debugShowConicQuadIntersection(pts, wt, wn, ts); in AddIntersectTs()
447 pts = ts.intersect(conic1.set(wt.pts(), wt.weight()), in AddIntersectTs()
449 debugShowConicIntersection(pts, wt, wn, ts); in AddIntersectTs()
454 pts = ts.intersect(cubic2.set(wn.pts()), in AddIntersectTs()
456 debugShowCubicConicIntersection(pts, wn, wt, ts); in AddIntersectTs()
464 pts = ts.cubicHorizontal(wt.pts(), wn.left(), in AddIntersectTs()
466 debugShowCubicLineIntersection(pts, wt, wn, ts); in AddIntersectTs()
469 pts = ts.cubicVertical(wt.pts(), wn.top(), in AddIntersectTs()
471 debugShowCubicLineIntersection(pts, wt, wn, ts); in AddIntersectTs()
474 pts = ts.cubicLine(wt.pts(), wn.pts()); in AddIntersectTs()
475 debugShowCubicLineIntersection(pts, wt, wn, ts); in AddIntersectTs()
478 pts = ts.intersect(cubic1.set(wt.pts()), quad2.set(wn.pts())); in AddIntersectTs()
479 debugShowCubicQuadIntersection(pts, wt, wn, ts); in AddIntersectTs()
483 pts = ts.intersect(cubic1.set(wt.pts()), in AddIntersectTs()
485 debugShowCubicConicIntersection(pts, wt, wn, ts); in AddIntersectTs()
489 pts = ts.intersect(cubic1.set(wt.pts()), cubic2.set(wn.pts())); in AddIntersectTs()
490 debugShowCubicIntersection(pts, wt, wn, ts); in AddIntersectTs()
501 test->globalState()->debugAddLoopCount(&ts, wt, wn); in AddIntersectTs()
506 SkASSERT(ts[0][pt] >= 0 && ts[0][pt] <= 1); in AddIntersectTs()
507 SkASSERT(ts[1][pt] >= 0 && ts[1][pt] <= 1); in AddIntersectTs()
509 SkOpPtT* testTAt = wt.segment()->addT(ts[swap][pt], SkOpSegment::kAllowAlias, in AddIntersectTs()
512 SkOpPtT* nextTAt = wn.segment()->addT(ts[!swap][pt], SkOpSegment::kAllowAlias, in AddIntersectTs()
521 if (!ts.isCoincident(pt)) { in AddIntersectTs()