Searched refs:sDist (Results 1 – 3 of 3) sorted by relevance
146 double sDist = sweep[0].length() * m; in checkParallel() local148 bool useS = fabs(sDist) < fabs(tDist); in checkParallel()149 double mFactor = fabs(useS ? distEndRatio(sDist, quad1) : distEndRatio(tDist, quad2)); in checkParallel()
1033 double sDist = sweep[0].length() * m; in tangentsDiverge() local1035 bool useS = fabs(sDist) < fabs(tDist); in tangentsDiverge()1036 double mFactor = fabs(useS ? this->distEndRatio(sDist) : rh->distEndRatio(tDist)); in tangentsDiverge()
480 SkScalar sDist = LineSide(startPerp, rectPts[i]); in ClipAngledGradient() local482 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()