Home
last modified time | relevance | path

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

/external/skqp/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/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.cpp1135 double sDist = sweep[0].length() * m; in tangentsDiverge() local
1137 bool useS = fabs(sDist) < fabs(tDist); in tangentsDiverge()
1138 double mFactor = fabs(useS ? this->distEndRatio(sDist) : rh->distEndRatio(tDist)); in tangentsDiverge()
/external/skqp/src/pathops/
DSkOpAngle.cpp1135 double sDist = sweep[0].length() * m; in tangentsDiverge() local
1137 bool useS = fabs(sDist) < fabs(tDist); in tangentsDiverge()
1138 double mFactor = fabs(useS ? this->distEndRatio(sDist) : rh->distEndRatio(tDist)); in tangentsDiverge()
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp485 SkScalar sDist = LineSide(startPerp, rectPts[i]); in ClipAngledGradient() local
487 if (sDist * eDist <= 0) // if the signs are different, in ClipAngledGradient()
489 if (sDist < 0) { in ClipAngledGradient()
490 SkScalar smaller = SkTMin(sDist, eDist); in ClipAngledGradient()
496 SkScalar larger = SkTMax(sDist, eDist); in ClipAngledGradient()