Lines Matching refs:rRect
464 geometry::RealRectangle2D rectangle2DFromB2DRectangle( const ::basegfx::B2DRange& rRect ) in rectangle2DFromB2DRectangle() argument
466 return geometry::RealRectangle2D( rRect.getMinX(), in rectangle2DFromB2DRectangle()
467 rRect.getMinY(), in rectangle2DFromB2DRectangle()
468 rRect.getMaxX(), in rectangle2DFromB2DRectangle()
469 rRect.getMaxY() ); in rectangle2DFromB2DRectangle()
472 geometry::RealRectangle3D rectangle3DFromB3DRectangle( const ::basegfx::B3DRange& rRect ) in rectangle3DFromB3DRectangle() argument
474 return geometry::RealRectangle3D( rRect.getMinX(), in rectangle3DFromB3DRectangle()
475 rRect.getMinY(), in rectangle3DFromB3DRectangle()
476 rRect.getMinZ(), in rectangle3DFromB3DRectangle()
477 rRect.getMaxX(), in rectangle3DFromB3DRectangle()
478 rRect.getMaxY(), in rectangle3DFromB3DRectangle()
479 rRect.getMaxZ()); in rectangle3DFromB3DRectangle()
494 … ::basegfx::B2DRange b2DRectangleFromRealRectangle2D( const geometry::RealRectangle2D& rRect ) in b2DRectangleFromRealRectangle2D() argument
496 return ::basegfx::B2DRange( rRect.X1, in b2DRectangleFromRealRectangle2D()
497 rRect.Y1, in b2DRectangleFromRealRectangle2D()
498 rRect.X2, in b2DRectangleFromRealRectangle2D()
499 rRect.Y2 ); in b2DRectangleFromRealRectangle2D()
502 … ::basegfx::B3DRange b3DRectangleFromRealRectangle3D( const geometry::RealRectangle3D& rRect ) in b3DRectangleFromRealRectangle3D() argument
504 return ::basegfx::B3DRange( rRect.X1, in b3DRectangleFromRealRectangle3D()
505 rRect.Y1, in b3DRectangleFromRealRectangle3D()
506 rRect.Z1, in b3DRectangleFromRealRectangle3D()
507 rRect.X2, in b3DRectangleFromRealRectangle3D()
508 rRect.Y2, in b3DRectangleFromRealRectangle3D()
509 rRect.Z2); in b3DRectangleFromRealRectangle3D()
560 awt::Rectangle awtRectangleFromB2IRectangle( const ::basegfx::B2IRange& rRect ) in awtRectangleFromB2IRectangle() argument
562 OSL_ENSURE( rRect.getWidth() < ::std::numeric_limits< sal_Int32 >::max() && in awtRectangleFromB2IRectangle()
563 rRect.getWidth() > ::std::numeric_limits< sal_Int32 >::min(), in awtRectangleFromB2IRectangle()
565 OSL_ENSURE( rRect.getHeight() < ::std::numeric_limits< sal_Int32 >::max() && in awtRectangleFromB2IRectangle()
566 rRect.getHeight() > ::std::numeric_limits< sal_Int32 >::min(), in awtRectangleFromB2IRectangle()
569 return awt::Rectangle( rRect.getMinX(), in awtRectangleFromB2IRectangle()
570 rRect.getMinY(), in awtRectangleFromB2IRectangle()
571 static_cast< sal_Int32 >(rRect.getWidth()), in awtRectangleFromB2IRectangle()
572 static_cast< sal_Int32 >(rRect.getHeight()) ); in awtRectangleFromB2IRectangle()
587 ::basegfx::B2IRange b2IRectangleFromAwtRectangle( const awt::Rectangle& rRect ) in b2IRectangleFromAwtRectangle() argument
589 return ::basegfx::B2IRange( rRect.X, in b2IRectangleFromAwtRectangle()
590 rRect.Y, in b2IRectangleFromAwtRectangle()
591 rRect.X + rRect.Width, in b2IRectangleFromAwtRectangle()
592 rRect.Y + rRect.Height ); in b2IRectangleFromAwtRectangle()