Home
last modified time | relevance | path

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

/external/skia/tests/
DPathOpsAngleIdeas.cpp146 double sDist = sweep[0].length() * m; in checkParallel() local
148 bool useS = fabs(sDist) < fabs(tDist); in checkParallel()
149 double mFactor = fabs(useS ? distEndRatio(sDist, quad1) : distEndRatio(tDist, quad2)); in checkParallel()
/external/skia/src/pathops/
DSkOpAngle.cpp1033 double sDist = sweep[0].length() * m; in tangentsDiverge() local
1035 bool useS = fabs(sDist) < fabs(tDist); in tangentsDiverge()
1036 double mFactor = fabs(useS ? this->distEndRatio(sDist) : rh->distEndRatio(tDist)); in tangentsDiverge()
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp480 SkScalar sDist = LineSide(startPerp, rectPts[i]); in ClipAngledGradient() local
482 if (sDist * eDist <= 0) // if the signs are different, in ClipAngledGradient()
484 if (sDist < 0) { in ClipAngledGradient()
485 SkScalar smaller = SkTMin(sDist, eDist); in ClipAngledGradient()
491 SkScalar larger = SkTMax(sDist, eDist); in ClipAngledGradient()