Lines Matching refs:pSep

85 	ImplRegionBandSep* pSep = rRegionBand.mpFirstSep;  in ImplRegionBand()  local
86 while ( pSep ) in ImplRegionBand()
90 pNewSep->mnXLeft = pSep->mnXLeft; in ImplRegionBand()
91 pNewSep->mnXRight = pSep->mnXRight; in ImplRegionBand()
92 pNewSep->mbRemoved = pSep->mbRemoved; in ImplRegionBand()
94 if ( pSep == rRegionBand.mpFirstSep ) in ImplRegionBand()
100 pSep = pSep->mpNextSep; in ImplRegionBand()
134 ImplRegionBandSep* pSep = mpFirstSep; in ~ImplRegionBand() local
135 while ( pSep ) in ~ImplRegionBand()
137 ImplRegionBandSep* pTempSep = pSep->mpNextSep; in ~ImplRegionBand()
138 delete pSep; in ~ImplRegionBand()
139 pSep = pTempSep; in ~ImplRegionBand()
324 ImplRegionBandSep* pSep = mpFirstSep; in MoveX() local
325 while ( pSep ) in MoveX()
327 pSep->mnXLeft += nHorzMove; in MoveX()
328 pSep->mnXRight += nHorzMove; in MoveX()
329 pSep = pSep->mpNextSep; in MoveX()
337 ImplRegionBandSep* pSep = mpFirstSep; in ScaleX() local
338 while ( pSep ) in ScaleX()
340 pSep->mnXLeft = FRound( pSep->mnXLeft * fHorzScale ); in ScaleX()
341 pSep->mnXRight = FRound( pSep->mnXRight * fHorzScale ); in ScaleX()
342 pSep = pSep->mpNextSep; in ScaleX()
353 ImplRegionBandSep* pSep = mpFirstSep; in OptimizeBand() local
354 while ( pSep ) in OptimizeBand()
357 if ( pSep->mbRemoved || (pSep->mnXRight < pSep->mnXLeft) ) in OptimizeBand()
359 ImplRegionBandSep* pOldSep = pSep; in OptimizeBand()
360 if ( pSep == mpFirstSep ) in OptimizeBand()
361 mpFirstSep = pSep->mpNextSep; in OptimizeBand()
363 pPrevSep->mpNextSep = pSep->mpNextSep; in OptimizeBand()
364 pSep = pSep->mpNextSep; in OptimizeBand()
370 if ( pSep->mpNextSep ) in OptimizeBand()
372 if ( (pSep->mnXRight+1) >= pSep->mpNextSep->mnXLeft ) in OptimizeBand()
374 if ( pSep->mpNextSep->mnXRight > pSep->mnXRight ) in OptimizeBand()
375 pSep->mnXRight = pSep->mpNextSep->mnXRight; in OptimizeBand()
377 ImplRegionBandSep* pOldSep = pSep->mpNextSep; in OptimizeBand()
378 pSep->mpNextSep = pOldSep->mpNextSep; in OptimizeBand()
384 pPrevSep = pSep; in OptimizeBand()
385 pSep = pSep->mpNextSep; in OptimizeBand()
411 ImplRegionBandSep* pSep = mpFirstSep; in Union() local
412 while ( pSep ) in Union()
415 if ( (nXLeft >= pSep->mnXLeft) && (nXRight <= pSep->mnXRight) ) in Union()
419 if ( nXRight < pSep->mnXLeft ) in Union()
426 pNewSep->mpNextSep = pSep; in Union()
427 if ( pSep == mpFirstSep ) 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()
441 pSep->mnXRight = nXRight; in Union()
446 if ( !pSep->mpNextSep && (nXLeft > pSep->mnXRight) ) in Union()
453 pSep->mpNextSep = pNewSep; in Union()
458 pPrevSep = pSep; in Union()
459 pSep = pSep->mpNextSep; in Union()
479 ImplRegionBandSep* pSep = mpFirstSep; in Intersect() local
480 while ( pSep ) in Intersect()
483 if ( (nXRight < pSep->mnXLeft) || (nXLeft > pSep->mnXRight) ) in Intersect()
485 pSep->mbRemoved = true; in Intersect()
488 if ( (nXLeft <= pSep->mnXLeft) && in Intersect()
489 (nXRight <= pSep->mnXRight) && in Intersect()
490 (nXRight >= pSep->mnXLeft) ) in Intersect()
491 pSep->mnXRight = nXRight; in Intersect()
494 if ( (nXLeft >= pSep->mnXLeft) && in Intersect()
495 (nXLeft <= pSep->mnXRight) && in Intersect()
496 (nXRight >= pSep->mnXRight) ) in Intersect()
497 pSep->mnXLeft = nXLeft; in Intersect()
500 if ( (nXLeft >= pSep->mnXLeft) && (nXRight <= pSep->mnXRight) ) in Intersect()
502 pSep->mnXRight = nXRight; in Intersect()
503 pSep->mnXLeft = nXLeft; in Intersect()
506 pSep = pSep->mpNextSep; in Intersect()
528 ImplRegionBandSep* pSep = mpFirstSep; in Exclude() local
529 while ( pSep ) in Exclude()
534 if ( (nXLeft <= pSep->mnXLeft) && (nXRight >= pSep->mnXRight) ) in Exclude()
537 pSep->mbRemoved = true; in Exclude()
544 if ( (nXRight >= pSep->mnXLeft) && (nXLeft <= pSep->mnXLeft) ) in Exclude()
546 pSep->mnXLeft = nXRight+1; 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()
568 pNewSep->mnXLeft = pSep->mnXLeft; in Exclude()
572 pSep->mnXLeft = nXRight+1; in Exclude()
575 pNewSep->mpNextSep = pSep; in Exclude()
578 if ( pSep == mpFirstSep ) in Exclude()
585 pPrevSep = pSep; in Exclude()
586 pSep = pSep->mpNextSep; in Exclude()
658 ImplRegionBandSep* pSep = mpFirstSep; in XOr() local
660 while ( pSep ) in XOr()
662 long nOldLeft( pSep->mnXLeft ); in XOr()
663 long nOldRight( pSep->mnXRight ); in XOr()
678 pNewSep->mpNextSep = pSep; in XOr()
682 pNewSep->mpNextSep = pSep; in XOr()
685 if ( pSep == mpFirstSep ) in XOr()
695 pSep->mbRemoved = true; in XOr()
712 pSep->mnXLeft = nXLeft; in XOr()
713 pSep->mnXRight = nXRight-1; in XOr()
728 pSep->mbRemoved = true; in XOr()
732 pSep->mnXLeft = nXRight+1; // 9 in XOr()
794 pSep->mnXLeft = nOldLeft; in XOr()
795 pSep->mnXRight = nXLeft-1; in XOr()
807 pNewSep->mpNextSep = pSep->mpNextSep; in XOr()
811 pSep->mpNextSep = pNewSep; in XOr()
819 pPrevSep = pSep; in XOr()
820 pSep = pSep->mpNextSep; in XOr()
843 ImplRegionBandSep* pSep = mpFirstSep; in IsInside() local
844 while ( pSep ) in IsInside()
846 if ( (pSep->mnXLeft <= nX) && (pSep->mnXRight >= nX) ) in IsInside()
849 pSep = pSep->mpNextSep; in IsInside()
859 ImplRegionBandSep* pSep = mpFirstSep; in IsOver() local
860 while ( pSep ) in IsOver()
862 if ( (pSep->mnXLeft < nRight) && (pSep->mnXRight > nLeft) ) in IsOver()
865 pSep = pSep->mpNextSep; in IsOver()
875 ImplRegionBandSep* pSep = mpFirstSep; in IsInside() local
876 while ( pSep ) in IsInside()
878 if ( (pSep->mnXLeft >= nLeft) && (nRight <= pSep->mnXRight) ) in IsInside()
881 pSep = pSep->mpNextSep; in IsInside()
903 ImplRegionBandSep* pSep = mpFirstSep; in GetXRightBoundary() local
904 while ( pSep->mpNextSep ) in GetXRightBoundary()
905 pSep = pSep->mpNextSep; in GetXRightBoundary()
906 return pSep->mnXRight; in GetXRightBoundary()