Lines Matching refs:thisLine
288 bool isParallel(const SkDLine& thisLine, const SkTSect<OppCurve, TCurve>* opp) const;
1306 static bool is_parallel(const SkDLine& thisLine, const TCurve& opp) {
1312 thisPerp.fPts[0].fX = thisLine.fPts[1].fX + (thisLine.fPts[1].fY - thisLine.fPts[0].fY);
1313 thisPerp.fPts[0].fY = thisLine.fPts[1].fY + (thisLine.fPts[0].fX - thisLine.fPts[1].fX);
1314 thisPerp.fPts[1] = thisLine.fPts[1];
1320 thisPerp.fPts[1].fX = thisLine.fPts[0].fX + (thisLine.fPts[1].fY - thisLine.fPts[0].fY);
1321 thisPerp.fPts[1].fY = thisLine.fPts[0].fY + (thisLine.fPts[0].fX - thisLine.fPts[1].fX);
1322 thisPerp.fPts[0] = thisLine.fPts[0];
1338 SkDLine thisLine = {{ span->fPart[0], span->fPart[TCurve::kPointLast] }};
1342 if (!thisRayI.intersectRay(opp->fCurve, thisLine)) {
1352 for (int lIndex = 0; lIndex < (int) SK_ARRAY_COUNT(thisLine.fPts); ++lIndex) {
1353 ptMatches += thisRayI.pt(tIndex).approximatelyEqual(thisLine.fPts[lIndex]);
1356 if (ptMatches == 2 || is_parallel(thisLine, opp->fCurve)) {
1363 for (int lIndex = 0; lIndex < (int) SK_ARRAY_COUNT(thisLine.fPts); ++lIndex) {
1409 thisLine[0] = fCurve.ptAtT(oppStart);
1410 thisLine[1] = thisLine[0] + fCurve.dxdyAtT(oppStart);
1411 if (!thisRayI.intersectRay(opp->fCurve, thisLine)) {