60 auto footprint = std::make_unique<FOOTPRINT>( &board );
65 auto padA =
makeRoundPad( footprint.get(), posA, { 0, 0 } );
66 auto padB =
makeRoundPad( footprint.get(), posB, { 0, 0 } );
82 auto footprint = std::make_unique<FOOTPRINT>( &board );
90 auto padB =
makeRoundPad( footprint.get(), posB, { 0, 0 } );
109 auto footprint = std::make_unique<FOOTPRINT>( &board );
136 auto footprint = std::make_unique<FOOTPRINT>( &board );
143 auto padB =
makeRoundPad( footprint.get(), posB, { 0, 0 } );
145 VECTOR2I originalPosA = padA->GetPosition();
146 VECTOR2I originalPosB = padB->GetPosition();
static void SwapShapePositions(PAD *aLhs, PAD *aRhs)
Swap the visible shape positions of two pads, preserving each pad's own shape offset.
BOOST_CHECK_EQUAL(result, "25.4")