Searched refs:currGrad (Results 1 – 2 of 2) sorted by relevance
170 SkPoint currGrad; in init_distances() local171 currGrad.fX = (prevData+1)->fAlpha - (prevData-1)->fAlpha in init_distances()175 currGrad.fY = (nextData-1)->fAlpha - (prevData-1)->fAlpha in init_distances()179 SkPointPriv::SetLengthFast(&currGrad, 1.0f); in init_distances()182 float dist = edge_distance(currGrad, currData->fAlpha); in init_distances()183 currGrad.scale(dist, &currData->fDistVector); in init_distances()