• Home
  • Raw
  • Download

Lines Matching refs:_canvas

2   this._canvas = skcanvas;
513 this._canvas.drawRect(CanvasKit.XYWHRect(x, y, width, height), this._paint);
535 this._canvas.clipPath(clip, CanvasKit.ClipOp.Intersect, true);
617 this._canvas.drawImageRect(img, srcRect, destRect, iPaint, false);
675 this._canvas.save();
676 this._canvas.concat(this._shadowOffsetMatrix());
677 this._canvas.drawPath(path, shadowPaint);
678 this._canvas.restore();
681 this._canvas.drawPath(path, fillPaint);
687 this._canvas.drawRect(CanvasKit.XYWHRect(x, y, width, height), fillPaint);
698 this._canvas.save();
699 this._canvas.concat(this._shadowOffsetMatrix());
700 this._canvas.drawTextBlob(blob, x, y, shadowPaint);
701 this._canvas.restore();
704 this._canvas.drawTextBlob(blob, x, y, fillPaint);
710 var pixels = this._canvas.readPixels(x, y, w, h);
810 this._canvas.writePixels(imageData.data, imageData.width, imageData.height, x, y);
844 this._canvas.save();
846 this._canvas.concat(inverted);
847 this._canvas.drawImageRect(img, src, dst, null, false);
848 this._canvas.restore();
865 this._canvas.concat(inverted);
867 this._currentTransform = this._canvas.getTotalMatrix();
904 this._canvas.restore();
905 this._currentTransform = this._canvas.getTotalMatrix();
916 this._canvas.rotate(radiansToDegrees(radians), 0, 0);
917 this._currentTransform = this._canvas.getTotalMatrix();
955 this._canvas.save();
966 this._canvas.scale(sx, sy);
967 this._currentTransform = this._canvas.getTotalMatrix();
1067 this._canvas.save();
1068 this._canvas.concat(this._shadowOffsetMatrix());
1069 this._canvas.drawPath(path, shadowPaint);
1070 this._canvas.restore();
1074 this._canvas.drawPath(path, strokePaint);
1080 this._canvas.drawRect(CanvasKit.XYWHRect(x, y, width, height), strokePaint);
1091 this._canvas.save();
1092 this._canvas.concat(this._shadowOffsetMatrix());
1093 this._canvas.drawTextBlob(blob, x, y, shadowPaint);
1094 this._canvas.restore();
1097 this._canvas.drawTextBlob(blob, x, y, strokePaint);
1110 this._canvas.translate(dx, dy);
1111 this._currentTransform = this._canvas.getTotalMatrix();
1122 this._canvas.concat(newTransform);
1123 this._currentTransform = this._canvas.getTotalMatrix();