Home | History | Annotate | Download | only in tests

Lines Matching refs:line

17     SkDLine line;
21 // quad line results
31 static int doIntersect(SkIntersections& intersections, const SkDQuad& quad, 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(quad, 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(quad, left, right, line[0].fY, flipped);
52 intersections.intersect(quad, line);
60 SkDLine line;
86 const SkDLine& line = oneOffs[index].line;
87 SkASSERT(ValidLine(line));
89 int result = doIntersect(intersections, quad, line, flipped);
94 SkDPoint lineXY = line.ptAtT(lineT);
115 const SkDLine& line = lineQuadTests[index].line;
116 SkASSERT(ValidLine(line));
119 int order2 = reducer2.reduce(line);
125 SkDebugf("%s [%d] line order=%d\n", __FUNCTION__, iIndex, order2);
130 int result = doIntersect(intersections, quad, line, flipped);
141 SkDPoint t2 = line.ptAtT(tt2);