Fixes: lp:1683128 (pcbnew: the cairo canvas ignore arc width)

https://bugs.launchpad.net/kicad/+bug/1683128
This commit is contained in:
jean-pierre charras 2017-04-16 19:21:31 +02:00
parent 88105f891f
commit e97c91b025
1 changed files with 2 additions and 0 deletions

View File

@ -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 );