42    EDA_ITEM* topLeftConnectedItem = 
nullptr;
 
   53                if( ( *aCurrent == 
nullptr )
 
   54                    || ( pos.
x < aCurrentPos->x )
 
   55                    || ( pos.
x == aCurrentPos->x && pos.
y < aCurrentPos->y ) )
 
   73            processItem( item, &topLeftConnectedItem, &topLeftConnectedPos );
 
   75        processItem( item, &topLeftItem, &topLeftPos );
 
   78    if( topLeftConnectedItem )
 
   79        return topLeftConnectedItem;
 
 
   99            catch( 
const boost::bad_pointer& )
 
  101                wxFAIL_MSG( 
"Invalid pointer." );
 
  106            bbox.
Merge( 
static_cast<SCH_SHEET*
>( item )->GetBodyBoundingBox() );
 
  110            bbox.
Merge( item->GetBoundingBox() );
 
 
  120    std::vector<VIEW_ITEM*> items;
 
  125                items.push_back( item );
 
 
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
 
Base class for any item which can be embedded within the SCHEMATIC container class,...
 
virtual bool IsConnectable() const
 
const std::vector< KIGFX::VIEW_ITEM * > updateDrawList() const override
 
EDA_ITEM * GetTopLeftItem(bool onlyModules=false) const override
 
SCH_SELECTION(SCH_SCREEN *aScreen=nullptr)
 
BOX2I GetBoundingBox() const override
 
SCH_SCREEN * m_screen
Screen of selected objects.
 
Sheet symbol placed in a schematic, and is the entry point for a sub schematic.
 
std::deque< EDA_ITEM * > m_items
 
Definition of the SCH_SHEET_PATH and SCH_SHEET_LIST classes for Eeschema.
 
VECTOR2< int32_t > VECTOR2I