Lines Matching refs:sweep
118 static void setQuadHullSweep(const SkDQuad& quad, SkDVector sweep[2]) { in setQuadHullSweep()
119 sweep[0] = quad[1] - quad[0]; in setQuadHullSweep()
120 sweep[1] = quad[2] - quad[0]; in setQuadHullSweep()
130 SkDVector sweep[2], tweep[2]; in checkParallel() local
131 setQuadHullSweep(quad1, sweep); in checkParallel()
142 double s0dt0 = sweep[0].dot(tweep[0]); in checkParallel()
144 double s0xt0 = sweep[0].crossCheck(tweep[0]); in checkParallel()
146 double sDist = sweep[0].length() * m; in checkParallel()
165 SkDVector sweep[2], tweep[2]; in quadHullsOverlap() local
166 setQuadHullSweep(quad1, sweep); in quadHullsOverlap()
168 double s0xs1 = sweep[0].crossCheck(sweep[1]); in quadHullsOverlap()
169 double s0xt0 = sweep[0].crossCheck(tweep[0]); in quadHullsOverlap()
170 double s1xt0 = sweep[1].crossCheck(tweep[0]); in quadHullsOverlap()
172 double s0xt1 = sweep[0].crossCheck(tweep[1]); in quadHullsOverlap()
173 double s1xt1 = sweep[1].crossCheck(tweep[1]); in quadHullsOverlap()
211 double sweep = end - start; in radianSweep() local
212 if (sweep > SK_ScalarPI) { in radianSweep()
213 sweep -= 2 * SK_ScalarPI; in radianSweep()
214 } else if (sweep < -SK_ScalarPI) { in radianSweep()
215 sweep += 2 * SK_ScalarPI; in radianSweep()
217 return sweep; in radianSweep()
829 SkDVector sweep[2], tweep[2]; in DEF_TEST() local
830 setQuadHullSweep(quad1, sweep); in DEF_TEST()
832 double s0xt0 = sweep[0].crossCheck(tweep[0]); in DEF_TEST()