Home
last modified time | relevance | path

Searched refs:dirtyWidth (Results 1 – 2 of 2) sorted by relevance

/external/skia/modules/canvaskit/htmlcanvas/
Dcanvas2dcontext.js788 this.putImageData = function(imageData, x, y, dirtyX, dirtyY, dirtyWidth, dirtyHeight) { argument
789 if (!allAreFinite([x, y, dirtyX, dirtyY, dirtyWidth, dirtyHeight])) {
799 dirtyWidth = dirtyWidth || imageData.width;
803 if (dirtyWidth < 0) {
804 dirtyX = dirtyX+dirtyWidth;
805 dirtyWidth = Math.abs(dirtyWidth);
812 dirtyWidth = dirtyWidth + dirtyX;
819 if (dirtyWidth <= 0 || dirtyHeight <= 0) {
829 var src = CanvasKit.XYWHRect(dirtyX, dirtyY, dirtyWidth, dirtyHeight);
830 var dst = CanvasKit.XYWHRect(x+dirtyX, y+dirtyY, dirtyWidth, dirtyHeight);
/external/skqp/experimental/canvaskit/htmlcanvas/
Dcanvas2dcontext.js804 this.putImageData = function(imageData, x, y, dirtyX, dirtyY, dirtyWidth, dirtyHeight) { argument
805 if (!allAreFinite([x, y, dirtyX, dirtyY, dirtyWidth, dirtyHeight])) {
815 dirtyWidth = dirtyWidth || imageData.width;
819 if (dirtyWidth < 0) {
820 dirtyX = dirtyX+dirtyWidth;
821 dirtyWidth = Math.abs(dirtyWidth);
828 dirtyWidth = dirtyWidth + dirtyX;
835 if (dirtyWidth <= 0 || dirtyHeight <= 0) {
841 var src = CanvasKit.XYWHRect(dirtyX, dirtyY, dirtyWidth, dirtyHeight);
842 var dst = CanvasKit.XYWHRect(x+dirtyX, y+dirtyY, dirtyWidth, dirtyHeight);