summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-01-15 16:24:12 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-01-17 11:33:15 -0500
commit0a8ddb61b1178a7ab48de7aa3383cea4c4c1774c (patch)
treefa53f6ddeb4ca48cf626e6e7e9c7f05909f11e3d /include
parent5250a9ae8eaa8eac2595a073153ee1140e64ed10 (diff)
Apply dashing without consulting current map unit.
Using scaling is sufficient. Change-Id: If976bec3940772432d814a77681170d7c99306d2
Diffstat (limited to 'include')
-rw-r--r--include/svtools/borderhelper.hxx17
1 files changed, 7 insertions, 10 deletions
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 <basegfx/point/b2dpoint.hxx>
#include <vcl/outdev.hxx>
-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