Lines Matching refs:y
51 dist_vec = Point<pxs>(dist_vec.x().abs(), dist_vec.y().abs()); in pixelLineIntersect()
53 if (dist_vec.x() < dist_vec.y()) { in pixelLineIntersect()
54 dist_vec = Point<pxs>(dist_vec.y(), dist_vec.x()); in pixelLineIntersect()
57 auto a1 = -dist_vec.y(); in pixelLineIntersect()
74 area = R.x() * R.y() * pxs(.5); in pixelLineIntersect()
75 if (R.y() > 1.0) { in pixelLineIntersect()
76 auto r = R.y() - pxs(1.0); in pixelLineIntersect()
77 area -= r * R.x() * ((r) / R.y()) * pxs(.5); in pixelLineIntersect()
110 line = Point<pxs>(-line.y(), line.x()) / len; in drawLinePoint()
129 pxs y = 0.0; in intersect() local
132 if (c.x().abs() < kEpsilon || a.y() < kEpsilon) { in intersect()
135 y = g.x() / c.x(); in intersect()
138 pxs f = a.y() / a.x(); in intersect()
139 pxs h = f * c.x() - c.y(); in intersect()
143 y = (f * g.x() - g.y()) / h; in intersect()
146 return c * y + d; in intersect()
152 return {-in.y(), in.x()}; in rotate90()
260 auto y = *b - o; in area() local
261 result += x.x() * y.y() - x.y() * y.x(); in area()