Lines Matching refs:lineT

157             double lineT = findLineT(cubicT);  in intersect()  local
159 if (pinTs(&cubicT, &lineT, &pt, kPointUninitialized) && uniqueAnswer(cubicT, pt)) { in intersect()
160 fIntersections->insert(cubicT, lineT, pt); in intersect()
194 double lineT = (pt.fX - left) / (right - left); in horizontalIntersect() local
195 if (pinTs(&cubicT, &lineT, &pt, kPointInitialized) && uniqueAnswer(cubicT, pt)) { in horizontalIntersect()
196 fIntersections->insert(cubicT, lineT, pt); in horizontalIntersect()
257 double lineT = (pt.fY - top) / (bottom - top); in verticalIntersect() local
258 if (pinTs(&cubicT, &lineT, &pt, kPointInitialized) && uniqueAnswer(cubicT, pt)) { in verticalIntersect()
259 fIntersections->insert(cubicT, lineT, pt); in verticalIntersect()
273 double lineT = fLine.exactPoint(fCubic[cIndex]); in addExactEndPoints() local
274 if (lineT < 0) { in addExactEndPoints()
278 fIntersections->insert(cubicT, lineT, fCubic[cIndex]); in addExactEndPoints()
290 double lineT = fLine.nearPoint(fCubic[cIndex], nullptr); in addNearEndPoints() local
291 if (lineT < 0) { in addNearEndPoints()
294 fIntersections->insert(cubicT, lineT, fCubic[cIndex]); in addNearEndPoints()
301 double lineT = (double) lIndex; in addLineNearEndPoints() local
302 if (fIntersections->hasOppT(lineT)) { in addLineNearEndPoints()
310 fIntersections->insert(cubicT, lineT, fLine[lIndex]); in addLineNearEndPoints()
316 double lineT = SkDLine::ExactPointH(fCubic[cIndex], left, right, y); in addExactHorizontalEndPoints() local
317 if (lineT < 0) { in addExactHorizontalEndPoints()
321 fIntersections->insert(cubicT, lineT, fCubic[cIndex]); in addExactHorizontalEndPoints()
331 double lineT = SkDLine::NearPointH(fCubic[cIndex], left, right, y); in addNearHorizontalEndPoints() local
332 if (lineT < 0) { in addNearHorizontalEndPoints()
335 fIntersections->insert(cubicT, lineT, fCubic[cIndex]); in addNearHorizontalEndPoints()
342 double lineT = SkDLine::ExactPointV(fCubic[cIndex], top, bottom, x); in addExactVerticalEndPoints() local
343 if (lineT < 0) { in addExactVerticalEndPoints()
347 fIntersections->insert(cubicT, lineT, fCubic[cIndex]); in addExactVerticalEndPoints()
357 double lineT = SkDLine::NearPointV(fCubic[cIndex], top, bottom, x); in addNearVerticalEndPoints() local
358 if (lineT < 0) { in addNearVerticalEndPoints()
361 fIntersections->insert(cubicT, lineT, fCubic[cIndex]); in addNearVerticalEndPoints()
376 bool pinTs(double* cubicT, double* lineT, SkDPoint* pt, PinTPoint ptSet) { in pinTs() argument
377 if (!approximately_one_or_less(*lineT)) { in pinTs()
380 if (!approximately_zero_or_more(*lineT)) { in pinTs()
384 double lT = *lineT = SkPinT(*lineT); in pinTs()
399 *lineT = 0; in pinTs()
401 *lineT = 1; in pinTs()