Pcbnew: fix bad arcs in plot postscript (from Simon Schubert)
This commit is contained in:
committed by
jean-pierre charras
parent
214e5cc6e3
commit
d484fbd93c
@@ -153,6 +153,9 @@ void PS_PLOTTER::arc( wxPoint centre, int StAngle, int EndAngle, int radius,
|
||||
if( radius <= 0 )
|
||||
return;
|
||||
|
||||
if( StAngle > EndAngle )
|
||||
EXCHG( StAngle, EndAngle );
|
||||
|
||||
set_current_line_width( width );
|
||||
|
||||
// Calculate start point.
|
||||
|
||||
Reference in New Issue
Block a user