Searched refs:currGrad (Results 1 – 1 of 1) sorted by relevance
175 SkPoint currGrad; in init_distances() local176 currGrad.fX = (prevData+1)->fAlpha - (prevData-1)->fAlpha in init_distances()180 currGrad.fY = (nextData-1)->fAlpha - (prevData-1)->fAlpha in init_distances()184 SkPointPriv::SetLengthFast(&currGrad, 1.0f); in init_distances()187 float dist = edge_distance(currGrad, currData->fAlpha); in init_distances()188 currGrad.scale(dist, &currData->fDistVector); in init_distances()