28 using namespace std::placeholders;
68 if( topLeftItem ==
nullptr )
72 else if( ( pnt.x < topLeftItem->
GetPosition().x ) ||
87 std::vector<VIEW_ITEM*> items;
89 std::function<void (
EDA_ITEM* )> addItem;
92 items.push_back( item );
96 FOOTPRINT* footprint = static_cast<FOOTPRINT*>( item );
125 if(
BOARD_ITEM* board_item = dynamic_cast<BOARD_ITEM*>( item ) )
126 retval |= board_item->GetLayerSet();
A base class for any item which can be embedded within the BOARD container class, and therefore insta...
class PCB_GROUP, a set of BOARD_ITEMs
A set of BOARD_ITEMs (i.e., without duplicates).
virtual wxPoint GetPosition() const
LSET is a set of PCB_LAYER_IDs.
EDA_ITEM * GetTopLeftItem(bool aFootprintsOnly=false) const override
class FOOTPRINT, a footprint
const std::vector< KIGFX::VIEW_ITEM * > updateDrawList() const override
A base class for most all the KiCad significant classes used in schematics and boards.
const LSET GetSelectionLayers()