Home
last modified time | relevance | path

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

/external/skia/modules/canvaskit/
Dmatrix.js81 CanvasKit.Matrix.mapPoints = function(matrix, ptArr) { argument
82 if (IsDebug && (ptArr.length % 2)) {
85 for (var i = 0; i < ptArr.length; i+=2) {
86 var x = ptArr[i], y = ptArr[i+1];
93 ptArr[i] = xTrans/denom;
94 ptArr[i+1] = yTrans/denom;
96 return ptArr;
/external/skqp/experimental/canvaskit/
Dinterface.js53 CanvasKit.SkMatrix.mapPoints = function(matrix, ptArr) { argument
54 if (ptArr.length % 2) {
57 for (var i = 0; i < ptArr.length; i+=2) {
58 var x = ptArr[i], y = ptArr[i+1];
65 ptArr[i] = xTrans/denom;
66 ptArr[i+1] = yTrans/denom;
68 return ptArr;