Commit f92da901 authored by Marco Mattila's avatar Marco Mattila

Change postscript circle plotting to use default linewidth.

parent bdadac7b
...@@ -428,14 +428,13 @@ void PS_PLOTTER::flash_pad_circle( wxPoint pos, int diametre, ...@@ -428,14 +428,13 @@ void PS_PLOTTER::flash_pad_circle( wxPoint pos, int diametre,
wxASSERT( output_file ); wxASSERT( output_file );
if( modetrace == FILLED ) if( modetrace == FILLED )
{ {
set_current_line_width( 0 ); set_current_line_width( -1 );
circle( pos, diametre, FILLED_SHAPE ); circle( pos, diametre - current_pen_width, FILLED_SHAPE );
} }
else else
{ {
set_current_line_width( -1 ); set_current_line_width( -1 );
int w = current_pen_width; circle( pos, diametre - current_pen_width, NO_FILL );
circle( pos, diametre - 2 * w, NO_FILL );
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment