Lines Matching refs:canvasRects
59 private canvasRects: HTMLCanvasElement,
67 this.canvasRects.style.width = '100%';
68 this.canvasRects.style.height = '100%';
72 if (this.canvasRects.clientWidth > this.canvasRects.clientHeight) {
75 this.canvasRects.clientWidth / this.canvasRects.clientHeight;
78 this.canvasRects.clientHeight / this.canvasRects.clientWidth;
88 scene.camera.panScreenDistance.dx / this.canvasRects.clientWidth;
90 scene.camera.panScreenDistance.dy / this.canvasRects.clientHeight;
133 canvas: this.canvasRects,
139 const canvasRects = assertDefined(this.canvasRects); constant
145 canvasRects.clientWidth,
146 canvasRects.clientHeight,
151 this.renderer.setSize(canvasRects.clientWidth, canvasRects.clientHeight);