Home | History | Annotate | Download | only in pathops

Lines Matching refs:lineT

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