diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-01-18 23:02:05 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-01-20 14:37:02 -0500 |
commit | ec1a3157c1851dcb481f402ec25aa38fa9e7c51c (patch) | |
tree | 8f5deeb7c3a636a79106c0de4054d202368c64ac /include/svtools | |
parent | 6a3fb868b2b8af21f7b6140424b6f8377599a786 (diff) |
Better pixelization of dashed lines for screen rendering.
Now the dashed lines are evenly placed on screen. For now, horizontal lines
only. I'll work on vertical lines later.
Change-Id: I474e9c8214e5f079ea2cfca12b35381d8fcf2ae1
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/borderhelper.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/svtools/borderhelper.hxx b/include/svtools/borderhelper.hxx index a1eb77bdb08f..5e4328dfd147 100644 --- a/include/svtools/borderhelper.hxx +++ b/include/svtools/borderhelper.hxx @@ -29,6 +29,8 @@ namespace svtools { +SVT_DLLPUBLIC std::vector<double> GetLineDashing( sal_uInt16 nDashing, double fScale ); + SVT_DLLPUBLIC basegfx::B2DPolyPolygon ApplyLineDashing( const basegfx::B2DPolygon& rPolygon, sal_uInt16 nDashing, double fScale ); |