Lines Matching refs:bounds
55 function intersect(bounds, crop) { argument
57 left: Math.max(crop.left, bounds.left),
58 right: Math.min(crop.right, bounds.right),
59 top: Math.max(crop.top, bounds.top),
60 bottom: Math.min(crop.bottom, bounds.bottom),
88 function offset_to(bounds, x, y) { argument
90 right: bounds.right - (bounds.left - x),
91 bottom: bounds.bottom - (bounds.top - y),
98 var result = layer.bounds || get_cropped_bounds(layer, parentBounds);
184 var bounds = undefined;
186 bounds = {width: layer.sourceBounds.right, height: layer.sourceBounds.bottom}; variable
245 bounds, property