/dports/devel/efl/efl-1.25.1/src/lib/ecore_x/ |
H A D | ecore_x_fixes.c | 49 XRectangle *xrect; in _ecore_x_rectangle_ecore_to_x() local 56 if (!xrect) in _ecore_x_rectangle_ecore_to_x() 61 xrect[i].x = rects[i].x; in _ecore_x_rectangle_ecore_to_x() 62 xrect[i].y = rects[i].y; in _ecore_x_rectangle_ecore_to_x() 66 return xrect; in _ecore_x_rectangle_ecore_to_x() 85 rects[i].x = xrect[i].x; in _ecore_x_rectangle_x_to_ecore() 86 rects[i].y = xrect[i].y; in _ecore_x_rectangle_x_to_ecore() 143 XRectangle *xrect; in ecore_x_region_new() local 148 free(xrect); in ecore_x_region_new() 357 XFree(xrect); in ecore_x_region_fetch() [all …]
|
/dports/multimedia/recordmydesktop/recordmydesktop-0.3.8.1/src/ |
H A D | rmd_poll_events.c | 45 #define CLIP_EVENT_AREA(e,brwin,xrect){\ argument 49 (xrect)->x=(brwin)->rrect.x;\ 50 (xrect)->y=(brwin)->rrect.y;\ 51 (xrect)->width=(brwin)->rrect.width;\ 52 (xrect)->height=(brwin)->rrect.height;\ 77 if((xrect)->width>(brwin)->rrect.width)\ 78 (xrect)->width=(brwin)->rrect.width;\ 79 if((xrect)->height>(brwin)->rrect.height)\ 193 XRectangle xrect; in EventLoop() local 195 if((xrect.x>=0)&&(xrect.y>=0)&& in EventLoop() [all …]
|
H A D | rmd_rectinsert.c | 302 xrect->width+=(xrect->width%2)|(xrect->x%2); in RectInsert() 303 xrect->height+=(xrect->height%2)|(xrect->y%2); in RectInsert() 304 xrect->width+=(xrect->width%2); in RectInsert() 305 xrect->height+=(xrect->height%2); in RectInsert() 306 xrect->x-=xrect->x%2; in RectInsert() 307 xrect->y-=xrect->y%2; in RectInsert() 310 newnode->rect.x=xrect->x; in RectInsert() 311 newnode->rect.y=xrect->y; in RectInsert() 350 if((xrect->width>0)&&(xrect->height>0)) in RectInsert() 364 if((xrect->width>0)&&(xrect->height>0)) in RectInsert() [all …]
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/graphics/tests/nonreg_tests/ |
H A D | bug_1669.dia.ref | 15 xrect (0, 1, 1, 1); 18 xrect (0, 1, 0.9, 0.9); 21 xrect (0, 1, 0.8, 0.8); 24 xrect (0, 1, 0.7, 0.7); 27 xrect (0, 1, 0.6, 0.6); 30 xrect (0, 1, 0.5, 0.5); 33 xrect (0, 1, 0.4, 0.4); 36 xrect (0, 1, 0.3, 0.3); 39 xrect (0, 1, 0.2, 0.2); 42 xrect (0, 1, 0.1, 0.1);
|
H A D | bug_1669.tst | 18 xrect (0, 1, 1, 1); 21 xrect (0, 1, 0.9, 0.9); 24 xrect (0, 1, 0.8, 0.8); 27 xrect (0, 1, 0.7, 0.7); 30 xrect (0, 1, 0.6, 0.6); 33 xrect (0, 1, 0.5, 0.5); 36 xrect (0, 1, 0.4, 0.4); 39 xrect (0, 1, 0.3, 0.3); 42 xrect (0, 1, 0.2, 0.2); 45 xrect (0, 1, 0.1, 0.1);
|
/dports/x11-wm/muffin/muffin-4.8.0/src/ui/ |
H A D | preview-widget.c | 406 cairo_rectangle_int_t xrect; in meta_preview_get_clip_region() local 418 xrect.x = 0; in meta_preview_get_clip_region() 419 xrect.y = 0; in meta_preview_get_clip_region() 446 xrect.x = 0; in meta_preview_get_clip_region() 447 xrect.y = i; in meta_preview_get_clip_region() 449 xrect.height = 1; in meta_preview_get_clip_region() 465 xrect.y = i; in meta_preview_get_clip_region() 467 xrect.height = 1; in meta_preview_get_clip_region() 482 xrect.x = 0; in meta_preview_get_clip_region() 485 xrect.height = 1; in meta_preview_get_clip_region() [all …]
|
/dports/x11-wm/marco/marco-1.26.0/src/ui/ |
H A D | preview-widget.c | 493 GdkRectangle xrect; in meta_preview_get_clip_region() local 505 xrect.x = 0; in meta_preview_get_clip_region() 506 xrect.y = 0; in meta_preview_get_clip_region() 533 xrect.x = 0; in meta_preview_get_clip_region() 534 xrect.y = i; in meta_preview_get_clip_region() 536 xrect.height = 1; in meta_preview_get_clip_region() 552 xrect.y = i; in meta_preview_get_clip_region() 554 xrect.height = 1; in meta_preview_get_clip_region() 569 xrect.x = 0; in meta_preview_get_clip_region() 572 xrect.height = 1; in meta_preview_get_clip_region() [all …]
|
/dports/x11-wm/metacity/metacity-3.42.0/src/core/ |
H A D | effects.c | 85 XRectangle xrect; in update_wireframe_window() local 92 xrect.x = 0; in update_wireframe_window() 93 xrect.y = 0; in update_wireframe_window() 94 xrect.width = rect->width; in update_wireframe_window() 95 xrect.height = rect->height; in update_wireframe_window() 97 XUnionRectWithRegion (&xrect, outer_xregion, outer_xregion); in update_wireframe_window() 99 xrect.x += OUTLINE_WIDTH; in update_wireframe_window() 100 xrect.y += OUTLINE_WIDTH; in update_wireframe_window() 101 xrect.width -= OUTLINE_WIDTH * 2; in update_wireframe_window() 102 xrect.height -= OUTLINE_WIDTH * 2; in update_wireframe_window() [all …]
|
/dports/games/flobopuyo/flobopuyo-0.20/ |
H A D | PuyoAnimations.cpp | 312 SDL_Rect drect, xrect; in draw() local 322 xrect.w = explodingPuyo[shrinkingImage][color]->w; in draw() 323 xrect.h = explodingPuyo[shrinkingImage][color]->h; in draw() 324 xrect.x = X - iter2 * iter2; in draw() 325 xrect.y = xrectY; in draw() 327 xrect.x = X - iter2; in draw() 328 xrect.y = xrectY + iter2; in draw() 330 xrect.x = X + iter2; in draw() 331 xrect.y = xrectY + iter2; in draw() 333 xrect.x = X + iter2 * iter2; in draw() [all …]
|
/dports/lang/gcc48/gcc-4.8.5/libjava/gnu/gcj/xlib/ |
H A D | natClip.cc | 38 XRectangle& xrect = (*xrectvector)[i]; in init() local 40 xrect.x = awtrect->x; in init() 41 xrect.y = awtrect->y; in init() 42 xrect.width = awtrect->width; in init() 43 xrect.height = awtrect->height; in init()
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gcc/libjava/gnu/gcj/xlib/ |
H A D | natClip.cc | 38 XRectangle& xrect = (*xrectvector)[i]; in init() local 40 xrect.x = awtrect->x; in init() 41 xrect.y = awtrect->y; in init() 42 xrect.width = awtrect->width; in init() 43 xrect.height = awtrect->height; in init()
|
/dports/lang/gnat_util/gcc-6-20180516/libjava/gnu/gcj/xlib/ |
H A D | natClip.cc | 38 XRectangle& xrect = (*xrectvector)[i]; in init() local 40 xrect.x = awtrect->x; in init() 41 xrect.y = awtrect->y; in init() 42 xrect.width = awtrect->width; in init() 43 xrect.height = awtrect->height; in init()
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/libjava/gnu/gcj/xlib/ |
H A D | natClip.cc | 38 XRectangle& xrect = (*xrectvector)[i]; in init() local 40 xrect.x = awtrect->x; in init() 41 xrect.y = awtrect->y; in init() 42 xrect.width = awtrect->width; in init() 43 xrect.height = awtrect->height; in init()
|
/dports/lang/gcc6-aux/gcc-6-20180516/libjava/gnu/gcj/xlib/ |
H A D | natClip.cc | 38 XRectangle& xrect = (*xrectvector)[i]; in init() local 40 xrect.x = awtrect->x; in init() 41 xrect.y = awtrect->y; in init() 42 xrect.width = awtrect->width; in init() 43 xrect.height = awtrect->height; in init()
|
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gcc/libjava/gnu/gcj/xlib/ |
H A D | natClip.cc | 38 XRectangle& xrect = (*xrectvector)[i]; in init() local 40 xrect.x = awtrect->x; in init() 41 xrect.y = awtrect->y; in init() 42 xrect.width = awtrect->width; in init() 43 xrect.height = awtrect->height; in init()
|
/dports/devel/mingw32-gcc/gcc-4.8.1/libjava/gnu/gcj/xlib/ |
H A D | natClip.cc | 38 XRectangle& xrect = (*xrectvector)[i]; in init() local 40 xrect.x = awtrect->x; in init() 41 xrect.y = awtrect->y; in init() 42 xrect.width = awtrect->width; in init() 43 xrect.height = awtrect->height; in init()
|
/dports/x11-wm/xfce4-wm/xfwm4-4.16.1/src/ |
H A D | wireframe.c | 66 XRectangle xrect; in wireframeDrawXlib() local 73 xrect.x = 0; in wireframeDrawXlib() 74 xrect.y = 0; in wireframeDrawXlib() 75 xrect.width = wireframe->width; in wireframeDrawXlib() 76 xrect.height = wireframe->height; in wireframeDrawXlib() 77 XUnionRectWithRegion (&xrect, outer_xregion, outer_xregion); in wireframeDrawXlib() 79 xrect.x += OUTLINE_WIDTH; in wireframeDrawXlib() 80 xrect.y += OUTLINE_WIDTH; in wireframeDrawXlib() 81 xrect.width -= OUTLINE_WIDTH * 2; in wireframeDrawXlib() 82 xrect.height -= OUTLINE_WIDTH * 2; in wireframeDrawXlib() [all …]
|
/dports/math/topaz/topaz-3.41/win32/ |
H A D | draw.c | 298 RECT xrect; in drawline() local 716 xrect.left = (short)dp.x; in drawline() 717 xrect.top = (short)dp.y; in drawline() 723 xrect.right = (unsigned short)dp.x; in drawline() 724 xrect.bottom = (unsigned short)dp.y; in drawline() 727 IntersectClipRect(dc, xrect.left, xrect.top, xrect.right, xrect.bottom); in drawline() 828 xrect.left = (short)dp.x; in drawline() 829 xrect.top = (short)dp.y; in drawline() 835 xrect.right = (unsigned short)dp.x; in drawline() 836 xrect.bottom = (unsigned short)dp.y; in drawline() [all …]
|
/dports/multimedia/libva/libva-2.13.0/va/x11/ |
H A D | dri2_util.c | 91 XRectangle xrect; in dri2SwapBuffer() local 101 xrect.x = 0; in dri2SwapBuffer() 102 xrect.y = 0; in dri2SwapBuffer() 103 xrect.width = dri2_drawable->width; in dri2SwapBuffer() 104 xrect.height = dri2_drawable->height; in dri2SwapBuffer() 106 region = XFixesCreateRegion(ctx->native_dpy, &xrect, 1); in dri2SwapBuffer()
|
/dports/multimedia/libva-glx/libva-2.13.0/va/x11/ |
H A D | dri2_util.c | 91 XRectangle xrect; in dri2SwapBuffer() local 101 xrect.x = 0; in dri2SwapBuffer() 102 xrect.y = 0; in dri2SwapBuffer() 103 xrect.width = dri2_drawable->width; in dri2SwapBuffer() 104 xrect.height = dri2_drawable->height; in dri2SwapBuffer() 106 region = XFixesCreateRegion(ctx->native_dpy, &xrect, 1); in dri2SwapBuffer()
|
/dports/games/xchomp/xchomp/ |
H A D | main.c | 88 XRectangle xrect; in play_game() local 299 XClipBox(ghost_region[i], &xrect); in play_game() 301 (ghost_x[i] &= ~1) - 2 - xrect.x, in play_game() 302 (ghost_y[i] &= ~1) - 2 - xrect.y); in play_game() 309 XClipBox(ghost_region[i], &xrect); in play_game() 311 (ghost_x[i] &= ~1) - 2 - xrect.x, in play_game() 312 (ghost_y[i] &= ~1) - 2 - xrect.y); in play_game()
|
/dports/x11-wm/marco/marco-1.26.0/src/core/ |
H A D | effects.c | 278 XRectangle xrect; in update_wireframe_window() local 285 xrect.x = 0; in update_wireframe_window() 286 xrect.y = 0; in update_wireframe_window() 287 xrect.width = rect->width; in update_wireframe_window() 288 xrect.height = rect->height; in update_wireframe_window() 290 XUnionRectWithRegion (&xrect, outer_xregion, outer_xregion); in update_wireframe_window() 292 xrect.x += OUTLINE_WIDTH; in update_wireframe_window() 293 xrect.y += OUTLINE_WIDTH; in update_wireframe_window() 294 xrect.width -= OUTLINE_WIDTH * 2; in update_wireframe_window() 295 xrect.height -= OUTLINE_WIDTH * 2; in update_wireframe_window() [all …]
|
/dports/graphics/blender/blender-2.91.0/release/scripts/addons/object_carver/ |
H A D | carver_draw.py | 250 xrect = 40 252 rect_vertices = [(xrect - 5, yrect - 5), (xrect + txt_width + 5, yrect - 5), \ 253 … (xrect + txt_width + 5, yrect + txt_height + 5), (xrect - 5, yrect + txt_height + 5)] 255 draw_string(self, color1, color2, xrect, yrect, help_txt, 0) 334 xrect = region.width - t_panel_width - 80 336 coords = [(xrect, yrect), (xrect+60, yrect), (xrect+60, yrect-60), (xrect, yrect-60)]
|
/dports/x11-wm/plasma5-kwin/kwin-5.23.5/src/libkwineffects/ |
H A D | kwinxrenderutils.cpp | 162 xcb_rectangle_t xrect; in XFixesRegion() local 163 xrect.x = rect.x(); in XFixesRegion() 164 xrect.y = rect.y(); in XFixesRegion() 165 xrect.width = rect.width(); in XFixesRegion() 166 xrect.height = rect.height(); in XFixesRegion() 167 xrects.append(xrect); in XFixesRegion()
|
/dports/graphics/djvulibre/djvulibre-3.5.28/libdjvu/ |
H A D | DjVuImage.cpp | 714 GRect xrect = rect; in get_bg_pixmap() local 715 xrect.xmin = (xrect.xmin/3)*4; in get_bg_pixmap() 716 xrect.ymin = (xrect.ymin/3)*4; in get_bg_pixmap() 717 xrect.xmax = ((xrect.xmax+2)/3)*4; in get_bg_pixmap() 718 xrect.ymax = ((xrect.ymax+2)/3)*4; in get_bg_pixmap() 719 nrect.translate(-xrect.xmin*3/4, -xrect.ymin*3/4); in get_bg_pixmap() 720 if (xrect.xmax > w) in get_bg_pixmap() 721 xrect.xmax = w; in get_bg_pixmap() 722 if (xrect.ymax > h) in get_bg_pixmap() 723 xrect.ymax = h; in get_bg_pixmap() [all …]
|