Home | History | Annotate | Download | only in tests

Lines Matching refs:intersections

31 static int doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line,
42 result = intersections.vertical(quad, top, bottom, line[0].fX, flipped);
50 result = intersections.horizontal(quad, left, right, line[0].fY, flipped);
52 intersections.intersect(quad, line);
53 result = intersections.used();
86 SkIntersections intersections;
87 int result = doIntersect(intersections, quad, line, flipped);
89 double quadT = intersections[0][inner];
91 double lineT = intersections[1][inner];
124 SkIntersections intersections;
126 int result = doIntersect(intersections, quad, line, flipped);
128 if (intersections.used() <= 0) {
132 double tt1 = intersections[0][pt];
135 double tt2 = intersections[1][pt];