tdf#148526 sdext,pdfimport: clipToStrokePath: Set line join
Set the line join type from our GC. Change-Id: I8f64ae032930e46028cd49efefb05af06d4866d6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172926 Tested-by: Jenkins Reviewed-by: David Gilbert <freedesktop@treblig.org>
This commit is contained in:
parent
84cc3180c8
commit
b4faa1775d
1 changed files with 2 additions and 1 deletions
|
@ -548,7 +548,8 @@ void PDFIProcessor::intersectClipToStroke(const uno::Reference< rendering::XPoly
|
|||
// thickness etc is set. PolyPolygonStrokePrimitive2D::create2DDecomposition does most
|
||||
// of the work.
|
||||
const basegfx::BColor aBlack(0.0, 0.0, 0.0);
|
||||
drawinglayer::attribute::LineAttribute aLineAttribute(aBlack, rGC.LineWidth * nScale /*, aJoin */);
|
||||
drawinglayer::attribute::LineAttribute aLineAttribute(aBlack, rGC.LineWidth * nScale,
|
||||
rGC.LineJoin);
|
||||
rtl::Reference<drawinglayer::primitive2d::PolyPolygonStrokePrimitive2D> aStrokePrimitive(
|
||||
new drawinglayer::primitive2d::PolyPolygonStrokePrimitive2D(aNewClip, aLineAttribute));
|
||||
drawinglayer::primitive2d::Primitive2DContainer aPrimitiveContainer;
|
||||
|
|
Loading…
Reference in a new issue