Lines Matching refs:oldBounds

26873 	function boundsChanged$1(newBounds, oldBounds) {  argument
26875 newBounds.x !== oldBounds.x ||
26876 newBounds.y !== oldBounds.y ||
26877 newBounds.width !== oldBounds.width ||
26878 newBounds.height !== oldBounds.height
26890 function getResizeDirections(oldBounds, newBounds) { argument
26893 oldBounds = asTRBL(oldBounds);
26896 if (oldBounds.top > newBounds.top) {
26900 if (oldBounds.right < newBounds.right) {
26904 if (oldBounds.bottom < newBounds.bottom) {
26908 if (oldBounds.left > newBounds.left) {
35940 function getTRBLResize(oldBounds, newBounds) { argument
35941 return substractTRBL(asTRBL(newBounds), asTRBL(oldBounds));
42431 function getNewAttachPoint(point, oldBounds, newBounds) { argument
42432 var oldCenter = center(oldBounds),
42437 x: oldDelta.x * (newBounds.width / oldBounds.width),
42438 y: oldDelta.y * (newBounds.height / oldBounds.height)
42458 function getNewAttachShapeDelta(shape, oldBounds, newBounds) { argument
42460 oldCenter = center(oldBounds),
42464 stickyPositionDelta = getStickyPositionDelta(shapeCenter, oldBounds, newBounds);
42471 x: oldCenterDelta.x * (newBounds.width / oldBounds.width),
42472 y: oldCenterDelta.y * (newBounds.height / oldBounds.height)
42486 function getStickyPositionDelta(oldShapeCenter, oldBounds, newBounds) { argument
42487 var oldTRBL = asTRBL(oldBounds),
42494 var oldOrientation = getOrientation(oldBounds, oldShapeCenter),
42764 oldBounds = context.oldBounds;
42770 edges = asEdges(oldBounds);
42775 var delta = getReferencePointDelta(referencePoint, oldBounds, newBounds);
42806 function getReferencePointDelta(referencePoint, oldBounds, newBounds) { argument
42808 var newReferencePoint = getNewAttachPoint(referencePoint, oldBounds, newBounds);
42906 function getResizedSourceAnchor(connection, shape, oldBounds) { argument
42917 return getNewAttachPoint(oldAnchor.original || oldAnchor, oldBounds, shape);
42921 function getResizedTargetAnchor(connection, shape, oldBounds) { argument
42932 return getNewAttachPoint(oldAnchor.original || oldAnchor, oldBounds, shape);
42939 oldBounds = subtract(source, moveDelta),
42942 return getNewAttachPoint(oldAnchor.original || oldAnchor, oldBounds, source);
42949 oldBounds = subtract(target, moveDelta),
42952 return getNewAttachPoint(oldAnchor.original || oldAnchor, oldBounds, target);
46865 oldBounds = context.oldBounds,
46875 var delta = getNewAttachShapeDelta(attacher, oldBounds, newBounds);
50035 context.oldBounds = pick(shape, [ 'x', 'y', 'width', 'height']);
50271 var oldBounds = {
50307 getResizedTargetAnchor(connection, newShape, oldBounds),
50320 getResizedSourceAnchor(connection, newShape, oldBounds),
50400 context.oldBounds = { class in context
50422 oldBounds = context.oldBounds,
50431 connectionEnd: getResizedTargetAnchor(c, shape, oldBounds)
50437 connectionStart: getResizedSourceAnchor(c, shape, oldBounds)
50446 oldBounds = context.oldBounds;
50450 width: oldBounds.width,
50451 height: oldBounds.height,
50452 x: oldBounds.x,
50453 y: oldBounds.y
50474 oldBounds = {};
50481 oldBounds[shape.id] = getBounds(shape);
50495 oldBounds
50540 oldBounds argument
50585 connection, source, oldBounds[source.id]
50589 connection, target, oldBounds[target.id]