Lines Matching refs:ray
181 // FIXME: until I can think of something better, project a ray from the
187 SkDLine ray;
197 ray[0] = partVerb == SkPath::kCubic_Verb && part[0].approximatelyEqual(part[1]) ?
199 ray[1] = SkDPoint::Mid(part[0], part[SkPathOpsVerbToPoints(partVerb)]);
200 SkASSERT(ray[0] != ray[1]);
201 roots = (i.*CurveRay[SkPathOpsVerbToPoints(verb)])(fSegment->pts(), ray);
202 rroots = (ri.*CurveRay[SkPathOpsVerbToPoints(rVerb)])(rh.fSegment->pts(), ray);
219 SkDebugf("lh=%d rh=%d use-lh=%d ray={{%1.9g,%1.9g}, {%1.9g,%1.9g}} %c\n",
220 fSegment->debugID(), rh.fSegment->debugID(), useThis, ray[0].fX, ray[0].fY,
221 ray[1].fX, ray[1].fY, "-+"[fSide > 0]);
225 SkDVector dxy = loc - ray[0];
240 SkDVector dxy = rLoc - ray[0];