Lines Matching defs:hit
17 // if no edge is hit, compute the winding directly
262 SkOpRayHit* hit = hitHead;
263 while (hit) {
264 sorted.push_back(hit);
265 hit = hit->fNext;
277 hit = sorted[index];
278 SkOpSpan* span = hit->fSpan;
281 bool ccw = ccw_dxdy(hit->fSlope, dir);
283 hit->fValid, operand, span ? span->debugID() : -1, ccw);
287 SkDebugf(" t=%1.9g pt=(%1.9g,%1.9g) slope=(%1.9g,%1.9g)\n", hit->fT,
288 hit->fPt.fX, hit->fPt.fY, hit->fSlope.fX, hit->fSlope.fY);
295 hit = sorted[index];
296 if (!hit->fValid) {
299 bool ccw = ccw_dxdy(hit->fSlope, dir);
300 // SkASSERT(!approximately_zero(hit->fT) || !hit->fValid);
301 SkOpSpan* span = hit->fSpan;
309 if (last && SkDPoint::ApproximatelyEqual(*last, hit->fPt)) {
314 if (SkDPoint::ApproximatelyEqual(next, hit->fPt)) {
367 last = &hit->fPt;