Lines Matching refs:_this

13530 	  var _this = this;
13532 _this.addBackground(background);
14340 var _this = this;
14367 function measureCb(_this, data) {
14370 data.fillColor = _this.styleStack.getProperty('fillColor');
14372 return _this.measureNode(data);
20265 this.deflate.on('data', (function(_this) {
20267 _this.chunks.push(chunk);
20268 return _this.data.Length += chunk.length;
27691 get: (function(_this) {
27694 return (_base = _this.resources.data).Font != null ? _base.Font : _base.Font = {};
27699 get: (function(_this) {
27702 … return (_base = _this.resources.data).XObject != null ? _base.XObject : _base.XObject = {};
27707 get: (function(_this) {
27710 … return (_base = _this.resources.data).ExtGState != null ? _base.ExtGState : _base.ExtGState = {};
27715 get: (function(_this) {
27718 … return (_base = _this.resources.data).Pattern != null ? _base.Pattern : _base.Pattern = {};
27723 get: (function(_this) {
27726 … return (_base = _this.dictionary.data).Annots != null ? _base.Annots : _base.Annots = [];
31682 this._text(text, this.x, this.y, options, (function(_this) {
31684 return _this.y += _this.currentLineHeight(true) + lineGap;
31722 wrapper.on('firstLine', (function(_this) {
31727 _this.x += diff;
31731 _this.circle(_this.x - indent + r, _this.y + r + (r / 2), r);
31732 return _this.fill();
31735 wrapper.on('sectionStart', (function(_this) {
31739 _this.x += pos;
31743 wrapper.on('sectionEnd', (function(_this) {
31747 _this.x -= pos;
31957 this.on('firstLine', (function(_this) {
31960 indent = _this.continuedX || _this.indent;
31961 _this.document.x += indent;
31962 _this.lineWidth -= indent;
31963 return _this.once('line', function() {
31964 _this.document.x -= indent;
31965 _this.lineWidth += indent;
31966 if (options.continued && !_this.continuedX) {
31967 _this.continuedX = _this.indent;
31970 return _this.continuedX = 0;
31975 this.on('lastLine', (function(_this) {
31982 _this.lastLine = true;
31983 return _this.once('line', function() {
31984 _this.document.y += options.paragraphGap || 0;
31986 return _this.lastLine = false;
32056 emitLine = (function(_this) {
32058 options.textWidth = textWidth + _this.wordSpacing * (wc - 1);
32060 options.lineWidth = _this.lineWidth;
32061 y = _this.document.y;
32062 _this.emit('line', buffer, options, _this);
32067 this.eachWord(text, (function(_this) {
32071 _this.emit('firstLine', options, _this);
32072 _this.spaceLeft = _this.lineWidth;
32074 if (w <= _this.spaceLeft) {
32079 if (bk.required || w > _this.spaceLeft) {
32081 _this.emit('lastLine', options, _this);
32083 lh = _this.document.currentLineHeight(true);
32084 …if ((_this.height != null) && _this.ellipsis && _this.document.y + lh * 2 > _this.maxY && _this.co…
32085 if (_this.ellipsis === true) {
32086 _this.ellipsis = '…';
32089 textWidth = _this.wordWidth(buffer + _this.ellipsis);
32090 while (textWidth > _this.lineWidth) {
32092 textWidth = _this.wordWidth(buffer + _this.ellipsis);
32094 buffer = buffer + _this.ellipsis;
32097 if (_this.document.y + lh > _this.maxY) {
32098 shouldContinue = _this.nextSection();
32106 if (w > _this.spaceLeft) {
32112 _this.spaceLeft = _this.lineWidth;
32117 _this.spaceLeft = _this.lineWidth - w;
32123 return _this.spaceLeft -= w;
65497 return this.image.decodePixels((function(_this) {
65500 colorByteSize = _this.image.colors * _this.image.bits / 8;
65501 pixelCount = _this.width * _this.height;
65514 _this.imgData = imgData;
65519 return _this.finalize();
65523 _this.alphaChannel = alphaChannel;
65528 return _this.finalize();
65538 return this.image.decodePixels((function(_this) {
65541 alphaChannel = new Buffer(_this.width * _this.height);
65547 _this.alphaChannel = alphaChannel;
65551 return _this.finalize();
65742 var _this = this;
65748 pixelBytes = _this.pixelBitlength / 8;
65749 scanlineLength = pixelBytes * _this.width;
65750 pixels = new Buffer(scanlineLength * _this.height);
65875 _this = this;
65878 _this.copyToImageData(ret, pixels);