24#ifndef SCH_ITEM_ALIGNMENT_H
25#define SCH_ITEM_ALIGNMENT_H
98 const std::vector<EDA_ITEM*>& aItems,
A base class for most all the KiCad significant classes used in schematics and boards.
Base class for any item which can be embedded within the SCHEMATIC container class,...
std::vector< EDA_ITEM * > EDA_ITEMS
void MoveSchematicItem(EDA_ITEM *aItem, const VECTOR2I &aDelta)
Move a schematic item by a delta.
void AlignSchematicItemsToGrid(SCH_SCREEN *aScreen, const std::vector< EDA_ITEM * > &aItems, EE_GRID_HELPER &aGrid, GRID_HELPER_GRIDS aSelectionGrid, const SCH_ALIGNMENT_CALLBACKS &aCallbacks)
Align a set of schematic items to the grid.
Callbacks for alignment operations.
std::function< void(SCH_ITEM *aItem, const VECTOR2I &aPoint, EDA_ITEMS &aList)> m_getConnectedDragItems
Callback to get items connected to a given item at a specific point.
std::function< void(EDA_ITEM *aItem, const VECTOR2I &aDelta)> m_doMoveItem
Callback to move an item by a delta.
std::function< void(EDA_ITEM *aItem)> m_updateItem
Optional callback to update an item's display after modification.
VECTOR2< int32_t > VECTOR2I