replace "BasicShape" by "Primitive" in code, a better name

This commit is contained in:
jean-pierre charras
2017-09-20 12:51:10 +02:00
parent 4122aa1c01
commit a43f3ab1fe
21 changed files with 249 additions and 249 deletions
+2 -2
View File
@@ -185,12 +185,12 @@ void BRDITEMS_PLOTTER::PlotPad( D_PAD* aPad, COLOR4D aColor, EDA_DRAW_MODE_T aPl
case PAD_SHAPE_CUSTOM:
{
SHAPE_POLY_SET polygons;
aPad->MergeBasicShapesAsPolygon(&polygons, 64 );
aPad->MergePrimitivesAsPolygon(&polygons, 64 );
if( polygons.OutlineCount() == 0 )
break;
aPad->BasicShapesAsPolygonToBoardPosition( &polygons, shape_pos, aPad->GetOrientation() );
aPad->CustomShapeAsPolygonToBoardPosition( &polygons, shape_pos, aPad->GetOrientation() );
m_plotter->FlashPadCustom( shape_pos, aPad->GetSize(), &polygons, aPlotMode, &gbr_metadata );
}
break;