Lines Matching refs:rRect
225 Rectangle& Rectangle::Union( const Rectangle& rRect ) in Union() argument
227 if ( rRect.IsEmpty() ) in Union()
231 *this = rRect; in Union()
234 nLeft = Min( Min( nLeft, rRect.nLeft ), Min( nRight, rRect.nRight ) ); in Union()
235 nRight = Max( Max( nLeft, rRect.nLeft ), Max( nRight, rRect.nRight ) ); in Union()
236 nTop = Min( Min( nTop, rRect.nTop ), Min( nBottom, rRect.nBottom ) ); in Union()
237 nBottom = Max( Max( nTop, rRect.nTop ), Max( nBottom, rRect.nBottom ) ); in Union()
253 Rectangle& Rectangle::Intersection( const Rectangle& rRect ) in Intersection() argument
257 if ( rRect.IsEmpty() ) in Intersection()
264 Rectangle aTmpRect( rRect ); in Intersection()
361 sal_Bool Rectangle::IsInside( const Rectangle& rRect ) const in IsInside()
363 if ( IsInside( rRect.TopLeft() ) && IsInside( rRect.BottomRight() ) ) in IsInside()
379 sal_Bool Rectangle::IsOver( const Rectangle& rRect ) const in IsOver()
382 return !GetIntersection( rRect ).IsEmpty(); in IsOver()
387 SvStream& operator>>( SvStream& rIStream, Rectangle& rRect ) in operator >>() argument
422 rRect.nLeft = (sal_Int32)nNum; in operator >>()
435 rRect.nTop = (sal_Int32)nNum; in operator >>()
448 rRect.nRight = (sal_Int32)nNum; in operator >>()
460 rRect.nBottom = (sal_Int32)nNum; in operator >>()
464 rIStream >> rRect.nLeft >> rRect.nTop >> rRect.nRight >> rRect.nBottom; in operator >>()
472 SvStream& operator<<( SvStream& rOStream, const Rectangle& rRect ) in operator <<() argument
485 nNum = (sal_uInt32)(sal_Int32)rRect.nLeft; in operator <<()
486 if ( rRect.nLeft < 0 ) in operator <<()
526 nNum = (sal_uInt32)(sal_Int32)rRect.nTop; in operator <<()
527 if ( rRect.nTop < 0 ) in operator <<()
567 nNum = (sal_uInt32)(sal_Int32)rRect.nRight; in operator <<()
568 if ( rRect.nRight < 0 ) in operator <<()
608 nNum = (sal_uInt32)(sal_Int32)rRect.nBottom; in operator <<()
609 if ( rRect.nBottom < 0 ) in operator <<()
653 rOStream << rRect.nLeft << rRect.nTop << rRect.nRight << rRect.nBottom; in operator <<()