• Home
  • Raw
  • Download

Lines Matching refs:fT

100     if (fCoinPtTStart->fT > coinPtTStart->fT || (this->flipped()  in extend()
101 ? fOppPtTStart->fT < oppPtTStart->fT : fOppPtTStart->fT > oppPtTStart->fT)) { in extend()
105 if (fCoinPtTEnd->fT < coinPtTEnd->fT || (this->flipped() in extend()
106 ? fOppPtTEnd->fT > oppPtTEnd->fT : fOppPtTEnd->fT < oppPtTEnd->fT)) { in extend()
124 if (s->fT > e->fT) { in contains()
129 return fCoinPtTStart->fT <= s->fT && e->fT <= fCoinPtTEnd->fT; in contains()
132 double oppTs = fOppPtTStart->fT; in contains()
133 double oppTe = fOppPtTEnd->fT; in contains()
138 return oppTs <= s->fT && e->fT <= oppTe; in contains()
165 double oppLastT = fOppPtTStart->fT; in ordered()
172 if ((oppLastT > opp->fT) != flipped) { in ordered()
176 oppLastT = opp->fT; in ordered()
204 if (coinPtTStart->fT > coinPtTEnd->fT) { in extend()
209 double oppMinT = SkTMin(oppPtTStart->fT, oppPtTEnd->fT); in extend()
210 SkDEBUGCODE(double oppMaxT = SkTMax(oppPtTStart->fT, oppPtTEnd->fT)); in extend()
218 double oTestMinT = SkTMin(test->oppPtTStart()->fT, test->oppPtTEnd()->fT); in extend()
219 double oTestMaxT = SkTMax(test->oppPtTStart()->fT, test->oppPtTEnd()->fT); in extend()
221 SkASSERT(test->coinPtTStart()->fT > coinPtTStart->fT in extend()
222 || coinPtTEnd->fT > test->coinPtTEnd()->fT in extend()
224 if ((test->coinPtTStart()->fT <= coinPtTEnd->fT in extend()
225 && coinPtTStart->fT <= test->coinPtTEnd()->fT) in extend()
253 if (oppPtTStart->fT < oppPtTEnd->fT) { in add()
266 SkOPASSERT(coinPtTStart->fT < coinPtTEnd->fT); in add()
267 SkOPASSERT(oppPtTStart->fT != oppPtTEnd->fT); in add()
300 if (this->contains(baseSeg, testSeg, testPtT->fT)) { in addEndMovedSpans()
334 oppTs = oppStart->fT; in addEndMovedSpans()
335 oppTe = testPtT->fT; in addEndMovedSpans()
339 coinTs = oppStart->fT; in addEndMovedSpans()
340 coinTe = testPtT->fT; in addEndMovedSpans()
394 FAIL_IF(1 == span->coinPtTStart()->fT); in addEndMovedSpans()
395 bool onEnd = span->coinPtTStart()->fT == 0; in addEndMovedSpans()
396 bool oOnEnd = zero_or_one(span->oppPtTStart()->fT); in addEndMovedSpans()
410 bool onEnd = span->coinPtTEnd()->fT == 1; in addEndMovedSpans()
411 bool oOnEnd = zero_or_one(span->oppPtTEnd()->fT); in addEndMovedSpans()
441 double priorT = startPtT->fT; in addExpanded()
442 double oPriorT = oStartPtT->fT; in addExpanded()
465 oNextT = containedOpp->fT; in addExpanded()
467 nextT = containedThis->fT; in addExpanded()
480 oNextT = walkOpp->fT; in addExpanded()
562 double denom = foundEnd->fT - foundStart->fT; in TRange()
563 double sRatio = denom ? (t - foundStart->fT) / denom : 1; in TRange()
564 return coinStart->fT + (coinEnd->fT - coinStart->fT) * sRatio; in TRange()
591 double checkTs = check->coinPtTStart()->fT; in checkOverlap()
592 double checkTe = check->coinPtTEnd()->fT; in checkOverlap()
594 double oCheckTs = check->oppPtTStart()->fT; in checkOverlap()
595 double oCheckTe = check->oppPtTEnd()->fT; in checkOverlap()
623 SkASSERT(over1s->fT < over1e->fT); in addIfMissing()
624 SkASSERT(between(over1s->fT, tStart, over1e->fT)); in addIfMissing()
625 SkASSERT(between(over1s->fT, tEnd, over1e->fT)); in addIfMissing()
626 SkASSERT(over2s->fT < over2e->fT); in addIfMissing()
627 SkASSERT(between(over2s->fT, tStart, over2e->fT)); in addIfMissing()
628 SkASSERT(between(over2s->fT, tEnd, over2e->fT)); in addIfMissing()
674 if (overlap->coinPtTStart()->fT > test->coinPtTStart()->fT) { in addOrOverlap()
677 if (overlap->coinPtTEnd()->fT < test->coinPtTEnd()->fT) { in addOrOverlap()
681 ? overlap->oppPtTStart()->fT < test->oppPtTStart()->fT in addOrOverlap()
682 : overlap->oppPtTStart()->fT > test->oppPtTStart()->fT) { in addOrOverlap()
686 ? overlap->oppPtTEnd()->fT > test->oppPtTEnd()->fT in addOrOverlap()
687 : overlap->oppPtTEnd()->fT < test->oppPtTEnd()->fT) { in addOrOverlap()
760 if (os->fT > oe->fT) { in addOrOverlap()
925 if (s1->fT > e1->fT) { in addOverlap()
951 && between(coin->oppPtTStart()->fT, oppT, coin->oppPtTEnd()->fT)) { in contains()
955 && between(coin->coinPtTStart()->fT, oppT, coin->coinPtTEnd()->fT)) { in contains()
975 if (coinPtTStart->fT > coinPtTEnd->fT) { in contains()
980 double oppMinT = SkTMin(oppPtTStart->fT, oppPtTEnd->fT); in contains()
981 double oppMaxT = SkTMax(oppPtTStart->fT, oppPtTEnd->fT); in contains()
986 if (coinPtTStart->fT < test->coinPtTStart()->fT) { in contains()
989 if (coinPtTEnd->fT > test->coinPtTEnd()->fT) { in contains()
995 if (oppMinT < SkTMin(test->oppPtTStart()->fT, test->oppPtTEnd()->fT)) { in contains()
998 if (oppMaxT > SkTMax(test->oppPtTStart()->fT, test->oppPtTEnd()->fT)) { in contains()
1385 if (zero_or_one(coin->coinPtTStart()->fT) && zero_or_one(coin->coinPtTEnd()->fT)) { in markCollapsed()
1388 if (zero_or_one(coin->oppPtTStart()->fT) && zero_or_one(coin->oppPtTEnd()->fT)) { in markCollapsed()
1429 *overS = SkTMax(SkTMin(coin1s->fT, coin1e->fT), SkTMin(coin2s->fT, coin2e->fT)); in overlap()
1430 *overE = SkTMin(SkTMax(coin1s->fT, coin1e->fT), SkTMax(coin2s->fT, coin2e->fT)); in overlap()