|
|
@ -2319,7 +2319,8 @@ static struct EDA_SHAPE_DESC |
|
|
|
PROPERTY_MANAGER& propMgr = PROPERTY_MANAGER::Instance(); |
|
|
|
REGISTER_TYPE( EDA_SHAPE ); |
|
|
|
|
|
|
|
auto isNotPolygonOrCircle = []( INSPECTABLE* aItem ) -> bool |
|
|
|
auto isNotPolygonOrCircle = |
|
|
|
[]( INSPECTABLE* aItem ) -> bool |
|
|
|
{ |
|
|
|
// Polygons, unlike other shapes, have no meaningful start or end coordinates
|
|
|
|
if( EDA_SHAPE* shape = dynamic_cast<EDA_SHAPE*>( aItem ) ) |
|
|
@ -2328,7 +2329,8 @@ static struct EDA_SHAPE_DESC |
|
|
|
return false; |
|
|
|
}; |
|
|
|
|
|
|
|
auto isCircle = []( INSPECTABLE* aItem ) -> bool |
|
|
|
auto isCircle = |
|
|
|
[]( INSPECTABLE* aItem ) -> bool |
|
|
|
{ |
|
|
|
// Polygons, unlike other shapes, have no meaningful start or end coordinates
|
|
|
|
if( EDA_SHAPE* shape = dynamic_cast<EDA_SHAPE*>( aItem ) ) |
|
|
@ -2337,7 +2339,8 @@ static struct EDA_SHAPE_DESC |
|
|
|
return false; |
|
|
|
}; |
|
|
|
|
|
|
|
auto isRectangle = []( INSPECTABLE* aItem ) -> bool |
|
|
|
auto isRectangle = |
|
|
|
[]( INSPECTABLE* aItem ) -> bool |
|
|
|
{ |
|
|
|
// Polygons, unlike other shapes, have no meaningful start or end coordinates
|
|
|
|
if( EDA_SHAPE* shape = dynamic_cast<EDA_SHAPE*>( aItem ) ) |
|
|
|