From e97c91b0253da3d9a1e92791107419b7323f8a06 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sun, 16 Apr 2017 19:21:31 +0200 Subject: [PATCH] Fixes: lp:1683128 (pcbnew: the cairo canvas ignore arc width) https://bugs.launchpad.net/kicad/+bug/1683128 --- common/gal/cairo/cairo_gal.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/gal/cairo/cairo_gal.cpp b/common/gal/cairo/cairo_gal.cpp index 0f08ada49c..1324811a0b 100644 --- a/common/gal/cairo/cairo_gal.cpp +++ b/common/gal/cairo/cairo_gal.cpp @@ -269,6 +269,8 @@ void CAIRO_GAL::DrawArcSegment( const VECTOR2D& aCenterPoint, double aRadius, do if( isFillEnabled ) { + // Filled segments mode + SetLineWidth( aWidth ); cairo_arc( currentContext, aCenterPoint.x, aCenterPoint.y, aRadius, aStartAngle, aEndAngle ); cairo_set_source_rgba( currentContext, fillColor.r, fillColor.g, fillColor.b, fillColor.a ); cairo_stroke( currentContext );