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 );
 
   94                if( item->IsBOARD_ITEM() )
 
  100                                                  addItem( childItem );
 
 
  127            bbox.
Merge( item->GetBoundingBox() );
 
 
A base class for any item which can be embedded within the BOARD container class, and therefore insta...
 
virtual void RunOnChildren(const std::function< void(BOARD_ITEM *)> &aFunction, RECURSE_MODE aMode) const
Invoke a function on all children.
 
constexpr BOX2< Vec > & Merge(const BOX2< Vec > &aRect)
Modify the position and size of the rectangle in order to contain aRect.
 
A base class for most all the KiCad significant classes used in schematics and boards.
 
virtual VECTOR2I GetPosition() const
 
EDA_ITEM * GetTopLeftItem(bool aFootprintsOnly=false) const override
 
BOX2I GetBoundingBox() 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
 
VECTOR2< int32_t > VECTOR2I