Home | History | Annotate | Download | only in pathops

Lines Matching refs:lineT

84             double lineT = (pt.fX - left) / (right - left);
85 if (this->pinTs(&conicT, &lineT, &pt, kPointInitialized)
87 fIntersections->insert(conicT, lineT, pt);
106 double lineT = this->findLineT(conicT);
111 SkDEBUGCODE(SkDPoint linePt = fLine->ptAtT(lineT));
116 if (this->pinTs(&conicT, &lineT, &pt, kPointUninitialized)
118 fIntersections->insert(conicT, lineT, pt);
162 double lineT = (pt.fY - top) / (bottom - top);
163 if (this->pinTs(&conicT, &lineT, &pt, kPointInitialized)
165 fIntersections->insert(conicT, lineT, pt);
180 double lineT = fLine->exactPoint(fConic[cIndex]);
181 if (lineT < 0) {
185 fIntersections->insert(conicT, lineT, fConic[cIndex]);
195 double lineT = fLine->nearPoint(fConic[cIndex], nullptr);
196 if (lineT < 0) {
199 fIntersections->insert(conicT, lineT, fConic[cIndex]);
206 double lineT = (double) lIndex;
207 if (fIntersections->hasOppT(lineT)) {
215 fIntersections->insert(conicT, lineT, (*fLine)[lIndex]);
221 double lineT = SkDLine::ExactPointH(fConic[cIndex], left, right, y);
222 if (lineT < 0) {
226 fIntersections->insert(conicT, lineT, fConic[cIndex]);
236 double lineT = SkDLine::NearPointH(fConic[cIndex], left, right, y);
237 if (lineT < 0) {
240 fIntersections->insert(conicT, lineT, fConic[cIndex]);
247 double lineT = SkDLine::ExactPointV(fConic[cIndex], top, bottom, x);
248 if (lineT < 0) {
252 fIntersections->insert(conicT, lineT, fConic[cIndex]);
262 double lineT = SkDLine::NearPointV(fConic[cIndex], top, bottom, x);
263 if (lineT < 0) {
266 fIntersections->insert(conicT, lineT, fConic[cIndex]);
281 bool pinTs(double* conicT, double* lineT, SkDPoint* pt, PinTPoint ptSet) {
282 if (!approximately_one_or_less_double(*lineT)) {
285 if (!approximately_zero_or_more_double(*lineT)) {
289 double lT = *lineT = SkPinT(*lineT);
298 *lineT = 0;
301 *lineT = 1;
303 if (fIntersections->used() > 0 && approximately_equal((*fIntersections)[1][0], *lineT)) {