Adding SHAPE_ARC direct plotting
This commit is contained in:
@@ -816,6 +816,7 @@ void GERBER_PLOTTER::Circle( const wxPoint& aCenter, int aDiameter, FILL_TYPE aF
|
||||
}
|
||||
|
||||
|
||||
|
||||
void GERBER_PLOTTER::Arc( const wxPoint& aCenter, double aStAngle, double aEndAngle,
|
||||
int aRadius, FILL_TYPE aFill, int aWidth )
|
||||
{
|
||||
@@ -825,6 +826,14 @@ void GERBER_PLOTTER::Arc( const wxPoint& aCenter, double aStAngle, double aEndAn
|
||||
plotArc( aCenter, aStAngle, aEndAngle, aRadius, false );
|
||||
}
|
||||
|
||||
void GERBER_PLOTTER::Arc( const SHAPE_ARC& aArc )
|
||||
{
|
||||
SetCurrentLineWidth( aArc.GetWidth() );
|
||||
|
||||
// aFill is not used here.
|
||||
plotArc( aArc, false );
|
||||
}
|
||||
|
||||
|
||||
void GERBER_PLOTTER::plotArc( const SHAPE_ARC& aArc, bool aPlotInRegion )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user