Lines Matching refs:nRight
47 sal_Int32 Width (const sal_Int32 nLeft, const sal_Int32 nRight) in Width() argument
49 return nRight - nLeft + 1; in Width()
93 const sal_Int32 nRight (Ceil(rBox.X2)); in ConvertRectangle() local
95 return awt::Rectangle (nLeft,nTop,nRight-nLeft,nBottom-nTop); in ConvertRectangle()
144 const sal_Int32 nRight (::std::min(Right(rBox1), Right(rBox2))); in Intersection() local
146 if (nLeft >= nRight || nTop >= nBottom) in Intersection()
149 return awt::Rectangle(nLeft,nTop, Width(nLeft,nRight), Height(nTop,nBottom)); in Intersection()
161 const double nRight (::std::min(rBox1.X2, rBox2.X2)); in Intersection() local
163 if (nLeft >= nRight || nTop >= nBottom) in Intersection()
166 return geometry::RealRectangle2D(nLeft,nTop, nRight, nBottom); in Intersection()
209 const sal_Int32 nRight (::std::max(Right(rBox1), Right(rBox2))); in Union() local
211 if (nLeft >= nRight || nTop >= nBottom) in Union()
214 return awt::Rectangle(nLeft,nTop, Width(nLeft,nRight), Height(nTop,nBottom)); in Union()
226 const double nRight (::std::max(rBox1.X2, rBox2.X2)); in Union() local
228 if (nLeft >= nRight || nTop >= nBottom) in Union()
231 return geometry::RealRectangle2D(nLeft,nTop, nRight, nBottom); in Union()