Lines Matching defs:ux1
1551 gfx_term_drawrect(uint32_t ux1, uint32_t uy1, uint32_t ux2, uint32_t uy2)
1569 if (ux1 != 0)
1570 ux1--;
1577 r.tr_begin.tp_col = ux1;
1587 x1 = (ux1 + 1) * vf_width + gfx_state.tg_origin.tp_col;
1598 x1 = ux1 * vf_width + gfx_state.tg_origin.tp_col + xshift;
1608 x1 = ux1 * vf_width + gfx_state.tg_origin.tp_col + xshift;
1612 x2 = ux1 * vf_width + gfx_state.tg_origin.tp_col;
1619 x1 = ux1 * vf_width + gfx_state.tg_origin.tp_col;
1623 x2 = ux1 * vf_width + gfx_state.tg_origin.tp_col + xshift;
1650 gfx_fb_putimage(png_t *png, uint32_t ux1, uint32_t uy1, uint32_t ux2,
1680 if (ux1 > gfx_state.tg_fb.fb_width ||
1706 ux2 = ux1 + png->width;
1711 ux2 = ux1 + (png->width * (uy2 - uy1)) / png->height;
1713 /* Set uy2 from ux2/ux1 to maintain aspect ratio */
1714 uy2 = uy1 + (png->height * (ux2 - ux1)) / png->width;
1724 fwidth = ux2 - ux1;
1734 if (ux1 == 0) {
1740 ux1 = ux2 - fwidth;
1752 if (ux1 >= ux2 || uy1 >= uy2) {
1766 png->width, png->height, fwidth, fheight, ux1, uy1);
1768 rect.tr_begin.tp_col = ux1 / gfx_state.tg_font.vf_width;
1770 rect.tr_end.tp_col = (ux1 + fwidth) / gfx_state.tg_font.vf_width;
1780 gfx_fb_drawrect(ux1, uy1, ux2, uy2, 0);
1895 gfx_fb_cons_display(ux1, uy1, fwidth, fheight, data);