From 0a8ddb61b1178a7ab48de7aa3383cea4c4c1774c Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Wed, 15 Jan 2014 16:24:12 -0500 Subject: Apply dashing without consulting current map unit. Using scaling is sufficient. Change-Id: If976bec3940772432d814a77681170d7c99306d2 --- include/svtools/borderhelper.hxx | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'include/svtools') diff --git a/include/svtools/borderhelper.hxx b/include/svtools/borderhelper.hxx index ea89ca8e8e3e..a1eb77bdb08f 100644 --- a/include/svtools/borderhelper.hxx +++ b/include/svtools/borderhelper.hxx @@ -27,19 +27,16 @@ #include #include -namespace svtools -{ - SVT_DLLPUBLIC basegfx::B2DPolyPolygon ApplyLineDashing( const basegfx::B2DPolygon& rPolygon, - sal_uInt16 nDashing, MapUnit eUnit ); +namespace svtools { - SVT_DLLPUBLIC basegfx::B2DPolyPolygon ApplyLineDashing( const basegfx::B2DPolygon& rPolygon, - sal_uInt16 nDashing, MapUnit eUnit, double fScale ); +SVT_DLLPUBLIC basegfx::B2DPolyPolygon ApplyLineDashing( + const basegfx::B2DPolygon& rPolygon, sal_uInt16 nDashing, double fScale ); - SVT_DLLPUBLIC void DrawLine( OutputDevice& rDev, const basegfx::B2DPoint& rBeg, - const basegfx::B2DPoint& rEnd, sal_uInt32 nWidth, sal_uInt16 nDashing ); +SVT_DLLPUBLIC void DrawLine( OutputDevice& rDev, const basegfx::B2DPoint& rBeg, + const basegfx::B2DPoint& rEnd, sal_uInt32 nWidth, sal_uInt16 nDashing ); - SVT_DLLPUBLIC void DrawLine( OutputDevice& rDev, const Point& rBeg, - const Point& rEnd, sal_uInt32 nWidth, sal_uInt16 nDashing ); +SVT_DLLPUBLIC void DrawLine( OutputDevice& rDev, const Point& rBeg, + const Point& rEnd, sal_uInt32 nWidth, sal_uInt16 nDashing ); } #endif -- cgit