summaryrefslogtreecommitdiff
path: root/include/basegfx/utils
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2022-09-21 12:17:00 +0200
committerTomaž Vajngerl <quikee@gmail.com>2023-07-13 13:19:00 +0200
commitf896bbcffeccd27248f908d2628d03dddf83ea94 (patch)
treeffbf0300461780c94e897cad2ad29906695ac91d /include/basegfx/utils
parent6086d896183a529d4a0b83d4862970c8f320b0aa (diff)
basegfx: replace typedef with a class B2ISize based on Size2D
Change-Id: Iaf7d02bb236f81a38a67a1430a718b6c3c78efae Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139708 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/basegfx/utils')
-rw-r--r--include/basegfx/utils/canvastools.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/basegfx/utils/canvastools.hxx b/include/basegfx/utils/canvastools.hxx
index 228a1b0f504a..46466097723d 100644
--- a/include/basegfx/utils/canvastools.hxx
+++ b/include/basegfx/utils/canvastools.hxx
@@ -61,6 +61,7 @@ namespace basegfx
class B2DPolygon;
class B2DPolyPolygon;
class B2DSize;
+ class B2ISize;
}
namespace basegfx::unotools
@@ -129,9 +130,9 @@ namespace basegfx::unotools
BASEGFX_DLLPUBLIC ::basegfx::B2DRange b2DRectangleFromRealRectangle2D( const css::geometry::RealRectangle2D& );
::basegfx::B3DRange b3DRectangleFromRealRectangle3D( const css::geometry::RealRectangle3D& );
- BASEGFX_DLLPUBLIC css::geometry::IntegerSize2D integerSize2DFromB2ISize( const ::basegfx::B2IVector& );
+ BASEGFX_DLLPUBLIC css::geometry::IntegerSize2D integerSize2DFromB2ISize(basegfx::B2ISize const& rSize);
- BASEGFX_DLLPUBLIC ::basegfx::B2IVector b2ISizeFromIntegerSize2D( const css::geometry::IntegerSize2D& );
+ BASEGFX_DLLPUBLIC ::basegfx::B2ISize b2ISizeFromIntegerSize2D( const css::geometry::IntegerSize2D& );
BASEGFX_DLLPUBLIC ::basegfx::B2IRange b2IRectangleFromIntegerRectangle2D( const css::geometry::IntegerRectangle2D& );
BASEGFX_DLLPUBLIC ::basegfx::B2IRange b2IRectangleFromAwtRectangle( const css::awt::Rectangle& );