Lines Matching refs:x0
1348 gfx_fb_line(uint32_t x0, uint32_t y0, uint32_t x1, uint32_t y1, uint32_t wd) in gfx_fb_line() argument
1357 sx = x0 < x1? 1 : -1; in gfx_fb_line()
1359 dx = x1 > x0? x1 - x0 : x0 - x1; in gfx_fb_line()
1365 gfx_fb_setpixel(x0, y0); in gfx_fb_line()
1367 x2 = x0; in gfx_fb_line()
1374 gfx_fb_setpixel(x0, y2); in gfx_fb_line()
1377 if (x0 == x1) in gfx_fb_line()
1381 x0 += sx; in gfx_fb_line()
1403 gfx_fb_bezier(uint32_t x0, uint32_t y0, uint32_t x1, uint32_t y1, uint32_t x2, in gfx_fb_bezier() argument
1416 xx = x0 - x1; in gfx_fb_bezier()
1421 x2 = x0; in gfx_fb_bezier()
1422 x0 = sx + x1; in gfx_fb_bezier()
1429 sx = x0 < x2? 1 : -1; in gfx_fb_bezier()
1443 dx = 4 * sy * curvature * (x1 - x0) + xx - xy; in gfx_fb_bezier()
1450 gfx_fb_setpixel(x0 + i, y0); in gfx_fb_bezier()
1451 if (x0 == x2 && y0 == y2) in gfx_fb_bezier()
1455 x0 += sx; in gfx_fb_bezier()
1468 gfx_fb_line(x0, y0, x2, y2, width); in gfx_fb_bezier()