Lines Matching refs:width

2079 	    pageSize = { width: pageSize.height, height: pageSize.width};
2083 this.pdfKitDoc = new PdfKit({ size: [ pageSize.width, pageSize.height ], compress: false});
2185 return { width: size[0], height: size[1] };
2202 var width = pdfKitDoc.options.size[0];
2204 pdfKitDoc.options.size = [height, width];
2282 var angle = Math.atan2(pdfKitDoc.page.height, pdfKitDoc.page.width) * 180/Math.PI;
2283 pdfKitDoc.rotate(angle, {origin: [pdfKitDoc.page.width/2, pdfKitDoc.page.height/2]});
2287 …pdfKitDoc.addContent('' + (pdfKitDoc.page.width/2 - watermark.size.size.width/2) + ' ' + (pdfKitDo…
2352 pdfKitDoc.image(image.image, image.x, image.y, { width: image._width, height: image._height });
13553 this.writer.beginUnbreakableBlock(pageSize.width, pageSize.height);
13573 this.writer.beginUnbreakableBlock(sizes.width, sizes.height);
13585 width: pageSize.width,
13594 width: pageSize.width,
13626 var width = pageSize.width;
13628 … var targetWidth = Math.sqrt(width*width + height*height)*0.8; /* page diagnoal * sample factor */
13646 if(size.width > targetWidth){
13650 else if(size.width < targetWidth){
13802 var width = widths[i]._calcWidth;
13807 width += widths[++i]._calcWidth + gaps[i];
13811 self.writer.context().beginColumn(width, leftOffset, getEndingCell(column, i));
13867 this.writer.context().addMargin(gapSize.width);
13878 this.writer.context().addMargin(-gapSize.width);
13893 var markerLine = new Line(self.pageSize.width);
14207 …var factor = (imageSize.width / imageSize.height > node.fit[0] / node.fit[1]) ? node.fit[0] / imag…
14208 node._width = node._minWidth = node._maxWidth = imageSize.width * factor;
14211 node._width = node._minWidth = node._maxWidth = node.width || imageSize.width;
14212 node._height = node.height || (imageSize.height * node._width / imageSize.width);
14275 marker._minWidth = marker._maxWidth = gapSize.width;
14300 node._minWidth = Math.max(node._minWidth, items[i]._minWidth + node._gapSize.width);
14301 node._maxWidth = Math.max(node._maxWidth, items[i]._maxWidth + node._gapSize.width);
14494 node.table.widths[i] = { width: w };
14582 minWidth = Math.max(minWidth, inline.width - inline.leadingCut - inline.trailingCut);
14585 currentLineWidth = { width: 0, leadingCut: inline.leadingCut, trailingCut: 0 };
14588 currentLineWidth.width += inline.width;
14605 return Math.max(0, item.width - item.leadingCut - item.trailingCut);
14628 width: font.widthOfString(removeDiacritics(text), fontSize),
14767 item.width = font.widthOfString(removeDiacritics(item.text), fontSize);
15014 if (typeof col.width === 'string' && /\d+%/.test(col.width) ) {
15015 col.width = parseFloat(col.width)*initial_availableWidth/100;
15017 if (col.width < (col._minWidth) && col.elasticWidth) {
15020 col._calcWidth = col.width;
15073 return column.width === 'auto';
15077 …return column.width === null || column.width === undefined || column.width === '*' || column.width
15098 result.min += ((c.width !== undefined && c.width) || c._minWidth);
15099 result.max += ((c.width !== undefined && c.width) || c._maxWidth);
15956 this.availableWidth = pageSize.width - pageMargins.left - pageMargins.right;
15984 DocumentContext.prototype.beginColumn = function(width, offset, endingCell) {
15993 this.availableWidth = width; //saved.availableWidth - offset;
15996 this.lastColumnWidth = width;
16057 …this.pageSnapshot().availableWidth = this.getCurrentPage().pageSize.width - this.pageMargins.left …
16071 this.availableWidth = this.getCurrentPage().pageSize.width - this.x - this.pageMargins.right;
16120 width: currentPage.pageSize.height,
16121 height: currentPage.pageSize.width
16126 width: currentPage.pageSize.width,
16177 var innerWidth = pageSize.width - this.pageMargins.left - this.pageMargins.right;
16298 PageElementWriter.prototype.beginUnbreakableBlock = function(width, height) {
16301 this.writer.pushContext(width, height);
16429 var width = this.context.availableWidth;
16437 offset = width - lineWidth;
16440 offset = (width - lineWidth) / 2;
16452 var additionalSpacing = (width - lineWidth) / (line.inlines.length - 1);
16513 var width = this.context.availableWidth;
16518 offset = width - imageWidth;
16521 offset = (width - imageWidth) / 2;
16620 …contextOrWidth = new DocumentContext({ width: contextOrWidth, height: height }, { left: 0, right: …
16674 …return this.inlineWidths + inline.width - this.leadingCut - (inline.trailingCut || 0) <= this.maxW…
16686 this.inlineWidths += inline.width;
16754 var width = 0;
16757 width += w._calcWidth;
16760 return width;
16774 rsd[rsd.length - 1].width = lastWidth;
16776 rsd.push({ left: x, rowSpan: 0, width: 0 });
16823 currentLine = { left: data.left, width: 0 };
16827 currentLine.width += (data.width || 0);
16837 x2: currentLine.left + currentLine.width,
16853 var width = this.layout.vLineWidth(vLineIndex, this.tableNode);
16854 if (width === 0) return;
16857 x1: x + width/2,
16858 x2: x + width/2,
16861 lineWidth: width,
27683 this.width = dimensions[this.layout === 'portrait' ? 0 : 1];
27734 MediaBox: [0, 0, this.width, this.height],
28268 BBox: [0, 0, this.doc.page.width, this.doc.page.height],
29345 var charCode, i, scale, width, _i, _ref;
29347 width = 0;
29350 width += this.font.widthOfGlyph(this.font.characterToGlyph(charCode)) || 0;
29353 return width * scale;
31646 if (options.width) {
31794 if (options.width == null) {
31795 options.width = this.page.width - this.x - margins.right;
31826 if (options.width) {
31944 this.lineWidth = (options.width - (this.columnGap * (this.columns - 1))) / this.columns;
65210 w = options.width || image.width;
65212 if (options.width && !options.height) {
65213 wp = w / image.width;
65214 w = image.width * wp;
65216 } else if (options.height && !options.width) {
65218 w = image.width * hp;
65221 w = image.width * options.scale;
65226 ip = image.width / image.height;
65357 this.width = this.data.readUInt16BE(pos);
65381 Width: this.width,
65418 this.width = this.image.width;
65434 Width: this.width,
65443 Columns: this.width
65482 Width: this.width,
65501 pixelCount = _this.width * _this.height;
65541 alphaChannel = new Buffer(_this.width * _this.height);
65639 this.width = this.readUInt32();
65749 scanlineLength = pixelBytes * _this.width;
65876 ret = new Buffer(this.width * this.height * 4);
66116 return { width: image.width, height: image.height };
66188 function width() {
66191 sum += group.inlines[i].width;
66197 totalWidth = width(),
66278 .rect(x + inline.x, y, inline.width, height)