Lines Matching refs:lineT
155 double lineT = findLineT(cubicT); in intersect() local
157 if (pinTs(&cubicT, &lineT, &pt, kPointUninitialized) && uniqueAnswer(cubicT, pt)) { in intersect()
158 fIntersections->insert(cubicT, lineT, pt); in intersect()
192 double lineT = (pt.fX - left) / (right - left); in horizontalIntersect() local
193 if (pinTs(&cubicT, &lineT, &pt, kPointInitialized) && uniqueAnswer(cubicT, pt)) { in horizontalIntersect()
194 fIntersections->insert(cubicT, lineT, pt); in horizontalIntersect()
255 double lineT = (pt.fY - top) / (bottom - top); in verticalIntersect() local
256 if (pinTs(&cubicT, &lineT, &pt, kPointInitialized) && uniqueAnswer(cubicT, pt)) { in verticalIntersect()
257 fIntersections->insert(cubicT, lineT, pt); in verticalIntersect()
271 double lineT = fLine.exactPoint(fCubic[cIndex]); in addExactEndPoints() local
272 if (lineT < 0) { in addExactEndPoints()
276 fIntersections->insert(cubicT, lineT, fCubic[cIndex]); in addExactEndPoints()
288 double lineT = fLine.nearPoint(fCubic[cIndex], nullptr); in addNearEndPoints() local
289 if (lineT < 0) { in addNearEndPoints()
292 fIntersections->insert(cubicT, lineT, fCubic[cIndex]); in addNearEndPoints()
298 double lineT = SkDLine::ExactPointH(fCubic[cIndex], left, right, y); in addExactHorizontalEndPoints() local
299 if (lineT < 0) { in addExactHorizontalEndPoints()
303 fIntersections->insert(cubicT, lineT, fCubic[cIndex]); in addExactHorizontalEndPoints()
313 double lineT = SkDLine::NearPointH(fCubic[cIndex], left, right, y); in addNearHorizontalEndPoints() local
314 if (lineT < 0) { in addNearHorizontalEndPoints()
317 fIntersections->insert(cubicT, lineT, fCubic[cIndex]); in addNearHorizontalEndPoints()
324 double lineT = SkDLine::ExactPointV(fCubic[cIndex], top, bottom, x); in addExactVerticalEndPoints() local
325 if (lineT < 0) { in addExactVerticalEndPoints()
329 fIntersections->insert(cubicT, lineT, fCubic[cIndex]); in addExactVerticalEndPoints()
339 double lineT = SkDLine::NearPointV(fCubic[cIndex], top, bottom, x); in addNearVerticalEndPoints() local
340 if (lineT < 0) { in addNearVerticalEndPoints()
343 fIntersections->insert(cubicT, lineT, fCubic[cIndex]); in addNearVerticalEndPoints()
358 bool pinTs(double* cubicT, double* lineT, SkDPoint* pt, PinTPoint ptSet) { in pinTs() argument
359 if (!approximately_one_or_less(*lineT)) { in pinTs()
362 if (!approximately_zero_or_more(*lineT)) { in pinTs()
366 double lT = *lineT = SkPinT(*lineT); in pinTs()
381 *lineT = 0; in pinTs()
383 *lineT = 1; in pinTs()