Lines Matching defs:lineT
178 double lineT = findLineT(quadT);
180 if (pinTs(&quadT, &lineT, &pt, kPointUninitialized) && uniqueAnswer(quadT, pt)) {
181 fIntersections->insert(quadT, lineT, pt);
208 double lineT = (pt.fX - left) / (right - left);
209 if (pinTs(&quadT, &lineT, &pt, kPointInitialized) && uniqueAnswer(quadT, pt)) {
210 fIntersections->insert(quadT, lineT, pt);
264 double lineT = (pt.fY - top) / (bottom - top);
265 if (pinTs(&quadT, &lineT, &pt, kPointInitialized) && uniqueAnswer(quadT, pt)) {
266 fIntersections->insert(quadT, lineT, pt);
280 double lineT = fLine->exactPoint(fQuad[qIndex]);
281 if (lineT < 0) {
285 fIntersections->insert(quadT, lineT, fQuad[qIndex]);
295 double lineT = fLine->nearPoint(fQuad[qIndex], nullptr);
296 if (lineT < 0) {
299 fIntersections->insert(quadT, lineT, fQuad[qIndex]);
306 double lineT = (double) lIndex;
307 if (fIntersections->hasOppT(lineT)) {
315 fIntersections->insert(quadT, lineT, (*fLine)[lIndex]);
321 double lineT = SkDLine::ExactPointH(fQuad[qIndex], left, right, y);
322 if (lineT < 0) {
326 fIntersections->insert(quadT, lineT, fQuad[qIndex]);
336 double lineT = SkDLine::NearPointH(fQuad[qIndex], left, right, y);
337 if (lineT < 0) {
340 fIntersections->insert(quadT, lineT, fQuad[qIndex]);
347 double lineT = SkDLine::ExactPointV(fQuad[qIndex], top, bottom, x);
348 if (lineT < 0) {
352 fIntersections->insert(quadT, lineT, fQuad[qIndex]);
362 double lineT = SkDLine::NearPointV(fQuad[qIndex], top, bottom, x);
363 if (lineT < 0) {
366 fIntersections->insert(quadT, lineT, fQuad[qIndex]);
381 bool pinTs(double* quadT, double* lineT, SkDPoint* pt, PinTPoint ptSet) {
382 if (!approximately_one_or_less_double(*lineT)) {
385 if (!approximately_zero_or_more_double(*lineT)) {
389 double lT = *lineT = SkPinT(*lineT);
398 *lineT = 0;
401 *lineT = 1;
403 if (fIntersections->used() > 0 && approximately_equal((*fIntersections)[1][0], *lineT)) {