Change postscript circle plotting to use default linewidth.
This commit is contained in:
parent
bdadac7b7d
commit
f92da901fb
|
@ -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 );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue