Lines Matching refs:rRect
334 Region::Region(const Rectangle& rRect) in Region() argument
340 mpRegionBand.reset(rRect.IsEmpty() ? 0 : new RegionBand(rRect)); in Region()
526 bool Region::Union( const Rectangle& rRect ) in Union() argument
528 if(rRect.IsEmpty()) in Union()
537 *this = rRect; in Union()
551 *this = rRect; in Union()
559 rRect.Left(), in Union()
560 rRect.Top(), in Union()
561 rRect.Right(), in Union()
562 rRect.Bottom()))); in Union()
579 *this = rRect; in Union()
586 const long nLeft(std::min(rRect.Left(), rRect.Right())); in Union()
587 const long nTop(std::min(rRect.Top(), rRect.Bottom())); in Union()
588 const long nRight(std::max(rRect.Left(), rRect.Right())); in Union()
589 const long nBottom(std::max(rRect.Top(), rRect.Bottom())); in Union()
608 bool Region::Intersect( const Rectangle& rRect ) in Intersect() argument
610 if ( rRect.IsEmpty() ) in Intersect()
620 *this = rRect; in Intersect()
639 rRect.Left(), in Intersect()
640 rRect.Top(), in Intersect()
641 rRect.Right() + 1, in Intersect()
642 rRect.Bottom() + 1), in Intersect()
657 aPoly.Clip(rRect); in Intersect()
679 const long nLeft(std::min(rRect.Left(), rRect.Right())); in Intersect()
680 const long nTop(std::min(rRect.Top(), rRect.Bottom())); in Intersect()
681 const long nRight(std::max(rRect.Left(), rRect.Right())); in Intersect()
682 const long nBottom(std::max(rRect.Top(), rRect.Bottom())); in Intersect()
701 bool Region::Exclude( const Rectangle& rRect ) in Exclude() argument
703 if ( rRect.IsEmpty() ) in Exclude()
739 basegfx::B2DRectangle(rRect.Left(), rRect.Top(), rRect.Right(), rRect.Bottom()))); in Exclude()
760 const long nLeft(std::min(rRect.Left(), rRect.Right())); in Exclude()
761 const long nTop(std::min(rRect.Top(), rRect.Bottom())); in Exclude()
762 const long nRight(std::max(rRect.Left(), rRect.Right())); in Exclude()
763 const long nBottom(std::max(rRect.Top(), rRect.Bottom())); in Exclude()
782 bool Region::XOr( const Rectangle& rRect ) in XOr() argument
784 if ( rRect.IsEmpty() ) in XOr()
793 *this = rRect; in XOr()
815 *this = rRect; in XOr()
822 basegfx::B2DRectangle(rRect.Left(), rRect.Top(), rRect.Right(), rRect.Bottom()))); in XOr()
837 *this = rRect; in XOr()
845 const long nLeft(std::min(rRect.Left(), rRect.Right())); in XOr()
846 const long nTop(std::min(rRect.Top(), rRect.Bottom())); in XOr()
847 const long nRight(std::max(rRect.Left(), rRect.Right())); in XOr()
848 const long nBottom(std::max(rRect.Top(), rRect.Bottom())); in XOr()
1405 bool Region::IsInside( const Rectangle& rRect ) const in IsInside()
1419 if ( rRect.IsEmpty() ) in IsInside()
1426 Region aRegion(rRect); in IsInside()
1435 bool Region::IsOver( const Rectangle& rRect ) const in IsOver()
1452 Region aRegion(rRect); in IsOver()
1488 Region& Region::operator=( const Rectangle& rRect ) in operator =() argument
1492 mpRegionBand.reset(rRect.IsEmpty() ? 0 : new RegionBand(rRect)); in operator =()