Home
last modified time | relevance | path

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

/external/skia/src/pathops/
DSkOpAngle.cpp273 double s0xt0 = sweep->crossCheck(*tweep); in checkParallel() local
274 if (tangentsDiverge(rh, s0xt0)) { in checkParallel()
275 return s0xt0 < 0; in checkParallel()
363 double s0xt0 = sweep[0].crossCheck(tweep[0]); in convexHullOverlaps() local
365 bool tBetweenS = s0xs1 > 0 ? s0xt0 > 0 && s1xt0 < 0 : s0xt0 < 0 && s1xt0 > 0; in convexHullOverlaps()
373 if ((s0xt0 == 0 && s1xt1 == 0) || (s1xt0 == 0 && s0xt1 == 0)) { // s0 to s1 equals t0 to t1 in convexHullOverlaps()
376 bool sBetweenT = t0xt1 > 0 ? s0xt0 < 0 && s0xt1 > 0 : s0xt0 > 0 && s0xt1 < 0; in convexHullOverlaps()
382 if (s0xt0 >= 0 && s0xt1 >= 0 && s1xt0 >= 0 && s1xt1 >= 0) { in convexHullOverlaps()
385 if (s0xt0 <= 0 && s0xt1 <= 0 && s1xt0 <= 0 && s1xt1 <= 0) { in convexHullOverlaps()
394 if (s0xt0 > 0 && m0xm1 > 0) { in convexHullOverlaps()
[all …]
DSkOpAngle.h117 bool tangentsDiverge(const SkOpAngle* rh, double s0xt0);
/external/skia/tests/
DPathOpsAngleIdeas.cpp144 double s0xt0 = sweep[0].crossCheck(tweep[0]); in checkParallel() local
145 double m = s0xt0 / s0dt0; in checkParallel()
151 return s0xt0 < 0; in checkParallel()
169 double s0xt0 = sweep[0].crossCheck(tweep[0]); in quadHullsOverlap() local
171 bool tBetweenS = s0xs1 > 0 ? s0xt0 > 0 && s1xt0 < 0 : s0xt0 < 0 && s1xt0 > 0; in quadHullsOverlap()
179 if ((s0xt0 == 0 && s1xt1 == 0) || (s1xt0 == 0 && s0xt1 == 0)) { // s0 to s1 equals t0 to t1 in quadHullsOverlap()
182 bool sBetweenT = t0xt1 > 0 ? s0xt0 < 0 && s0xt1 > 0 : s0xt0 > 0 && s0xt1 < 0; in quadHullsOverlap()
188 if (s0xt0 >= 0 && s0xt1 >= 0 && s1xt0 >= 0 && s1xt1 >= 0) { in quadHullsOverlap()
191 if (s0xt0 <= 0 && s0xt1 <= 0 && s1xt0 <= 0 && s1xt1 <= 0) { in quadHullsOverlap()
200 if (s0xt0 > 0 && m0xm1 > 0) { in quadHullsOverlap()
[all …]