Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkDistanceFieldGen.cpp13 float fDistSq; // distance squared to nearest (so far) edge texel member
177 currData->fDistSq = dist*dist; in init_distances()
180 currData->fDistSq = 2000000.f; in init_distances()
200 float distSq = check->fDistSq - 2.0f*(distVec.fX + distVec.fY - 1.0f); in F1()
201 if (distSq < curr->fDistSq) { in F1()
204 curr->fDistSq = distSq; in F1()
211 distSq = check->fDistSq - 2.0f*distVec.fY + 1.0f; in F1()
212 if (distSq < curr->fDistSq) { in F1()
214 curr->fDistSq = distSq; in F1()
221 distSq = check->fDistSq + 2.0f*(distVec.fX - distVec.fY + 1.0f); in F1()
[all …]