Home | History | Annotate | Download | only in image_editor

Lines Matching refs:imageRect

218  * @param {Rect} imageRect Rectangle in the full resolution canvas.
220 ImageView.prototype.paintDeviceRect = function(deviceRect, canvas, imageRect) {
226 // set at the viewport. Adjust imageRect accordingly.
230 imageRect = new Rect(imageRect.left * scaleX, imageRect.top * scaleY,
231 imageRect.width * scaleX, imageRect.height * scaleY);
233 this.screenImage_.getContext('2d'), canvas, deviceRect, imageRect);