Lines Matching refs:viewbox

5181 	  this._eventBus.fire('canvas.viewbox.changed', { viewbox: this.viewbox() });
5230 Canvas.prototype.viewbox = function(box) {
5350 viewboxBounds = this.viewbox(),
5401 return this.viewbox(newScale).scale;
5414 outer = this.viewbox().outer;
5435 var vbox = this.viewbox(),
5471 this.viewbox(newViewbox);
5473 return this.viewbox(false).scale;
5542 var vbox = this.viewbox();
21412 Overlays.prototype._updateRoot = function(viewbox) { argument
21413 var scale = viewbox.scale || 1;
21421 -1 * viewbox.x * scale,
21422 -1 * viewbox.y * scale
21488 this._updateOverlayVisibilty(overlay, this._canvas.viewbox());
21492 Overlays.prototype._updateOverlayVisibilty = function(overlay, viewbox) { argument
21501 (isDefined(minZoom) && minZoom > viewbox.scale) ||
21502 (isDefined(maxZoom) && maxZoom < viewbox.scale)
21510 this._updateOverlayScale(overlay, viewbox);
21514 Overlays.prototype._updateOverlayScale = function(overlay, viewbox) { argument
21532 if (isDefined(minScale) && viewbox.scale < minScale) {
21533 scale = (1 / viewbox.scale || 1) * minScale;
21536 if (isDefined(maxScale) && viewbox.scale > maxScale) {
21537 scale = (1 / viewbox.scale || 1) * maxScale;
21549 Overlays.prototype._updateOverlaysVisibilty = function(viewbox) { argument
21554 self._updateOverlayVisibilty(overlay, viewbox);
21568 function updateViewbox(viewbox) { argument
21569 self._updateRoot(viewbox);
21570 self._updateOverlaysVisibilty(viewbox);
21580 updateViewbox(event.viewbox);
22236 var actualSpeed = speed / Math.min(Math.sqrt(canvas.viewbox().scale), 1);
27387 var viewbox = canvas.viewbox();
27392 x: viewbox.x + (globalPosition.x - clientRect.left) / viewbox.scale,
27393 y: viewbox.y + (globalPosition.y - clientRect.top) / viewbox.scale
28140 var viewbox = canvas.viewbox();
28143 x: viewbox.x + (position.x - offset.x) / viewbox.scale,
28144 y: viewbox.y + (position.y - offset.y) / viewbox.scale
46354 Tooltips.prototype._updateRoot = function(viewbox) { argument
46355 var a = viewbox.scale || 1;
46356 var d = viewbox.scale || 1;
46358 …var matrix = 'matrix(' + a + ',0,0,' + d + ',' + (-1 * viewbox.x * a) + ',' + (-1 * viewbox.y * d)…
46416 Tooltips.prototype._updateTooltipVisibilty = function(viewbox) { argument
46424 if (show.minZoom > viewbox.scale ||
46425 show.maxZoom < viewbox.scale) {
46440 function updateViewbox(viewbox) { argument
46441 self._updateRoot(viewbox);
46442 self._updateTooltipVisibilty(viewbox);
46452 updateViewbox(event.viewbox);
55150 var scale = canvas.viewbox().scale;