Change postscript circle plotting to use default linewidth.

This commit is contained in:
Marco Mattila 2011-02-07 22:12:19 +02:00
parent bdadac7b7d
commit f92da901fb
1 changed files with 3 additions and 4 deletions

View File

@ -428,14 +428,13 @@ void PS_PLOTTER::flash_pad_circle( wxPoint pos, int diametre,
wxASSERT( output_file );
if( modetrace == FILLED )
{
set_current_line_width( 0 );
circle( pos, diametre, FILLED_SHAPE );
set_current_line_width( -1 );
circle( pos, diametre - current_pen_width, FILLED_SHAPE );
}
else
{
set_current_line_width( -1 );
int w = current_pen_width;
circle( pos, diametre - 2 * w, NO_FILL );
circle( pos, diametre - current_pen_width, NO_FILL );
}
}