Lines Matching refs:tolerance
3160 function pointInRect(p, rect, tolerance) { argument
3161 tolerance = tolerance || 0;
3163 return p.x > rect.x - tolerance &&
3164 p.y > rect.y - tolerance &&
3165 p.x < rect.x + rect.width + tolerance &&
3166 p.y < rect.y + rect.height + tolerance;
29609 function snapTo(value, values, tolerance) { argument
29610 tolerance = tolerance === undefined ? 10 : tolerance;
29617 if (abs$6(snapValue - value) <= tolerance) {
56054 SnapPoints.prototype.snap = function(point, snapLocation, axis, tolerance) { argument
56057 return snappingValues && snapTo(point[axis], snappingValues[axis], tolerance);