28using namespace std::placeholders;
60 pnt = item->GetPosition();
68 if( topLeftItem ==
nullptr )
87 std::vector<VIEW_ITEM*> items;
89 std::function<void (
EDA_ITEM* )> addItem =
92 items.push_back( item );
96 boardItem->RunOnChildren( [&](
BOARD_ITEM* bitem )
117 retval |= board_item->GetLayerSet();
A base class for any item which can be embedded within the BOARD container class, and therefore insta...
A base class for most all the KiCad significant classes used in schematics and boards.
virtual VECTOR2I GetPosition() const
LSET is a set of PCB_LAYER_IDs.
const LSET GetSelectionLayers()
EDA_ITEM * GetTopLeftItem(bool aFootprintsOnly=false) const override
const std::vector< KIGFX::VIEW_ITEM * > updateDrawList() const override
std::deque< EDA_ITEM * > m_items
Class to handle a set of BOARD_ITEMs.
@ PCB_FOOTPRINT_T
class FOOTPRINT, a footprint