Lines Matching defs:ey
30 #define SWAP_START_END(sx, sy, ex, ey, dx, dy, dir) \
33 if ((sy) > (ey)) { \
34 SWAP_POINTS((sx), (ex), (sy), (ey)); \
41 SWAP_POINTS((sx), (ex), (sy), (ey)); \
43 if ((ey) < (sy)) { \
155 int16_t ey = end.y;
157 uint16_t dy = MATH_ABS(ey - sy);
159 SWAP_START_END(sx, sy, ex, ey, dx, dy, dir);
162 float plot = -static_cast<float>(ex - sx) / static_cast<float>(ey - sy);
170 float y2 = ey + (x2 - ex) * plot;
172 float y3 = ey + (x3 - ex) * plot;
446 int16_t ey = end.y;
448 uint16_t dy = MATH_ABS(ey - sy);
453 SWAP_START_END(sx, sy, ex, ey, dx, dy, dir);