Kaydet (Commit) 30fdc469 authored tarafından Armin Le Grand's avatar Armin Le Grand Kaydeden (comit) Thorsten Behrens

tdf#50613 add close_path to correctly show closed polygons

For closed polygons it is essential to add a close_path to
correctly show the last line join.

Change-Id: Ib6f37bbc5e85133f21a936b186eb0ab12773f7da
üst cb382034
...@@ -829,6 +829,11 @@ bool X11SalGraphics::drawPolyLine( ...@@ -829,6 +829,11 @@ bool X11SalGraphics::drawPolyLine(
} }
} }
if(rPolygon.isClosed() && !bNoJoin)
{
cairo_close_path(cr);
}
cairo_stroke(cr); cairo_stroke(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