Lines Matching refs:rRect
332 Region::Region(const Rectangle& rRect) in Region() argument
338 mpRegionBand.reset(rRect.IsEmpty() ? 0 : new RegionBand(rRect)); in Region()
524 bool Region::Union( const Rectangle& rRect ) in Union() argument
526 if(rRect.IsEmpty()) in Union()
535 *this = rRect; in Union()
549 *this = rRect; in Union()
557 rRect.Left(), in Union()
558 rRect.Top(), in Union()
559 rRect.Right(), in Union()
560 rRect.Bottom()))); in Union()
577 *this = rRect; in Union()
584 const long nLeft(std::min(rRect.Left(), rRect.Right())); in Union()
585 const long nTop(std::min(rRect.Top(), rRect.Bottom())); in Union()
586 const long nRight(std::max(rRect.Left(), rRect.Right())); in Union()
587 const long nBottom(std::max(rRect.Top(), rRect.Bottom())); in Union()
606 bool Region::Intersect( const Rectangle& rRect ) in Intersect() argument
608 if ( rRect.IsEmpty() ) in Intersect()
618 *this = rRect; in Intersect()
637 rRect.Left(), in Intersect()
638 rRect.Top(), in Intersect()
639 rRect.Right() + 1, in Intersect()
640 rRect.Bottom() + 1), in Intersect()
655 aPoly.Clip(rRect); in Intersect()
677 const long nLeft(std::min(rRect.Left(), rRect.Right())); in Intersect()
678 const long nTop(std::min(rRect.Top(), rRect.Bottom())); in Intersect()
679 const long nRight(std::max(rRect.Left(), rRect.Right())); in Intersect()
680 const long nBottom(std::max(rRect.Top(), rRect.Bottom())); in Intersect()
699 bool Region::Exclude( const Rectangle& rRect ) in Exclude() argument
701 if ( rRect.IsEmpty() ) in Exclude()
737 basegfx::B2DRectangle(rRect.Left(), rRect.Top(), rRect.Right(), rRect.Bottom()))); in Exclude()
758 const long nLeft(std::min(rRect.Left(), rRect.Right())); in Exclude()
759 const long nTop(std::min(rRect.Top(), rRect.Bottom())); in Exclude()
760 const long nRight(std::max(rRect.Left(), rRect.Right())); in Exclude()
761 const long nBottom(std::max(rRect.Top(), rRect.Bottom())); in Exclude()
780 bool Region::XOr( const Rectangle& rRect ) in XOr() argument
782 if ( rRect.IsEmpty() ) in XOr()
791 *this = rRect; in XOr()
813 *this = rRect; in XOr()
820 basegfx::B2DRectangle(rRect.Left(), rRect.Top(), rRect.Right(), rRect.Bottom()))); in XOr()
835 *this = rRect; in XOr()
843 const long nLeft(std::min(rRect.Left(), rRect.Right())); in XOr()
844 const long nTop(std::min(rRect.Top(), rRect.Bottom())); in XOr()
845 const long nRight(std::max(rRect.Left(), rRect.Right())); in XOr()
846 const long nBottom(std::max(rRect.Top(), rRect.Bottom())); in XOr()
1403 bool Region::IsInside( const Rectangle& rRect ) const in IsInside()
1417 if ( rRect.IsEmpty() ) in IsInside()
1424 Region aRegion(rRect); in IsInside()
1433 bool Region::IsOver( const Rectangle& rRect ) const in IsOver()
1450 Region aRegion(rRect); in IsOver()
1486 Region& Region::operator=( const Rectangle& rRect ) in operator =() argument
1490 mpRegionBand.reset(rRect.IsEmpty() ? 0 : new RegionBand(rRect)); in operator =()