Lines Matching refs:snapValue
29612 var idx, snapValue;
29615 snapValue = values[idx];
29617 if (abs$6(snapValue - value) <= tolerance) {
29618 return snapValue;
37332 var snappedValue = this.snapValue(event[ axis ], options);
37355 GridSnapping.prototype.snapValue = function(value, options) {
37630 newBounds.width = gridSnapping.snapValue(newBounds.width, {
37634 newBounds.height = gridSnapping.snapValue(newBounds.height, {
37679 snappedNewBounds.width = gridSnapping.snapValue(newBounds.width, {
37687 snappedNewBounds.x = gridSnapping.snapValue(newBounds.x, {
37691 snappedNewBounds.width += gridSnapping.snapValue(newBounds.x - snappedNewBounds.x, {
37723 snappedNewBounds.height = gridSnapping.snapValue(newBounds.height, {
37731 snappedNewBounds.y = gridSnapping.snapValue(newBounds.y, {
37735 snappedNewBounds.height += gridSnapping.snapValue(newBounds.y - snappedNewBounds.y, {
37775 snapped = gridSnapping.snapValue(event.dx);
37782 snapped = gridSnapping.snapValue(event.dy);
37845 position[ axis ] = gridSnapping.snapValue(position[ axis ], options);
37889 shape.width = gridSnapping.snapValue(shape.width, { min: shape.width });
37890 shape.height = gridSnapping.snapValue(shape.height, { min: shape.height });
38018 snapped.y = gridSnapping.snapValue(segmentStart.y);
38024 snapped.x = gridSnapping.snapValue(segmentStart.x);