Searched refs:sDist (Results 1 – 5 of 5) 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()
1135 double sDist = sweep[0].length() * m; in tangentsDiverge() local1137 bool useS = fabs(sDist) < fabs(tDist); in tangentsDiverge()1138 double mFactor = fabs(useS ? this->distEndRatio(sDist) : rh->distEndRatio(tDist)); in tangentsDiverge()
485 SkScalar sDist = LineSide(startPerp, rectPts[i]); in ClipAngledGradient() local487 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()