Lines Matching refs:line
18 SkDLine line;
34 const SkDLine& line = failLineCubicTests[iIndex].line;
35 SkASSERT(ValidLine(line));
39 int order2 = reduce2.reduce(line);
45 SkDebugf("[%d] line order=%d\n", iIndex, order2);
50 int roots = i.intersect(cubic, line);
103 static int doIntersect(SkIntersections& intersections, const SkDCubic& cubic, const SkDLine& line) {
106 if (line[0].fX == line[1].fX) {
107 double top = line[0].fY;
108 double bottom = line[1].fY;
114 result = intersections.vertical(cubic, top, bottom, line[0].fX, flipped);
115 } else if (line[0].fY == line[1].fY) {
116 double left = line[0].fX;
117 double right = line[1].fX;
123 result = intersections.horizontal(cubic, left, right, line[0].fY, flipped);
125 intersections.intersect(cubic, line);
136 const SkDLine& line = lineCubicTests[iIndex].line;
137 SkASSERT(ValidLine(line));
141 int order2 = reduce2.reduce(line);
147 SkDebugf("[%d] line order=%d\n", iIndex, order2);
152 int roots = doIntersect(i, cubic, line);
157 SkDPoint xy2 = line.ptAtT(tt2);
170 SkDPoint prevL = line.ptAtT(i[1][0] - 0.0000007);
172 SkDPoint nextL = line.ptAtT(i[1][0] + 0.0000007);
202 const SkDLine& line = lineCubicTests[iIndex].line;
204 i.intersect(cubic, line);