Home | History | Annotate | Download | only in tests

Lines Matching defs:line

17     SkDLine line;
31 static int doIntersect(SkIntersections& intersections, const SkDConic& conic, const SkDLine& line,
35 if (line[0].fX == line[1].fX) {
36 double top = line[0].fY;
37 double bottom = line[1].fY;
42 result = intersections.vertical(conic, top, bottom, line[0].fX, flipped);
43 } else if (line[0].fY == line[1].fY) {
44 double left = line[0].fX;
45 double right = line[1].fX;
50 result = intersections.horizontal(conic, left, right, line[0].fY, flipped);
52 intersections.intersect(conic, line);
60 SkDLine line;
73 const SkDLine& line = oneOffs[index].line;
74 SkASSERT(ValidLine(line));
76 int result = doIntersect(intersections, conic, line, flipped);
81 SkDPoint lineXY = line.ptAtT(lineT);
100 const SkDLine& line = lineConicTests[index].line;
101 SkASSERT(ValidLine(line));
111 int order2 = reducer.reduce(line);
113 SkDebugf("%s [%d] line order=%d\n", __FUNCTION__, iIndex, order2);
118 int result = doIntersect(intersections, conic, line, flipped);
129 SkDPoint t2 = line.ptAtT(tt2);