• Home
  • Raw
  • Download

Lines Matching refs:wn

14                                       const SkIntersectionHelper& wn, const SkIntersections& i) {  in debugShowLineIntersection()  argument
18 __FUNCTION__, LINE_DEBUG_DATA(wt.pts()), LINE_DEBUG_DATA(wn.pts())); in debugShowLineIntersection()
26 SkDebugf(" wnTs[0]=%g " LINE_DEBUG_STR, i[1][0], LINE_DEBUG_DATA(wn.pts())); in debugShowLineIntersection()
34 const SkIntersectionHelper& wn, in debugShowQuadLineIntersection() argument
39 __FUNCTION__, QUAD_DEBUG_DATA(wt.pts()), LINE_DEBUG_DATA(wn.pts())); in debugShowQuadLineIntersection()
47 SkDebugf(" wnTs[0]=%g " LINE_DEBUG_STR, i[1][0], LINE_DEBUG_DATA(wn.pts())); in debugShowQuadLineIntersection()
55 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowQuadIntersection() argument
59 __FUNCTION__, QUAD_DEBUG_DATA(wt.pts()), QUAD_DEBUG_DATA(wn.pts())); in debugShowQuadIntersection()
67 SkDebugf(" wnTs[0]=%g " QUAD_DEBUG_STR, i[1][0], QUAD_DEBUG_DATA(wn.pts())); in debugShowQuadIntersection()
75 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowConicLineIntersection() argument
79 __FUNCTION__, CONIC_DEBUG_DATA(wt.pts(), wt.weight()), LINE_DEBUG_DATA(wn.pts())); in debugShowConicLineIntersection()
87 SkDebugf(" wnTs[0]=%g " LINE_DEBUG_STR, i[1][0], LINE_DEBUG_DATA(wn.pts())); in debugShowConicLineIntersection()
95 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowConicQuadIntersection() argument
99 __FUNCTION__, CONIC_DEBUG_DATA(wt.pts(), wt.weight()), QUAD_DEBUG_DATA(wn.pts())); in debugShowConicQuadIntersection()
107 SkDebugf(" wnTs[0]=%g " QUAD_DEBUG_STR, i[1][0], QUAD_DEBUG_DATA(wn.pts())); in debugShowConicQuadIntersection()
115 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowConicIntersection() argument
120 CONIC_DEBUG_DATA(wn.pts(), wn.weight())); in debugShowConicIntersection()
128 SkDebugf(" wnTs[0]=%g " CONIC_DEBUG_STR, i[1][0], CONIC_DEBUG_DATA(wn.pts(), wn.weight())); in debugShowConicIntersection()
136 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowCubicLineIntersection() argument
140 __FUNCTION__, CUBIC_DEBUG_DATA(wt.pts()), LINE_DEBUG_DATA(wn.pts())); in debugShowCubicLineIntersection()
148 SkDebugf(" wnTs[0]=%g " LINE_DEBUG_STR, i[1][0], LINE_DEBUG_DATA(wn.pts())); in debugShowCubicLineIntersection()
156 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowCubicQuadIntersection() argument
160 __FUNCTION__, CUBIC_DEBUG_DATA(wt.pts()), QUAD_DEBUG_DATA(wn.pts())); in debugShowCubicQuadIntersection()
168 SkDebugf(" wnTs[0]=%g " QUAD_DEBUG_STR, i[1][0], QUAD_DEBUG_DATA(wn.pts())); in debugShowCubicQuadIntersection()
176 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowCubicConicIntersection() argument
180 __FUNCTION__, CUBIC_DEBUG_DATA(wt.pts()), CONIC_DEBUG_DATA(wn.pts(), wn.weight())); in debugShowCubicConicIntersection()
188 SkDebugf(" wnTs[0]=%g " CONIC_DEBUG_STR, i[1][0], CONIC_DEBUG_DATA(wn.pts(), wn.weight())); in debugShowCubicConicIntersection()
196 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowCubicIntersection() argument
200 __FUNCTION__, CUBIC_DEBUG_DATA(wt.pts()), CUBIC_DEBUG_DATA(wn.pts())); in debugShowCubicIntersection()
208 SkDebugf(" wnTs[0]=%g " CUBIC_DEBUG_STR, i[1][0], CUBIC_DEBUG_DATA(wn.pts())); in debugShowCubicIntersection()
270 SkIntersectionHelper wn; in AddIntersectTs() local
271 wn.init(next); in AddIntersectTs()
274 if (test == next && !wn.startAfter(wt)) { in AddIntersectTs()
278 if (!SkPathOpsBounds::Intersects(wt.bounds(), wn.bounds())) { in AddIntersectTs()
290 switch (wn.segmentType()) { in AddIntersectTs()
294 pts = ts.lineHorizontal(wn.pts(), wt.left(), in AddIntersectTs()
296 debugShowLineIntersection(pts, wn, wt, ts); in AddIntersectTs()
299 pts = ts.quadHorizontal(wn.pts(), wt.left(), in AddIntersectTs()
301 debugShowQuadLineIntersection(pts, wn, wt, ts); in AddIntersectTs()
304 pts = ts.conicHorizontal(wn.pts(), wn.weight(), wt.left(), in AddIntersectTs()
306 debugShowConicLineIntersection(pts, wn, wt, ts); in AddIntersectTs()
309 pts = ts.cubicHorizontal(wn.pts(), wt.left(), in AddIntersectTs()
311 debugShowCubicLineIntersection(pts, wn, wt, ts); in AddIntersectTs()
319 switch (wn.segmentType()) { in AddIntersectTs()
323 pts = ts.lineVertical(wn.pts(), wt.top(), in AddIntersectTs()
325 debugShowLineIntersection(pts, wn, wt, ts); in AddIntersectTs()
329 pts = ts.quadVertical(wn.pts(), wt.top(), in AddIntersectTs()
331 debugShowQuadLineIntersection(pts, wn, wt, ts); in AddIntersectTs()
335 pts = ts.conicVertical(wn.pts(), wn.weight(), wt.top(), in AddIntersectTs()
337 debugShowConicLineIntersection(pts, wn, wt, ts); in AddIntersectTs()
341 pts = ts.cubicVertical(wn.pts(), wt.top(), in AddIntersectTs()
343 debugShowCubicLineIntersection(pts, wn, wt, ts); in AddIntersectTs()
351 switch (wn.segmentType()) { in AddIntersectTs()
353 pts = ts.lineHorizontal(wt.pts(), wn.left(), in AddIntersectTs()
354 wn.right(), wn.y(), wn.xFlipped()); in AddIntersectTs()
355 debugShowLineIntersection(pts, wt, wn, ts); in AddIntersectTs()
358 pts = ts.lineVertical(wt.pts(), wn.top(), in AddIntersectTs()
359 wn.bottom(), wn.x(), wn.yFlipped()); in AddIntersectTs()
360 debugShowLineIntersection(pts, wt, wn, ts); in AddIntersectTs()
363 pts = ts.lineLine(wt.pts(), wn.pts()); in AddIntersectTs()
364 debugShowLineIntersection(pts, wt, wn, ts); in AddIntersectTs()
368 pts = ts.quadLine(wn.pts(), wt.pts()); in AddIntersectTs()
369 debugShowQuadLineIntersection(pts, wn, wt, ts); in AddIntersectTs()
373 pts = ts.conicLine(wn.pts(), wn.weight(), wt.pts()); in AddIntersectTs()
374 debugShowConicLineIntersection(pts, wn, wt, ts); in AddIntersectTs()
378 pts = ts.cubicLine(wn.pts(), wt.pts()); in AddIntersectTs()
379 debugShowCubicLineIntersection(pts, wn, wt, ts); in AddIntersectTs()
386 switch (wn.segmentType()) { in AddIntersectTs()
388 pts = ts.quadHorizontal(wt.pts(), wn.left(), in AddIntersectTs()
389 wn.right(), wn.y(), wn.xFlipped()); in AddIntersectTs()
390 debugShowQuadLineIntersection(pts, wt, wn, ts); in AddIntersectTs()
393 pts = ts.quadVertical(wt.pts(), wn.top(), in AddIntersectTs()
394 wn.bottom(), wn.x(), wn.yFlipped()); in AddIntersectTs()
395 debugShowQuadLineIntersection(pts, wt, wn, ts); in AddIntersectTs()
398 pts = ts.quadLine(wt.pts(), wn.pts()); in AddIntersectTs()
399 debugShowQuadLineIntersection(pts, wt, wn, ts); in AddIntersectTs()
402 pts = ts.intersect(quad1.set(wt.pts()), quad2.set(wn.pts())); in AddIntersectTs()
403 debugShowQuadIntersection(pts, wt, wn, ts); in AddIntersectTs()
408 pts = ts.intersect(conic2.set(wn.pts(), wn.weight()), in AddIntersectTs()
410 debugShowConicQuadIntersection(pts, wn, wt, ts); in AddIntersectTs()
415 pts = ts.intersect(cubic2.set(wn.pts()), quad1.set(wt.pts())); in AddIntersectTs()
416 debugShowCubicQuadIntersection(pts, wn, wt, ts); in AddIntersectTs()
424 switch (wn.segmentType()) { in AddIntersectTs()
426 pts = ts.conicHorizontal(wt.pts(), wt.weight(), wn.left(), in AddIntersectTs()
427 wn.right(), wn.y(), wn.xFlipped()); in AddIntersectTs()
428 debugShowConicLineIntersection(pts, wt, wn, ts); in AddIntersectTs()
431 pts = ts.conicVertical(wt.pts(), wt.weight(), wn.top(), in AddIntersectTs()
432 wn.bottom(), wn.x(), wn.yFlipped()); in AddIntersectTs()
433 debugShowConicLineIntersection(pts, wt, wn, ts); in AddIntersectTs()
436 pts = ts.conicLine(wt.pts(), wt.weight(), wn.pts()); in AddIntersectTs()
437 debugShowConicLineIntersection(pts, wt, wn, ts); in AddIntersectTs()
441 quad2.set(wn.pts())); in AddIntersectTs()
442 debugShowConicQuadIntersection(pts, wt, wn, ts); in AddIntersectTs()
447 conic2.set(wn.pts(), wn.weight())); in AddIntersectTs()
448 debugShowConicIntersection(pts, wt, wn, ts); in AddIntersectTs()
453 pts = ts.intersect(cubic2.set(wn.pts() in AddIntersectTs()
457 debugShowCubicConicIntersection(pts, wn, wt, ts); in AddIntersectTs()
463 switch (wn.segmentType()) { in AddIntersectTs()
465 pts = ts.cubicHorizontal(wt.pts(), wn.left(), in AddIntersectTs()
466 wn.right(), wn.y(), wn.xFlipped()); in AddIntersectTs()
467 debugShowCubicLineIntersection(pts, wt, wn, ts); in AddIntersectTs()
470 pts = ts.cubicVertical(wt.pts(), wn.top(), in AddIntersectTs()
471 wn.bottom(), wn.x(), wn.yFlipped()); in AddIntersectTs()
472 debugShowCubicLineIntersection(pts, wt, wn, ts); in AddIntersectTs()
475 pts = ts.cubicLine(wt.pts(), wn.pts()); in AddIntersectTs()
476 debugShowCubicLineIntersection(pts, wt, wn, ts); in AddIntersectTs()
479 pts = ts.intersect(cubic1.set(wt.pts()), quad2.set(wn.pts())); in AddIntersectTs()
480 debugShowCubicQuadIntersection(pts, wt, wn, ts); in AddIntersectTs()
486 conic2.set(wn.pts(), wn.weight() in AddIntersectTs()
488 debugShowCubicConicIntersection(pts, wt, wn, ts); in AddIntersectTs()
492 pts = ts.intersect(cubic1.set(wt.pts()), cubic2.set(wn.pts())); in AddIntersectTs()
493 debugShowCubicIntersection(pts, wt, wn, ts); in AddIntersectTs()
504 test->globalState()->debugAddLoopCount(&ts, wt, wn); in AddIntersectTs()
520 wn.segment()->debugValidate(); in AddIntersectTs()
521 SkOpPtT* nextTAt = iPtIsIntegral ? wn.segment()->addT(ts[!swap][pt], iPt) in AddIntersectTs()
522 : wn.segment()->addT(ts[!swap][pt]); in AddIntersectTs()
534 wn.segment()->debugValidate(); in AddIntersectTs()
569 wn.segment()->debugValidate(); in AddIntersectTs()
573 } while (wn.advance()); in AddIntersectTs()