Lines Matching refs:bounds
56 function intersect(bounds, crop) { argument
58 left: Math.max(crop.left, bounds.left),
59 right: Math.min(crop.right, bounds.right),
60 top: Math.max(crop.top, bounds.top),
61 bottom: Math.min(crop.bottom, bounds.bottom),
89 function offset_to(bounds, x, y) { argument
91 right: bounds.right - (bounds.left - x),
92 bottom: bounds.bottom - (bounds.top - y),
99 var result = layer.bounds || get_cropped_bounds(layer, parentBounds);
161 var bounds = undefined;
163 bounds = {width: layer.sourceBounds.right, height: layer.sourceBounds.bottom}; variable
189 bounds, property