Searched refs:currGrad (Results 1 – 1 of 1) sorted by relevance
163 SkPoint currGrad; in init_distances() local164 currGrad.fX = (prevData+1)->fAlpha - (prevData-1)->fAlpha in init_distances()168 currGrad.fY = (nextData-1)->fAlpha - (prevData-1)->fAlpha in init_distances()172 currGrad.setLengthFast(1.0f); in init_distances()175 float dist = edge_distance(currGrad, currData->fAlpha); in init_distances()176 currGrad.scale(dist, &currData->fDistVector); in init_distances()