Lines Matching refs:x0Int
173 int16_t x0Int = MATH_ROUND(x0);
184 DrawThinWuLine(gfxDstBuffer, { x0Int, y0Int }, { x3Int, y3Int }, mask, 2, color, opacity); // 2 : line width
187 dx = MATH_ABS(x0Int - x1Int);
194 SWAP_IF_Y_LARGER(x0Int, x1Int, y0Int, y1Int);
197 SWAP_IF_Y_LARGER(x0Int, x1Int, y0Int, y1Int);
199 SWAP_IF_Y_LARGER(x0Int, x1Int, y0Int, y1Int);
201 SWAP_IF_X_SMALLER(x1Int, x0Int, y1Int, y0Int);
204 SWAP_IF_X_SMALLER(x0Int, x1Int, y0Int, y1Int);
208 SWAP_IF_X_SMALLER(x0Int, x1Int, y0Int, y1Int);
211 SWAP_IF_X_SMALLER(x0Int, x1Int, y0Int, y1Int);
213 SWAP_IF_X_SMALLER(x0Int, x1Int, y0Int, y1Int);
215 SWAP_IF_Y_LARGER(x1Int, x0Int, y1Int, y0Int);
218 SWAP_IF_Y_LARGER(x0Int, x1Int, y0Int, y1Int);
244 static_cast<uint64_t>(MATH_ABS(x1Int - x0Int));
247 dx = MATH_ABS(x1Int - x0Int);
248 sx = x0Int;
250 drawUtils->DrawPixel(gfxDstBuffer, x0Int, y0Int, mask, color, opacity);
292 rect.SetRect(MATH_MIN(x0Int, x1Int), y0Int, MATH_MAX(x0Int, x1Int), y1Int);
298 sx = x0Int;
341 adj1 = static_cast<uint64_t>(MATH_ABS(x1Int - x0Int) << SHIFT_16) /
346 sx = x0Int;
353 if (x0Int - sx < MAX_LINE_WIDTH) {
354 endPoints0[x0Int - sx] = sy;
362 if (x0Int - sx < MAX_LINE_WIDTH) {
363 endPoints0[x0Int - sx] = sy - dir;
390 rect.SetRect(x1Int, MATH_MIN(y0Int, y1Int), x0Int, MATH_MAX(y0Int, y1Int));
396 sx = x0Int - 1;
398 dx = MATH_ABS(x3Int - x0Int);