Home | History | Annotate | Download | only in pathops

Lines Matching defs:overlaps

186 // if there is an existing pair that overlaps the addition, extend it
562 // return true if span overlaps existing and needs to adjust the coincident list
566 SkTDArray<SkCoincidentSpans*>* overlaps) const {
570 overlaps);
572 return this->checkOverlap(check, oppSeg, coinSeg, oppTe, oppTs, coinTe, coinTs, overlaps);
605 *overlaps->append() = check; // partial overlap, extend existing entry
651 SkTDArray<SkCoincidentSpans*> overlaps;
653 if (!this->checkOverlap(fTop, coinSeg, oppSeg, coinTs, coinTe, oppTs, oppTe, &overlaps)) {
657 coinTe, oppTs, oppTe, &overlaps)) {
660 SkCoincidentSpans* overlap = overlaps.count() ? overlaps[0] : nullptr;
661 for (int index = 1; index < overlaps.count(); ++index) { // combine overlaps before continuing
662 SkCoincidentSpans* test = overlaps[index];
756 overlaps[0]->debugShow();
773 /* detects overlaps of different coincident runs on same segment */
774 /* does not detect overlaps for pairs without any segments in common */
1227 bool SkOpCoincidence::findOverlaps(SkOpCoincidence* overlaps DEBUG_COIN_DECLARE_PARAMS()) const {
1229 overlaps->fHead = overlaps->fTop = nullptr;
1241 const SkOpPtT* overlapS;
1243 if ((outerOpp == innerCoin && SkOpPtT::Overlaps(outer->oppPtTStart(),
1244 outer->oppPtTEnd(),inner->coinPtTStart(), inner->coinPtTEnd(), &overlapS,
1246 || (outerCoin == innerOpp && SkOpPtT::Overlaps(outer->coinPtTStart(),
1248 &overlapS, &overlapE))
1249 || (outerOpp == innerOpp && SkOpPtT::Overlaps(outer->oppPtTStart(),
1251 &overlapS, &overlapE))) {
1252 if (!overlaps->addOverlap(outerCoin, outerOpp, innerCoin, innerOpp,
1253 overlapS, overlapE)) {