Lines Matching refs:cy

234 #define FILL_RECTANGLE(x,y,cx,cy)\
236 XFillRectangle(g_display, g_wnd, g_gc, x, y, cx, cy); \
237 ON_ALL_SEAMLESS_WINDOWS(XFillRectangle, (g_display, sw->wnd, g_gc, x-sw->xoffset, y-sw->yoffset, cx, cy)); \
239 XFillRectangle(g_display, g_backstore, g_gc, x, y, cx, cy); \
242 #define FILL_RECTANGLE_BACKSTORE(x,y,cx,cy)\
244 XFillRectangle(g_display, g_ownbackstore ? g_backstore : g_wnd, g_gc, x, y, cx, cy); \
255 #define DRAW_ELLIPSE(x,y,cx,cy,m)\
260 XDrawArc(g_display, g_wnd, g_gc, x, y, cx, cy, 0, 360*64); \
261 ON_ALL_SEAMLESS_WINDOWS(XDrawArc, (g_display, sw->wnd, g_gc, x-sw->xoffset, y-sw->yoffset, cx, cy, 0, 360*64)); \
263 XDrawArc(g_display, g_backstore, g_gc, x, y, cx, cy, 0, 360*64); \
266 XFillArc(g_display, g_wnd, g_gc, x, y, cx, cy, 0, 360*64); \
267 ON_ALL_SEAMLESS_WINDOWS(XFillArc, (g_display, sw->wnd, g_gc, x-sw->xoffset, y-sw->yoffset, cx, cy, 0, 360*64)); \
269 XFillArc(g_display, g_backstore, g_gc, x, y, cx, cy, 0, 360*64); \
1950 uint32 x, y, cx, cy;
1951 if (get_current_workarea(&x, &y, &cx, &cy) == 0)
1954 g_height = cy;
2791 ui_paint_bitmap(int x, int y, int cx, int cy, int width, int height, uint8 * data)
2815 XPutImage(g_display, g_backstore, g_gc, image, 0, 0, x, y, cx, cy);
2816 XCopyArea(g_display, g_backstore, g_wnd, g_gc, x, y, cx, cy, x, y);
2818 (g_display, g_backstore, sw->wnd, g_gc, x, y, cx, cy,
2823 XPutImage(g_display, g_wnd, g_gc, image, 0, 0, x, y, cx, cy);
2825 (g_display, g_wnd, sw->wnd, g_gc, x, y, cx, cy,
3157 ui_set_clip(int x, int y, int cx, int cy)
3162 g_clip_rectangle.height = cy;
3184 /* dest */ int x, int y, int cx, int cy)
3187 FILL_RECTANGLE(x, y, cx, cy);
3202 /* dest */ int x, int y, int cx, int cy,
3214 FILL_RECTANGLE_BACKSTORE(x, y, cx, cy);
3225 FILL_RECTANGLE_BACKSTORE(x, y, cx, cy);
3242 FILL_RECTANGLE_BACKSTORE(x, y, cx, cy);
3253 FILL_RECTANGLE_BACKSTORE(x, y, cx, cy);
3266 FILL_RECTANGLE_BACKSTORE(x, y, cx, cy);
3280 XCopyArea(g_display, g_backstore, g_wnd, g_gc, x, y, cx, cy, x, y);
3283 x, y, cx, cy, x - sw->xoffset, y - sw->yoffset));
3288 /* dest */ int x, int y, int cx, int cy,
3295 g_wnd, g_gc, srcx, srcy, cx, cy, x, y);
3296 XCopyArea(g_display, g_backstore, g_backstore, g_gc, srcx, srcy, cx, cy, x, y);
3300 XCopyArea(g_display, g_wnd, g_wnd, g_gc, srcx, srcy, cx, cy, x, y);
3305 sw->wnd, g_gc, x, y, cx, cy, x - sw->xoffset, y - sw->yoffset));
3312 /* dest */ int x, int y, int cx, int cy,
3316 XCopyArea(g_display, (Pixmap) src, g_wnd, g_gc, srcx, srcy, cx, cy, x, y);
3319 srcx, srcy, cx, cy, x - sw->xoffset, y - sw->yoffset));
3321 XCopyArea(g_display, (Pixmap) src, g_backstore, g_gc, srcx, srcy, cx, cy, x, y);
3327 /* dest */ int x, int y, int cx, int cy,
3337 ui_memblt(ROP2_XOR, x, y, cx, cy, src, srcx, srcy);
3338 ui_patblt(ROP2_NXOR, x, y, cx, cy, brush, bgcolour, fgcolour);
3342 ui_patblt(ROP2_XOR, x, y, cx, cy, brush, bgcolour, fgcolour);
3343 ui_memblt(ROP2_AND, x, y, cx, cy, src, srcx, srcy);
3344 ui_patblt(ROP2_XOR, x, y, cx, cy, brush, bgcolour, fgcolour);
3348 ui_memblt(ROP2_COPY, x, y, cx, cy, src, srcx, srcy);
3349 ui_patblt(ROP2_AND, x, y, cx, cy, brush, bgcolour, fgcolour);
3354 ui_memblt(ROP2_COPY, x, y, cx, cy, src, srcx, srcy);
3376 /* dest */ int x, int y, int cx, int cy,
3380 FILL_RECTANGLE(x, y, cx, cy);
3503 /* dest */ int x, int y, int cx, int cy,
3520 DRAW_ELLIPSE(x, y, cx, cy, fillmode);
3531 DRAW_ELLIPSE(x, y, cx, cy, fillmode);
3548 DRAW_ELLIPSE(x, y, cx, cy, fillmode);
3559 DRAW_ELLIPSE(x, y, cx, cy, fillmode);
3572 DRAW_ELLIPSE(x, y, cx, cy, fillmode);
3589 /* dest */ int x, int y, int cx, int cy,
3601 FILL_RECTANGLE_BACKSTORE(x, y, cx, cy);
3767 ui_desktop_save(uint32 offset, int x, int y, int cx, int cy)
3774 image = XGetImage(g_display, g_backstore, x, y, cx, cy, AllPlanes, ZPixmap);
3779 pix = XCreatePixmap(g_display, g_wnd, cx, cy, g_depth);
3780 XCopyArea(g_display, g_wnd, pix, g_gc, x, y, cx, cy, 0, 0);
3781 image = XGetImage(g_display, pix, 0, 0, cx, cy, AllPlanes, ZPixmap);
3787 cache_put_desktop(offset, cx, cy, image->bytes_per_line, g_bpp / 8, (uint8 *) image->data);
3793 ui_desktop_restore(uint32 offset, int x, int y, int cx, int cy)
3799 data = cache_get_desktop(offset, cx, cy, g_bpp / 8);
3804 (char *) data, cx, cy, g_bpp, 0);
3808 XPutImage(g_display, g_backstore, g_gc, image, 0, 0, x, y, cx, cy);
3809 XCopyArea(g_display, g_backstore, g_wnd, g_gc, x, y, cx, cy, x, y);
3812 x, y, cx, cy, x - sw->xoffset, y - sw->yoffset));
3816 XPutImage(g_display, g_wnd, g_gc, image, 0, 0, x, y, cx, cy);
3818 (g_display, g_wnd, sw->wnd, g_gc, x, y, cx, cy,