Lines Matching refs:_viewBox
274 …Scale = Math.min(this.width/(this._viewBox.width - this._viewBox.x), this.height/(this._viewBox.he…
278 newCTM.e = (newCTM.e - this._viewBox.x) * newScale; //x-transform
279 newCTM.f = (newCTM.f - this._viewBox.y) * newScale; //y-transform
308 this._viewBox = {x: 0, y: 0, width: 0, height: 0}
316 this._viewBox.x = viewBoxValues[0]
317 this._viewBox.y = viewBoxValues[1]
318 this._viewBox.width = viewBoxValues[2]
319 this._viewBox.height = viewBoxValues[3]
324 this._viewBox.width = boundingClientRect.width
325 this._viewBox.height = boundingClientRect.height
338 this._viewBox.x = 0
339 this._viewBox.y = 0
340 this._viewBox.width = viewBoxWidth
341 this._viewBox.height = viewBoxHeight
662 …Scale = Math.min(this.width/(this._viewBox.width - this._viewBox.x), this.height/(this._viewBox.he…
678 var offsetX = (this.width - (this._viewBox.width + this._viewBox.x) * this.getZoom()) * 0.5
679 , offsetY = (this.height - (this._viewBox.height + this._viewBox.y) * this.getZoom()) * 0.5