Kaydet (Commit) 1d478d5b authored tarafından Caolán McNamara's avatar Caolán McNamara

use same cut-off width value for non-joining drawPolyLine as windows does

Change-Id: Ifc03da8ea65faca51ffa62fcee08fbcfacad6b20
üst c3cc5596
...@@ -690,8 +690,7 @@ bool SvpSalGraphics::drawPolyLine( ...@@ -690,8 +690,7 @@ bool SvpSalGraphics::drawPolyLine(
return true; return true;
} }
// #i104886# linejoin-mode and thus the above only applies to "fat" lines const bool bNoJoin = (basegfx::B2DLineJoin::NONE == eLineJoin && basegfx::fTools::more(rLineWidths.getX(), 0.0));
bool bNoJoin = (basegfx::B2DLineJoin::NONE == eLineJoin && rLineWidths.getX() > 1.3);
cairo_t* cr = getCairoContext(false); cairo_t* cr = getCairoContext(false);
clipRegion(cr); clipRegion(cr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment