Lines Matching refs:_this2

12672     var _this2 = this;
12675 _this2.copyToImageData(ret, pixels);
14744 var _this2;
14746 _this2 = _super2.call(this, doc);
14747 _this2.doc = doc;
14748 _this2.x1 = x1;
14749 _this2.y1 = y1;
14750 _this2.r1 = r1;
14751 _this2.x2 = x2;
14752 _this2.y2 = y2;
14753 _this2.r2 = r2;
14754 return _this2;
16301 var _this2 = this;
16330 return String.fromCharCode((_this2.id.charCodeAt(i) || 73) + 17);
16671 var _this2 = this;
16700 options.textWidth = textWidth + _this2.wordSpacing * (wc - 1);
16702 options.lineWidth = _this2.lineWidth;
16703 y = _this2.document.y;
16704 _this2.emit('line', buffer, options, _this2);
16710 _this2.emit('firstLine', options, _this2);
16711 _this2.spaceLeft = _this2.lineWidth;
16713 if (w <= _this2.spaceLeft) {
16718 if (bk.required || w > _this2.spaceLeft) {
16721 var lh = _this2.document.currentLineHeight(true);
16722 …if (_this2.height != null && _this2.ellipsis && _this2.document.y + lh * 2 > _this2.maxY && _this2
16723 if (_this2.ellipsis === true) {
16724 _this2.ellipsis = '…';
16728 …textWidth = _this2.wordWidth(buffer + _this2.ellipsis); // remove characters from the buffer until…
16731 while (buffer && textWidth > _this2.lineWidth) {
16733 textWidth = _this2.wordWidth(buffer + _this2.ellipsis);
16736 if (textWidth <= _this2.lineWidth) {
16737 buffer = buffer + _this2.ellipsis;
16739 textWidth = _this2.wordWidth(buffer);
16742 if (w > _this2.spaceLeft) {
16748 _this2.emit('lastLine', options, _this2);
16753 if (_this2.document.y + lh > _this2.maxY) {
16754 var shouldContinue = _this2.nextSection(); // stop if we reached the maximum height
16764 _this2.spaceLeft = _this2.lineWidth;
16770 _this2.spaceLeft = _this2.lineWidth - w;
16776 return _this2.spaceLeft -= w;
16905 var _this2 = this;
16913 return _this2.y += _this2.currentLineHeight(true) + lineGap;
17523 var _this2 = this;
17526 var alphaChannel = Buffer.alloc(_this2.width * _this2.height);
17531 _this2.alphaChannel = _zlib.default.deflateSync(alphaChannel);
17532 return _this2.finalize();
18032 var _this2 = this;
18036 … var pageStructParents = _this2.document.getStructParentTree().get(pageRef.data.StructParents);
18037 pageStructParents[mcid] = _this2.dictionary;
18436 var _this2 = this;
18439 _this2._endChild(childRef);
26030 var _this2 = this;
26046 return _this2.flush(kind, callback);
51230 var _this2 = this;
51236 _this2[kStream].destroy(null, function (err) {
53778 var _this2 = this;
53781 return _this2.encodeOperands(type[i], stream, ctx, op)[0];