Lines Matching refs:nXLeft
393 void ImplRegionBand::Union( long nXLeft, long nXRight ) in Union() argument
395 DBG_ASSERT( nXLeft <= nXRight, "ImplRegionBand::Union(): nxLeft > nXRight" ); in Union()
401 mpFirstSep->mnXLeft = nXLeft; in Union()
415 if ( (nXLeft >= pSep->mnXLeft) && (nXRight <= pSep->mnXRight) ) in Union()
422 pNewSep->mnXLeft = nXLeft; in Union()
435 if ( (nXRight >= pSep->mnXLeft) && (nXLeft <= pSep->mnXLeft) ) in Union()
436 pSep->mnXLeft = nXLeft; in Union()
439 if ( (nXLeft <= pSep->mnXRight) && (nXRight > pSep->mnXRight) ) in Union()
446 if ( !pSep->mpNextSep && (nXLeft > pSep->mnXRight) ) in Union()
449 pNewSep->mnXLeft = nXLeft; in Union()
467 void ImplRegionBand::Intersect( long nXLeft, long nXRight ) in Intersect() argument
469 DBG_ASSERT( nXLeft <= nXRight, "ImplRegionBand::Intersect(): nxLeft > nXRight" ); in Intersect()
483 if ( (nXRight < pSep->mnXLeft) || (nXLeft > pSep->mnXRight) ) in Intersect()
488 if ( (nXLeft <= pSep->mnXLeft) && in Intersect()
494 if ( (nXLeft >= pSep->mnXLeft) && in Intersect()
495 (nXLeft <= pSep->mnXRight) && in Intersect()
497 pSep->mnXLeft = nXLeft; in Intersect()
500 if ( (nXLeft >= pSep->mnXLeft) && (nXRight <= pSep->mnXRight) ) in Intersect()
503 pSep->mnXLeft = nXLeft; in Intersect()
514 void ImplRegionBand::Exclude( long nXLeft, long nXRight ) in Exclude() argument
516 DBG_ASSERT( nXLeft <= nXRight, "ImplRegionBand::Exclude(): nxLeft > nXRight" ); in Exclude()
534 if ( (nXLeft <= pSep->mnXLeft) && (nXRight >= pSep->mnXRight) ) in Exclude()
544 if ( (nXRight >= pSep->mnXLeft) && (nXLeft <= pSep->mnXLeft) ) in Exclude()
554 if ( (nXLeft <= pSep->mnXRight) && (nXRight > pSep->mnXRight) ) in Exclude()
556 pSep->mnXRight = nXLeft-1; in Exclude()
565 if ( (nXLeft >= pSep->mnXLeft) && (nXRight <= pSep->mnXRight) ) in Exclude()
569 pNewSep->mnXRight = nXLeft-1; in Exclude()
594 void ImplRegionBand::XOr( long nXLeft, long nXRight ) in XOr() argument
596 DBG_ASSERT( nXLeft <= nXRight, "ImplRegionBand::XOr(): nxLeft > nXRight" ); in XOr()
648 mpFirstSep->mnXLeft = nXLeft; in XOr()
668 if( nXLeft <= nOldRight ) in XOr()
676 pNewSep->mnXLeft = nXLeft; in XOr()
692 else if( nXLeft == nOldLeft && nXRight == nOldRight ) in XOr()
699 else if( nXLeft != nOldLeft && nXRight == nOldRight ) in XOr()
702 if( nXLeft < nOldLeft ) in XOr()
708 nXRight = nXLeft; // 8 in XOr()
709 nXLeft = nOldLeft; in XOr()
712 pSep->mnXLeft = nXLeft; in XOr()
718 else if( nXLeft == nOldLeft && nXRight != nOldRight ) in XOr()
724 nXLeft = nOldRight+1; // 6b in XOr()
741 DBG_ASSERT( nXLeft != nOldLeft && nXRight != nOldRight, in XOr()
776 if( nXLeft < nOldLeft ) in XOr()
777 ::std::swap( nOldLeft, nXLeft ); in XOr()
791 DBG_ASSERT( nOldLeft<nXLeft && nXLeft<=nOldRight && nOldRight<nXRight, in XOr()
795 pSep->mnXRight = nXLeft-1; in XOr()
797 nXLeft = nOldRight+1; in XOr()
805 pNewSep->mnXLeft = nXLeft; in XOr()
824 if( pPrevSep && nXLeft >= pPrevSep->mnXRight ) in XOr()
827 pNewSep->mnXLeft = nXLeft; in XOr()