56 auto footprint = std::make_unique<FOOTPRINT>( &board );
61 auto padA =
makeRoundPad( footprint.get(), posA, { 0, 0 } );
62 auto padB =
makeRoundPad( footprint.get(), posB, { 0, 0 } );
78 auto footprint = std::make_unique<FOOTPRINT>( &board );
86 auto padB =
makeRoundPad( footprint.get(), posB, { 0, 0 } );
105 auto footprint = std::make_unique<FOOTPRINT>( &board );
132 auto footprint = std::make_unique<FOOTPRINT>( &board );
139 auto padB =
makeRoundPad( footprint.get(), posB, { 0, 0 } );
141 VECTOR2I originalPosA = padA->GetPosition();
142 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")