Searched refs:invC (Results 1 – 2 of 2) sorted by relevance
50 const SkScalar invC = SkScalarInvert(SkIntToScalar(cols - 1)); in evalPatch() local53 SkScalar yy = y * invC; in evalPatch()
141 var invC = 1 / c;150 …tX = x[currentRow] = (x0[currentRow] + a*(lastX+x[++currentRow]+x[++lastRow]+x[++nextRow])) * invC;178 var invC = 1/c;188 … = x[currentRow] = (x0[currentRow] + a * (lastX + x[currentRow] + x[lastRow] + x[nextRow])) * invC;189 …urrentRow] = (y0[currentRow] + a * (lastY + y[++currentRow] + y[++lastRow] + y[++nextRow])) * invC;