Lines Matching defs:x2
1402 gfx_fb_drawrect(uint32_t x1, uint32_t y1, uint32_t x2, uint32_t y2,
1413 gfxfb_blt(&c, GfxFbBltVideoFill, 0, 0, x1, y1, x2 - x1,
1416 gfxfb_blt(&c, GfxFbBltVideoFill, 0, 0, x1, y1, x2 - x1, 1, 0);
1417 gfxfb_blt(&c, GfxFbBltVideoFill, 0, 0, x1, y2, x2 - x1, 1, 0);
1419 gfxfb_blt(&c, GfxFbBltVideoFill, 0, 0, x2, y1, 1, y2 - y1, 0);
1427 int err, e2, x2, y2, ed, width;
1443 x2 = x0;
1462 (x1 != (uint32_t)x2 || dx < dy)) {
1463 x2 += sx;
1464 gfx_fb_setpixel(x2, y0);
1479 gfx_fb_bezier(uint32_t x0, uint32_t y0, uint32_t x1, uint32_t y1, uint32_t x2,
1490 sx = x2 - x1;
1497 x2 = x0;
1505 sx = x0 < x2? 1 : -1;
1527 if (x0 == x2 && y0 == y2)
1544 gfx_fb_line(x0, y0, x2, y2, width);
1553 int x1, y1, x2, y2;
1589 x2 = ux2 * vf_width + gfx_state.tg_origin.tp_col;
1590 gfx_fb_drawrect(x1, y1, x2, y1 + width, 1);
1593 gfx_fb_drawrect(x1, y2, x2, y2 + width, 1);
1612 x2 = ux1 * vf_width + gfx_state.tg_origin.tp_col;
1613 x2 += vf_width;
1616 gfx_fb_bezier(x1 + i, y1, x1 + i, y2 + i, x2, y2 + i, width-i);
1623 x2 = ux1 * vf_width + gfx_state.tg_origin.tp_col + xshift;
1626 gfx_fb_bezier(x1, y1 - i, x2 + i, y1 - i, x2 + i, y2, width-i);
1631 x2 = ux2 * vf_width + gfx_state.tg_origin.tp_col;
1632 x2 += vf_width - xshift - width;
1636 gfx_fb_bezier(x1, y1 + i, x2 + i, y1 + i, x2 + i, y2, width-i);
1642 x2 = ux2 * vf_width + gfx_state.tg_origin.tp_col;
1643 x2 += vf_width - xshift - width;
1646 gfx_fb_bezier(x1, y1 - i, x2 + i, y1 - i, x2 + i, y2, width-i);
1847 * Given a 2x2 array of pixels in the source