Home | History | Annotate | Download | only in pathops

Lines Matching refs:lineT

114             double lineT = findLineT(cubicT);
116 if (pinTs(&cubicT, &lineT, &pt, kPointUninitialized)) {
122 fIntersections->insert(cubicT, lineT, pt);
145 double lineT = (pt.fX - left) / (right - left);
146 if (pinTs(&cubicT, &lineT, &pt, kPointInitialized)) {
147 fIntersections->insert(cubicT, lineT, pt);
173 double lineT = (pt.fY - top) / (bottom - top);
174 if (pinTs(&cubicT, &lineT, &pt, kPointInitialized)) {
175 fIntersections->insert(cubicT, lineT, pt);
191 double lineT = fLine.exactPoint(fCubic[cIndex]);
192 if (lineT < 0) {
196 fIntersections->insert(cubicT, lineT, fCubic[cIndex]);
206 double lineT = fLine.nearPoint(fCubic[cIndex]);
207 if (lineT < 0) {
210 fIntersections->insert(cubicT, lineT, fCubic[cIndex]);
216 double lineT = SkDLine::ExactPointH(fCubic[cIndex], left, right, y);
217 if (lineT < 0) {
221 fIntersections->insert(cubicT, lineT, fCubic[cIndex]);
231 double lineT = SkDLine::NearPointH(fCubic[cIndex], left, right, y);
232 if (lineT < 0) {
235 fIntersections->insert(cubicT, lineT, fCubic[cIndex]);
242 double lineT = SkDLine::ExactPointV(fCubic[cIndex], top, bottom, x);
243 if (lineT < 0) {
247 fIntersections->insert(cubicT, lineT, fCubic[cIndex]);
257 double lineT = SkDLine::NearPointV(fCubic[cIndex], top, bottom, x);
258 if (lineT < 0) {
261 fIntersections->insert(cubicT, lineT, fCubic[cIndex]);
276 bool pinTs(double* cubicT, double* lineT, SkDPoint* pt, PinTPoint ptSet) {
277 if (!approximately_one_or_less(*lineT)) {
280 if (!approximately_zero_or_more(*lineT)) {
284 double lT = *lineT = SkPinT(*lineT);