Lines Matching refs:width

3728   var width = (x2 - x1) / 72 * userUnit;
3731 width: changeOrientation ? height : width,
3732 height: changeOrientation ? width : height
3928 return size.width <= size.height;
4099 width = _ref4.width,
4108 this.width = width || 100;
4119 this.div.style.width = this.width + this.units;
4124 var progressSize = this.width * this._percent / 100;
4125 this.div.style.width = progressSize + this.units;
6017 var width = isPortrait ? size.width : size.height;
6018 var height = isPortrait ? size.height : size.width;
6019 return pageNames["".concat(width, "x").concat(height)];
6288 width: pageSizeInches.height,
6289 height: pageSizeInches.width
6295 width: Math.round(pageSizeInches.width * 100) / 100,
6299 width: Math.round(pageSizeInches.width * 25.4 * 10) / 10,
6305 …if (!name && !(Number.isInteger(sizeMillimeters.width) && Number.isInteger(sizeMillimeters.height)…
6307 width: pageSizeInches.width * 25.4,
6311 width: Math.round(sizeMillimeters.width),
6315 …if (Math.abs(exactMillimeters.width - intMillimeters.width) < 0.1 && Math.abs(exactMillimeters.hei…
6320 width: Math.round(intMillimeters.width / 25.4 * 100) / 100,
6335 width = _ref7$.width,
6342 width: width.toLocaleString(),
9356 var width = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
9364 if (width > maxWidth) {
9365 width = maxWidth;
9368 if (width < SIDEBAR_MIN_WIDTH) {
9369 width = SIDEBAR_MIN_WIDTH;
9372 if (width === this._width) {
9376 this._width = width;
9377 this.doc.style.setProperty(SIDEBAR_WIDTH_VAR, "".concat(width, "px"));
9383 var width = evt.clientX;
9386 width = this.outerContainerWidth - width;
9389 this._updateWidth(width);
9777 getCanvas: function getCanvas(width, height) {
9785 tempCanvas.width = width;
9793 ctx.fillRect(0, 0, width, height);
9801 tempCanvas.width = 0;
9839 this.pageWidth = this.viewport.width;
9867 ring.style.width = this.canvasWidth + borderAdjustment + 'px';
9892 this.pageWidth = this.viewport.width;
9906 ring.style.width = this.canvasWidth + borderAdjustment + 'px';
9910 this.canvas.width = 0;
9955 canvas.width = this.canvasWidth * outputScale.sx | 0;
9957 canvas.style.width = this.canvasWidth + 'px';
10003 image.style.width = this.canvasWidth + 'px';
10009 this.canvas.width = 0;
10104 if (img.width <= 2 * canvas.width) {
10105 ctx.drawImage(img, 0, 0, img.width, img.height, 0, 0, canvas.width, canvas.height);
10112 var reducedWidth = canvas.width << MAX_NUM_SCALING_STEPS;
10117 while (reducedWidth > img.width || reducedHeight > img.height) {
10122 … reducedImageCtx.drawImage(img, 0, 0, img.width, img.height, 0, 0, reducedWidth, reducedHeight);
10124 while (reducedWidth > 2 * canvas.width) {
10130 … ctx.drawImage(reducedImage, 0, 0, reducedWidth, reducedHeight, 0, 0, canvas.width, canvas.height);
10774 …var pageWidthScale = (this.container.clientWidth - hPadding) / currentPage.width * currentPage.sca…
10848 var width = 0,
10853 …var pageWidth = (changeOrientation ? pageView.height : pageView.width) / pageView.scale / _ui_util…
10854 …var pageHeight = (changeOrientation ? pageView.width : pageView.height) / pageView.scale / _ui_uti…
10886 width = pageWidth;
10894 width = destArray[4] - x;
10898 widthScale = (this.container.clientWidth - hPadding) / width / _ui_utils.CSS_UNITS;
10923 …ort.convertToViewportPoint(x, y), pageView.viewport.convertToViewportPoint(x + width, y + height)];
11155 width: viewport.width,
11172 width: size.height,
11173 height: size.width,
11400 if (pageView.width !== firstPageView.width || pageView.height !== firstPageView.height) {
11683 div.style.width = Math.floor(this.viewport.width) + 'px';
11723 zoomLayerCanvas.width = 0;
11740 div.style.width = Math.floor(this.viewport.width) + 'px';
11768 this.canvas.width = 0;
11815 …if ((Math.floor(this.viewport.width) * outputScale.sx | 0) * (Math.floor(this.viewport.height) * o…
11869 var width = this.viewport.width;
11872 … target.style.width = target.parentNode.style.width = div.style.width = Math.floor(width) + 'px';
11880 scaleX = height / width;
11881 scaleY = width / height;
11891 var scale = width / textLayerViewport.width;
11894 scale = width / textLayerViewport.height;
11911 transX = '-' + textLayerDiv.style.width;
11916 transX = '-' + textLayerDiv.style.width;
11957 canvasWrapper.style.width = div.style.width;
11972 textLayerDiv.style.width = canvasWrapper.style.width;
12141 outputScale.sx *= actualSizeViewport.width / viewport.width;
12147 var pixelsInViewport = viewport.width * viewport.height;
12162 canvas.width = (0, _ui_utils.roundToDivide)(viewport.width * outputScale.sx, sfx[0]);
12164 canvas.style.width = (0, _ui_utils.roundToDivide)(viewport.width, sfx[1]) + 'px';
12222 svg.style.width = wrapper.style.width;
12252 return this.viewport.width;
13456 var width = select.clientWidth + SCALE_SELECT_CONTAINER_PADDING;
13457 select.setAttribute('style', 'min-width: ' + (width + SCALE_SELECT_PADDING) + 'px;');
13458 … container.setAttribute('style', 'min-width: ' + width + 'px; ' + 'max-width: ' + width + 'px;');
15371 scratchCanvas.width = Math.floor(size.width * PRINT_UNITS);
15373 var width = Math.floor(size.width * _ui_utils.CSS_UNITS) + 'px';
15378 ctx.fillRect(0, 0, scratchCanvas.width, scratchCanvas.height);
15393 width: width,
15415 … return size.width === this.pagesOverview[0].width && size.height === this.pagesOverview[0].height;
15424 …@supports ((size:A4) and (size:1pt 1pt)) {' + '@page { size: ' + pageSize.width + 'pt ' + pageSize…
15439 this.scratchCanvas.width = this.scratchCanvas.height = 0;
15476 img.style.width = printItem.width;