Lines Matching defs:line
31 // isLeft(): tests if a point is Left|On|Right of an infinite line.
33 // Return: >0 for P2 left of the line through P0 and P1
34 // =0 for P2 on the line
35 // <0 for P2 right of the line
71 // project a perpendicular ray from the point to the line; find the T on the line
72 SkDVector len = fPts[1] - fPts[0]; // the x/y magnitudes of the line
82 // find the ordinal in the original line with the largest unsigned exponent
95 // project a perpendicular ray from the point to the line; find the T on the line
96 SkDVector len = fPts[1] - fPts[0]; // the x/y magnitudes of the line
103 // find the ordinal in the original line with the largest unsigned exponent
115 SkDLine line = {{{0, 0}, {x1, y1}}};
118 SkTSwap(line[1], pt);
120 return line.nearRay(pt);