Lines Matching refs:rRect

48 SwRect::SwRect( const Rectangle &rRect ) :  in SwRect()  argument
49 m_Point( rRect.Left(), rRect.Top() ) in SwRect()
51 m_Size.setWidth(rRect.Right() == RECT_EMPTY ? 0 : in SwRect()
52 rRect.Right() - rRect.Left() +1); in SwRect()
53 m_Size.setHeight(rRect.Bottom() == RECT_EMPTY ? 0 : in SwRect()
54 rRect.Bottom() - rRect.Top() + 1); in SwRect()
89 SwRect& SwRect::Union( const SwRect& rRect ) in Union() argument
91 if ( Top() > rRect.Top() ) in Union()
92 Top( rRect.Top() ); in Union()
93 if ( Left() > rRect.Left() ) in Union()
94 Left( rRect.Left() ); in Union()
95 long n = rRect.Right(); in Union()
98 n = rRect.Bottom(); in Union()
114 SwRect& SwRect::Intersection( const SwRect& rRect ) in Intersection() argument
117 if ( IsOver( rRect ) ) in Intersection()
121 if ( Left() < rRect.Left() ) in Intersection()
122 Left( rRect.Left() ); in Intersection()
123 if ( Top() < rRect.Top() ) in Intersection()
124 Top( rRect.Top() ); in Intersection()
125 long n = rRect.Right(); in Intersection()
128 n = rRect.Bottom(); in Intersection()
141 SwRect& SwRect::_Intersection( const SwRect& rRect ) in _Intersection() argument
145 if ( Left() < rRect.Left() ) in _Intersection()
146 Left( rRect.Left() ); in _Intersection()
147 if ( Top() < rRect.Top() ) in _Intersection()
148 Top( rRect.Top() ); in _Intersection()
149 long n = rRect.Right(); in _Intersection()
152 n = rRect.Bottom(); in _Intersection()
169 sal_Bool SwRect::IsInside( const SwRect& rRect ) const in IsInside()
173 const long nrRight = rRect.Right(); in IsInside()
174 const long nrBottom= rRect.Bottom(); in IsInside()
175 return (Left() <= rRect.Left()) && (rRect.Left()<= nRight) && in IsInside()
177 (Top() <= rRect.Top()) && (rRect.Top() <= nBottom) && in IsInside()
213 sal_Bool SwRect::IsOver( const SwRect& rRect ) const in IsOver()
215 return (Top() <= rRect.Bottom()) in IsOver()
216 && (Left() <= rRect.Right()) in IsOver()
217 && (Right() >= rRect.Left()) in IsOver()
218 && (Bottom()>= rRect.Top()) ? sal_True : sal_False; in IsOver()
324 SvStream &operator<<( SvStream &rStream, const SwRect &rRect ) in operator <<() argument
326 rStream << '[' << rRect.Top() << '/' << rRect.Left() in operator <<()
327 << ',' << rRect.Width() << 'x' << rRect.Height() << "] "; in operator <<()