20#ifndef BLOCK_DRAG_DEPENDENTS_H
21#define BLOCK_DRAG_DEPENDENTS_H
88 const std::vector<BLOCK_DRAG_ENDPOINT>& aMovedEndpoints,
bool aOverrideLocks,
89 std::vector<BLOCK_DRAG_ENDPOINT>& aDependents );
BLOCK_DRAG_DEPENDENT_RESULT BlockDragFindDependents(const std::vector< PCB_SHAPE * > &aCandidates, const std::vector< BLOCK_DRAG_ENDPOINT > &aMovedEndpoints, bool aOverrideLocks, std::vector< BLOCK_DRAG_ENDPOINT > &aDependents)
Find the joined endpoints that have to follow the ones the drag moves.
BLOCK_DRAG_DEPENDENT_RESULT
@ LOCKED
A shape that would have to follow is locked and Override Locks is off, so the drag has to stop.
BLOCK_DRAG_FOLLOW
How a shape follows the endpoint it is joined to.
@ STRETCH
Only this end moves, so the shape stretches.
@ WHOLE
The item as a whole (a segment as a line, a circle).
One end of a graphic shape, used both for the ends that moved and for the ones found to follow them.
VECTOR2< int32_t > VECTOR2I