Lines Matching refs:rRect
427 Rectangle& Union( const Rectangle& rRect );
428 Rectangle& Intersection( const Rectangle& rRect );
429 Rectangle GetUnion( const Rectangle& rRect ) const;
430 Rectangle GetIntersection( const Rectangle& rRect ) const;
435 sal_Bool IsInside( const Rectangle& rRect ) const;
436 sal_Bool IsOver( const Rectangle& rRect ) const;
441 sal_Bool operator == ( const Rectangle& rRect ) const;
442 sal_Bool operator != ( const Rectangle& rRect ) const;
448 friend Rectangle operator + ( const Rectangle& rRect, const Point& rPt );
449 friend Rectangle operator - ( const Rectangle& rRect, const Point& rPt );
451 friend inline Rectangle operator + ( const Rectangle& rRect, const Point& rPt );
452 friend inline Rectangle operator - ( const Rectangle& rRect, const Point& rPt );
455 TOOLS_DLLPUBLIC friend SvStream& operator>>( SvStream& rIStream, Rectangle& rRect );
456 TOOLS_DLLPUBLIC friend SvStream& operator<<( SvStream& rOStream, const Rectangle& rRect );
641 inline Rectangle Rectangle::GetUnion( const Rectangle& rRect ) const in GetUnion()
644 return aTmpRect.Union( rRect ); in GetUnion()
647 inline Rectangle Rectangle::GetIntersection( const Rectangle& rRect ) const in GetIntersection()
650 return aTmpRect.Intersection( rRect ); in GetIntersection()
653 inline sal_Bool Rectangle::operator == ( const Rectangle& rRect ) const in operator ==()
655 return ((nLeft == rRect.nLeft ) && in operator ==()
656 (nTop == rRect.nTop ) && in operator ==()
657 (nRight == rRect.nRight ) && in operator ==()
658 (nBottom == rRect.nBottom )); in operator ==()
661 inline sal_Bool Rectangle::operator != ( const Rectangle& rRect ) const in operator !=()
663 return ((nLeft != rRect.nLeft ) || in operator !=()
664 (nTop != rRect.nTop ) || in operator !=()
665 (nRight != rRect.nRight ) || in operator !=()
666 (nBottom != rRect.nBottom )); in operator !=()
691 inline Rectangle operator + ( const Rectangle& rRect, const Point& rPt ) in operator +() argument
693 Rectangle aRect( rRect.nLeft + rPt.X(), rRect.nTop + rPt.Y(), in operator +()
694 (rRect.nRight == RECT_EMPTY) ? RECT_EMPTY : rRect.nRight + rPt.X(), in operator +()
695 (rRect.nBottom == RECT_EMPTY) ? RECT_EMPTY : rRect.nBottom + rPt.Y() ); in operator +()
699 inline Rectangle operator - ( const Rectangle& rRect, const Point& rPt ) in operator -() argument
701 Rectangle aRect( rRect.nLeft - rPt.X(), in operator -()
702 rRect.nTop - rPt.Y(), in operator -()
703 (rRect.nRight == RECT_EMPTY) ? RECT_EMPTY : rRect.nRight - rPt.X(), in operator -()
704 (rRect.nBottom == RECT_EMPTY) ? RECT_EMPTY : rRect.nBottom - rPt.Y() ); in operator -()