Lines Matching refs:lineT

177             double lineT = findLineT(quadT);
179 if (pinTs(&quadT, &lineT, &pt, kPointUninitialized) && uniqueAnswer(quadT, pt)) {
180 fIntersections->insert(quadT, lineT, pt);
207 double lineT = (pt.fX - left) / (right - left);
208 if (pinTs(&quadT, &lineT, &pt, kPointInitialized) && uniqueAnswer(quadT, pt)) {
209 fIntersections->insert(quadT, lineT, pt);
263 double lineT = (pt.fY - top) / (bottom - top);
264 if (pinTs(&quadT, &lineT, &pt, kPointInitialized) && uniqueAnswer(quadT, pt)) {
265 fIntersections->insert(quadT, lineT, pt);
279 double lineT = fLine->exactPoint(fQuad[qIndex]);
280 if (lineT < 0) {
284 fIntersections->insert(quadT, lineT, fQuad[qIndex]);
294 double lineT = fLine->nearPoint(fQuad[qIndex], NULL);
295 if (lineT < 0) {
298 fIntersections->insert(quadT, lineT, fQuad[qIndex]);
305 double lineT = SkDLine::ExactPointH(fQuad[qIndex], left, right, y);
306 if (lineT < 0) {
310 fIntersections->insert(quadT, lineT, fQuad[qIndex]);
320 double lineT = SkDLine::NearPointH(fQuad[qIndex], left, right, y);
321 if (lineT < 0) {
324 fIntersections->insert(quadT, lineT, fQuad[qIndex]);
331 double lineT = SkDLine::ExactPointV(fQuad[qIndex], top, bottom, x);
332 if (lineT < 0) {
336 fIntersections->insert(quadT, lineT, fQuad[qIndex]);
346 double lineT = SkDLine::NearPointV(fQuad[qIndex], top, bottom, x);
347 if (lineT < 0) {
350 fIntersections->insert(quadT, lineT, fQuad[qIndex]);
365 bool pinTs(double* quadT, double* lineT, SkDPoint* pt, PinTPoint ptSet) {
366 if (!approximately_one_or_less_double(*lineT)) {
369 if (!approximately_zero_or_more_double(*lineT)) {
373 double lT = *lineT = SkPinT(*lineT);
382 *lineT = 0;
385 *lineT = 1;
387 if (fIntersections->used() > 0 && approximately_equal((*fIntersections)[1][0], *lineT)) {