Pcbnew: fix bad arcs in plot postscript (from Simon Schubert)
This commit is contained in:
parent
23aea616e0
commit
bcd66579d9
|
@ -153,6 +153,9 @@ void PS_PLOTTER::arc( wxPoint centre, int StAngle, int EndAngle, int radius,
|
||||||
if( radius <= 0 )
|
if( radius <= 0 )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if( StAngle > EndAngle )
|
||||||
|
EXCHG( StAngle, EndAngle );
|
||||||
|
|
||||||
set_current_line_width( width );
|
set_current_line_width( width );
|
||||||
|
|
||||||
// Calculate start point.
|
// Calculate start point.
|
||||||
|
|
Loading…
Reference in New Issue