Home | History | Annotate | Download | only in image_editor

Lines Matching refs:scale_

53   this.scale_ = 1;
291 return size / this.scale_;
299 return Math.round((x - this.imageBoundsOnScreen_.left) / this.scale_);
307 return Math.round((y - this.imageBoundsOnScreen_.top) / this.scale_);
327 return size * this.scale_;
335 return Math.round(this.imageBoundsOnScreen_.left + x * this.scale_);
343 return Math.round(this.imageBoundsOnScreen_.top + y * this.scale_);
392 this.scale_ = this.getFittingScaleForImageSize_(
399 zoomedWidht = ~~(this.imageBounds_.width * this.scale_ * this.zoom_);
400 zoomedHeight = ~~(this.imageBounds_.height * this.scale_ * this.zoom_);
419 ~~(this.imageBounds_.width * this.scale_),
420 ~~(this.imageBounds_.height * this.scale_),
448 viewport.scale_ = this.scale_;
466 this.imageBounds_.height, this.imageBounds_.width) / this.scale_;
501 var scaleRatio = oldScale / this.scale_;