From f92da901fb022c5d1f627e7e126ea0616abb32f8 Mon Sep 17 00:00:00 2001 From: Marco Mattila Date: Mon, 7 Feb 2011 22:12:19 +0200 Subject: [PATCH] Change postscript circle plotting to use default linewidth. --- common/common_plotPS_functions.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/common/common_plotPS_functions.cpp b/common/common_plotPS_functions.cpp index 851e54a38a..820ba224d6 100644 --- a/common/common_plotPS_functions.cpp +++ b/common/common_plotPS_functions.cpp @@ -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 ); } }