Lines Matching refs:ex
30 #define SWAP_START_END(sx, sy, ex, ey, dx, dy, dir) \ argument
34 SWAP_POINTS((sx), (ex), (sy), (ey)); \
36 if ((ex) < (sx)) { \
40 if ((sx) < (ex)) { \
41 SWAP_POINTS((sx), (ex), (sy), (ey)); \
154 int16_t ex = end.x; in DrawWuLine() local
156 uint16_t dx = MATH_ABS(ex - sx); in DrawWuLine()
159 SWAP_START_END(sx, sy, ex, ey, dx, dy, dir); in DrawWuLine()
162 float plot = -static_cast<float>(ex - sx) / static_cast<float>(ey - sy); in DrawWuLine()
169 float x2 = ex + offset; in DrawWuLine()
170 float y2 = ey + (x2 - ex) * plot; in DrawWuLine()
171 float x3 = ex - offset; in DrawWuLine()
172 float y3 = ey + (x3 - ex) * plot; in DrawWuLine()
445 int16_t ex = end.x; in DrawThinWuLine() local
447 uint16_t dx = MATH_ABS(ex - sx); in DrawThinWuLine()
453 SWAP_START_END(sx, sy, ex, ey, dx, dy, dir); in DrawThinWuLine()