diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-02-02 16:09:55 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-02-02 16:41:23 +0000 |
commit | 1d478d5b7ee71d991e6bb8b20cc0178ffec1d2e6 (patch) | |
tree | 18053466111dbedae1ea0467a3aee43da13ee1e1 /vcl/headless | |
parent | c3cc55968eade5c03efca02d4f056b145cd89a70 (diff) |
use same cut-off width value for non-joining drawPolyLine as windows does
Change-Id: Ifc03da8ea65faca51ffa62fcee08fbcfacad6b20
Diffstat (limited to 'vcl/headless')
-rw-r--r-- | vcl/headless/svpgdi.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx index 9769f9132767..c72efcaa6401 100644 --- a/vcl/headless/svpgdi.cxx +++ b/vcl/headless/svpgdi.cxx @@ -690,8 +690,7 @@ bool SvpSalGraphics::drawPolyLine( return true; } - // #i104886# linejoin-mode and thus the above only applies to "fat" lines - bool bNoJoin = (basegfx::B2DLineJoin::NONE == eLineJoin && rLineWidths.getX() > 1.3); + const bool bNoJoin = (basegfx::B2DLineJoin::NONE == eLineJoin && basegfx::fTools::more(rLineWidths.getX(), 0.0)); cairo_t* cr = getCairoContext(false); clipRegion(cr); |