Lines Matching refs:rBox2

140     const css::awt::Rectangle& rBox2)  in Intersection()  argument
142 const sal_Int32 nLeft (::std::max(rBox1.X, rBox2.X)); in Intersection()
143 const sal_Int32 nTop (::std::max(rBox1.Y, rBox2.Y)); in Intersection()
144 const sal_Int32 nRight (::std::min(Right(rBox1), Right(rBox2))); in Intersection()
145 const sal_Int32 nBottom (::std::min(Bottom(rBox1), Bottom(rBox2))); in Intersection()
157 const geometry::RealRectangle2D& rBox2) in Intersection() argument
159 const double nLeft (::std::max(rBox1.X1, rBox2.X1)); in Intersection()
160 const double nTop (::std::max(rBox1.Y1, rBox2.Y1)); in Intersection()
161 const double nRight (::std::min(rBox1.X2, rBox2.X2)); in Intersection()
162 const double nBottom (::std::min(rBox1.Y2, rBox2.Y2)); in Intersection()
187 const css::awt::Rectangle& rBox2) in IsInside() argument
189 return rBox1.X >= rBox2.X in IsInside()
190 && rBox1.Y >= rBox2.Y in IsInside()
191 && rBox1.X+rBox1.Width <= rBox2.X+rBox2.Width in IsInside()
192 && rBox1.Y+rBox1.Height <= rBox2.Y+rBox2.Height; in IsInside()
200 const css::awt::Rectangle& rBox2) in Union() argument
203 return rBox2; in Union()
204 else if (rBox2.Width<=0 || rBox2.Height<=0) in Union()
207 const sal_Int32 nLeft (::std::min(rBox1.X, rBox2.X)); in Union()
208 const sal_Int32 nTop (::std::min(rBox1.Y, rBox2.Y)); in Union()
209 const sal_Int32 nRight (::std::max(Right(rBox1), Right(rBox2))); in Union()
210 const sal_Int32 nBottom (::std::max(Bottom(rBox1), Bottom(rBox2))); in Union()
222 const geometry::RealRectangle2D& rBox2) in Union() argument
224 const double nLeft (::std::min(rBox1.X1, rBox2.X1)); in Union()
225 const double nTop (::std::min(rBox1.Y1, rBox2.Y1)); in Union()
226 const double nRight (::std::max(rBox1.X2, rBox2.X2)); in Union()
227 const double nBottom (::std::max(rBox1.Y2, rBox2.Y2)); in Union()
239 const css::awt::Rectangle& rBox2) in AreRectanglesDisjoint() argument
241 return rBox1.X+rBox1.Width <= rBox2.X in AreRectanglesDisjoint()
242 || rBox1.Y+rBox1.Height <= rBox2.Y in AreRectanglesDisjoint()
243 || rBox1.X >= rBox2.X+rBox2.Width in AreRectanglesDisjoint()
244 || rBox1.Y >= rBox2.Y+rBox2.Height; in AreRectanglesDisjoint()