Lines Matching refs:nLeft
47 sal_Int32 Width (const sal_Int32 nLeft, const sal_Int32 nRight) in Width() argument
49 return nRight - nLeft + 1; in Width()
91 const sal_Int32 nLeft (Floor(rBox.X1)); in ConvertRectangle() local
95 return awt::Rectangle (nLeft,nTop,nRight-nLeft,nBottom-nTop); in ConvertRectangle()
142 const sal_Int32 nLeft (::std::max(rBox1.X, rBox2.X)); 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()
159 const double nLeft (::std::max(rBox1.X1, rBox2.X1)); in Intersection() local
163 if (nLeft >= nRight || nTop >= nBottom) in Intersection()
166 return geometry::RealRectangle2D(nLeft,nTop, nRight, nBottom); in Intersection()
207 const sal_Int32 nLeft (::std::min(rBox1.X, rBox2.X)); 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()
224 const double nLeft (::std::min(rBox1.X1, rBox2.X1)); in Union() local
228 if (nLeft >= nRight || nTop >= nBottom) in Union()
231 return geometry::RealRectangle2D(nLeft,nTop, nRight, nBottom); in Union()