Searched refs:dirtyHeight (Results 1 – 2 of 2) sorted by relevance
/external/skia/modules/canvaskit/htmlcanvas/ |
D | canvas2dcontext.js | 788 this.putImageData = function(imageData, x, y, dirtyX, dirtyY, dirtyWidth, dirtyHeight) { argument 789 if (!allAreFinite([x, y, dirtyX, dirtyY, dirtyWidth, dirtyHeight])) { 800 dirtyHeight = dirtyHeight || imageData.height; 807 if (dirtyHeight < 0) { 808 dirtyY = dirtyY+dirtyHeight; 809 dirtyHeight = Math.abs(dirtyHeight); 816 dirtyHeight = dirtyHeight + dirtyY; 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/ |
D | canvas2dcontext.js | 804 this.putImageData = function(imageData, x, y, dirtyX, dirtyY, dirtyWidth, dirtyHeight) { argument 805 if (!allAreFinite([x, y, dirtyX, dirtyY, dirtyWidth, dirtyHeight])) { 816 dirtyHeight = dirtyHeight || imageData.height; 823 if (dirtyHeight < 0) { 824 dirtyY = dirtyY+dirtyHeight; 825 dirtyHeight = Math.abs(dirtyHeight); 832 dirtyHeight = dirtyHeight + dirtyY; 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);
|