/dports/devel/directfb/DirectFB-1.4.17/src/gfx/ |
H A D | clip.c | 342 srect->x+= clip->x1 - *dx; in dfb_clip_blit() 346 srect->w = clip->x2 - *dx + 1; in dfb_clip_blit() 352 srect->y+= clip->y1 - *dy; in dfb_clip_blit() 356 srect->h = clip->y2 - *dy + 1; in dfb_clip_blit() 377 srect->w = (int)( srect->w * (drect->w / (float)orig_dst.w) ); in dfb_clip_stretchblit() 380 srect->h = (int)( srect->h * (drect->h / (float)orig_dst.h) ); in dfb_clip_stretchblit() 395 D_ASSERT( srect->w == drect->h ); in dfb_clip_blit_flipped_rotated() 442 srect->w = drect->h; in dfb_clip_blit_flipped_rotated() 443 srect->h = drect->w; in dfb_clip_blit_flipped_rotated() 446 srect->w = drect->w; in dfb_clip_blit_flipped_rotated() [all …]
|
/dports/devel/directfb/DirectFB-1.4.17/src/gfx/generic/ |
H A D | generic_stretch_blit.c | 341 srect->w, srect->h, drect->w, drect->h, &clip ); in stretch_hvx_planar() 386 if (srect->w > drect->w && srect->h > drect->h) in stretch_hvx() 604 srect->w, srect->h, drect->w, drect->h, &ctx ); in stretch_hvx() 611 if (srect->w < drect->w || srect->h < drect->h) { in stretch_hvx() 650 …e->color.a, state->color.r, state->color.g, state->color.b, srect->x, srect->y, srect->w, srect->h, in gStretchBlit() 672 srect->x += ix >> 16; in gStretchBlit() 677 srect->y += iy >> 16; in gStretchBlit() 684 D_ASSERT( srect->x + srect->w <= state->source->config.size.w ); in gStretchBlit() 685 D_ASSERT( srect->y + srect->h <= state->source->config.size.h ); in gStretchBlit() 725 Bop_X = srect->x; in gStretchBlit() [all …]
|
/dports/devel/directfb/DirectFB-1.4.17/gfxdrivers/mach64/ |
H A D | mach64.c | 886 srect->x += srect->w - 1; in mach64DoBlit2D() 892 srect->y += srect->h - 1; in mach64DoBlit2D() 927 srect->x <<= 16; in mach64DoBlitScaleOld() 1062 srect->x <<= 1; in mach64DoBlitTexOld() 1063 srect->y <<= 1; in mach64DoBlitTexOld() 1064 srect->w <<= 1; in mach64DoBlitTexOld() 1065 srect->h <<= 1; in mach64DoBlitTexOld() 1123 srect->x <<= 1; in mach64DoBlitTex() 1124 srect->y <<= 1; in mach64DoBlitTex() 1125 srect->w <<= 1; in mach64DoBlitTex() [all …]
|
/dports/games/chroma/chroma-1.20/ |
H A D | sdlshadowdisplay.c | 95 SDL_Rect srect; in displayshadowed_piece() local 133 srect.x = 0; in displayshadowed_piece() 134 srect.y = 0; in displayshadowed_piece() 262 SDL_Rect srect; in displayshadowed_pieceshadow() local 290 srect.x = 0; in displayshadowed_pieceshadow() 291 srect.y = 0; in displayshadowed_pieceshadow() 298 drect.h = srect.h; in displayshadowed_pieceshadow() 327 SDL_Rect srect; in displayshadowed_piecebase() local 367 srect.x = 0; in displayshadowed_piecebase() 368 srect.y = 0; in displayshadowed_piecebase() [all …]
|
H A D | sdlmenudisplay.c | 86 SDL_Rect srect, drect; in menu_displayentry() local 139 srect.x = 0; in menu_displayentry() 140 srect.y = 0; in menu_displayentry() 159 srect.x = 0; in menu_displayentry() 160 srect.y = 0; in menu_displayentry() 176 srect.x = 0; in menu_displayentry() 177 srect.y = 0; in menu_displayentry() 191 srect.x = 0; in menu_displayentry() 192 srect.y = 0; in menu_displayentry() 197 srect.w = w; in menu_displayentry() [all …]
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/client/gui/j2d/entity/ |
H A D | RPEntity2DView.java | 451 g2d.drawOval(srect.x - 1, srect.y + srect.height - circleHeight, srect.width, circleHeight); in drawCombat() 452 g2d.drawOval(srect.x, srect.y + srect.height - circleHeight, srect.width, circleHeight); in drawCombat() 453 g2d.drawOval(srect.x + 1, srect.y + srect.height - circleHeight, srect.width, circleHeight); in drawCombat() 454 …drawShadedOval(g2d, srect.x + 1, srect.y + srect.height - circleHeight + 1, srect.width - 2, circl… in drawCombat() 465 …drawShadedOval(g2d, srect.x - 1, srect.y + srect.height - circleHeight - 1, srect.width + 2, circl… in drawCombat() 469 g2d.drawOval(srect.x - 1, srect.y + srect.height - circleHeight, srect.width, circleHeight); in drawCombat() 470 g2d.drawOval(srect.x, srect.y + srect.height - circleHeight, srect.width, circleHeight); in drawCombat() 471 g2d.drawOval(srect.x + 1, srect.y + srect.height - circleHeight, srect.width, circleHeight); in drawCombat() 472 …drawShadedOval(g2d, srect.x + 1, srect.y + srect.height - circleHeight + 1, srect.width - 2, circl… in drawCombat() 481 …drawArrows(g2d, srect.x - 1, srect.y + srect.height - circleHeight - 1, srect.width + 2, circleHei… in drawCombat() [all …]
|
/dports/devel/directfb/DirectFB-1.4.17/gfxdrivers/matrox/ |
H A D | matrox.c | 1866 srect->x, srect->y, in matroxBlitTMU() 1894 srect->w = (srect->w + 1) / 2; in matroxBlitTMU_2P() 1895 srect->h = (srect->h + 1) / 2; in matroxBlitTMU_2P() 1970 srect->w = (srect->w + 1) / 2; in matroxBlitTMU_3P() 1971 srect->h = (srect->h + 1) / 2; in matroxBlitTMU_3P() 2081 srect->w = (srect->w + 1) / 2; in matroxStretchBlit_422() 2227 srect->w = (srect->w + 1) / 2; in matroxStretchBlit_422_F() 2277 srect->w = (srect->w + 1) / 2; in matroxStretchBlit_2P_F() 2278 srect->h = (srect->h + 1) / 2; in matroxStretchBlit_2P_F() 2387 srect->w = (srect->w + 1) / 2; in matroxStretchBlit_3P_F() [all …]
|
/dports/emulators/mednafen/mednafen/src/drivers/ |
H A D | netplay.cpp | 178 MDFN_Rect srect; in Netplay_MT_Draw() local 184 srect.x = srect.y = 0; in Netplay_MT_Draw() 185 srect.w = screen_w / scale; in Netplay_MT_Draw() 186 srect.h = GetFontHeight(fontid) * lines; in Netplay_MT_Draw() 189 drect.y = screen_h - (srect.h * scale); in Netplay_MT_Draw() 190 drect.w = srect.w * scale; in Netplay_MT_Draw() 191 drect.h = srect.h * scale; in Netplay_MT_Draw() 193 BlitRaw(NetConsole.Draw(pformat, srect.w, srect.h, fontid), &srect, &drect); in Netplay_MT_Draw()
|
/dports/converters/wkhtmltopdf/qt-5db36ec/doc/src/snippets/ |
H A D | accessibilityslidersnippet.cpp | 64 QRect srect = slider()->style()->subControlRect(QStyle::CC_Slider, &option, in rect() local 71 rect = QRect(0, 0, slider()->width(), srect.y()); in rect() 73 rect = QRect(0, 0, srect.x(), slider()->height()); in rect() 76 rect = srect; in rect() 80 …rect = QRect(0, srect.y() + srect.height(), slider()->width(), slider()->height()- srect.y() - sre… in rect() 82 …rect = QRect(srect.x() + srect.width(), 0, slider()->width() - srect.x() - srect.width(), slider()… in rect()
|
/dports/devel/pyside2-tools/pyside-setup-opensource-src-5.15.2/sources/pyside2/doc/codesnippets/doc/src/snippets/ |
H A D | accessibilityslidersnippet.cpp | 74 QRect srect = slider()->style()->subControlRect(QStyle::CC_Slider, &option, in rect() local 81 rect = QRect(0, 0, slider()->width(), srect.y()); in rect() 83 rect = QRect(0, 0, srect.x(), slider()->height()); in rect() 86 rect = srect; in rect() 90 …rect = QRect(0, srect.y() + srect.height(), slider()->width(), slider()->height()- srect.y() - sre… in rect() 92 …rect = QRect(srect.x() + srect.width(), 0, slider()->width() - srect.x() - srect.width(), slider()… in rect()
|
/dports/devel/pyside2/pyside-setup-opensource-src-5.15.2/sources/pyside2/doc/codesnippets/doc/src/snippets/ |
H A D | accessibilityslidersnippet.cpp | 74 QRect srect = slider()->style()->subControlRect(QStyle::CC_Slider, &option, in rect() local 81 rect = QRect(0, 0, slider()->width(), srect.y()); in rect() 83 rect = QRect(0, 0, srect.x(), slider()->height()); in rect() 86 rect = srect; in rect() 90 …rect = QRect(0, srect.y() + srect.height(), slider()->width(), slider()->height()- srect.y() - sre… in rect() 92 …rect = QRect(srect.x() + srect.width(), 0, slider()->width() - srect.x() - srect.width(), slider()… in rect()
|
/dports/devel/shiboken2/pyside-setup-opensource-src-5.15.2/sources/pyside2/doc/codesnippets/doc/src/snippets/ |
H A D | accessibilityslidersnippet.cpp | 74 QRect srect = slider()->style()->subControlRect(QStyle::CC_Slider, &option, in rect() local 81 rect = QRect(0, 0, slider()->width(), srect.y()); in rect() 83 rect = QRect(0, 0, srect.x(), slider()->height()); in rect() 86 rect = srect; in rect() 90 …rect = QRect(0, srect.y() + srect.height(), slider()->width(), slider()->height()- srect.y() - sre… in rect() 92 …rect = QRect(srect.x() + srect.width(), 0, slider()->width() - srect.x() - srect.width(), slider()… in rect()
|
/dports/games/libretro-desmume2015/desmume2015-d6128e6/tools/nds_firmware_tool/src/ |
H A D | console.cpp | 38 SMALL_RECT srect; in OpenConsole() local 90 srect = csbiInfo.srWindow; in OpenConsole() 91 srect.Right = srect.Left + 99; in OpenConsole() 92 srect.Bottom = srect.Top + 64; in OpenConsole() 93 SetConsoleWindowInfo(GetStdHandle(STD_OUTPUT_HANDLE), TRUE, &srect); in OpenConsole()
|
/dports/games/lgeneral/lgeneral-1.3.2/lgc-pg/ |
H A D | terrain.c | 190 SDL_Rect srect, drect; in terrain_convert_tiles() local 216 srect.w = drect.w = 60; in terrain_convert_tiles() 217 srect.h = drect.h = 50; in terrain_convert_tiles() 218 srect.x = drect.y = 0; in terrain_convert_tiles() 231 srect.y = i * 50; in terrain_convert_tiles() 367 SDL_Rect srect, drect; in terrain_convert_graphics() local 393 srect.w = drect.w = 60; in terrain_convert_graphics() 394 srect.h = drect.h = 50; in terrain_convert_graphics() 395 srect.x = drect.y = 0; in terrain_convert_graphics() 397 srect.y = i * srect.h; in terrain_convert_graphics() [all …]
|
/dports/games/barrage/barrage-1.0.5/src/ |
H A D | main.c | 376 SDL_Rect drect, srect; in draw_ammo() local 382 drect.w = srect.w = ammo_w; in draw_ammo() 383 drect.h = srect.h = ammo_h; in draw_ammo() 384 srect.x = 0; srect.y = 0; in draw_ammo() 403 SDL_Rect srect,drect; in draw_cursor() local 405 drect.w = srect.w = cursor_w; in draw_cursor() 407 srect.x = cursor_x_offset; srect.y = 0; in draw_cursor() 436 SDL_Rect srect, drect; in draw_help() local 446 srect.w = drect.w = 30; in draw_help() 447 srect.h = drect.h = 30; in draw_help() [all …]
|
H A D | shots.c | 60 SDL_Rect srect, drect; in shots_draw() local 73 srect.x = shot->img_x_offset; in shots_draw() 74 srect.y = shot->img_y_offset; in shots_draw() 76 srect.w = drect.w = shot->w; in shots_draw() 77 srect.h = drect.h = shot->h; in shots_draw() 79 SDL_BlitSurface( shot->img, &srect, dest, &drect ); in shots_draw() 83 srect.x = shot->img_x_offset; in shots_draw() 84 srect.y = shot->img_y_offset + shot->h; in shots_draw() 88 srect.w = drect.w = shot->w; in shots_draw() 89 srect.h = drect.h = shot->h; in shots_draw() [all …]
|
/dports/games/nazghul/nazghul-0.7.1/src/ |
H A D | cmdwin.c | 52 SDL_Rect srect; /* screen rectangle (pixels) */ member 149 cmdwin.srect.x = CMD_X; in cmdwin_init() 150 cmdwin.srect.y = CMD_Y; in cmdwin_init() 151 cmdwin.srect.w = CMD_W; in cmdwin_init() 152 cmdwin.srect.h = CMD_H; in cmdwin_init() 268 rect.x = cmdwin.srect.x; in cmdwin_repaint_cursor() 269 rect.y = cmdwin.srect.y; in cmdwin_repaint_cursor() 287 screenErase(&cmdwin.srect); in cmdwin_repaint() 288 screenPrint(&cmdwin.srect, 0, start); in cmdwin_repaint() 289 screenUpdate(&cmdwin.srect); in cmdwin_repaint()
|
H A D | map.c | 450 rect.x = Map.srect.x; in myShadeScene() 451 rect.y = Map.srect.y; in myShadeScene() 569 Map.srect.x = MAP_X; in mapInit() 1201 *x = Map.srect.x; in mapGetScreenOrigin() 1202 *y = Map.srect.y; in mapGetScreenOrigin() 1250 Map.srect.x = MAP_X; in mapJitter() 1251 Map.srect.y = MAP_Y; in mapJitter() 1252 Map.srect.w = MAP_W; in mapJitter() 1253 Map.srect.h = MAP_H; in mapJitter() 1740 if (rect.x < Map.srect.x || rect.x > (Map.srect.x + Map.srect.w in mapUpdateTile() [all …]
|
/dports/games/libretro-genesis_plus_gx/Genesis-Plus-GX-7f83bc5/gcw0/ |
H A D | main.c | 194 SDL_Rect srect; member 305 sdl_video.srect.x = (sdl_video.srect.w - VIDEO_WIDTH) / 2; in sdl_video_update() 310 sdl_video.srect.x = (sdl_video.srect.w - VIDEO_WIDTH) / 2; in sdl_video_update() 314 sdl_video.srect.x = (sdl_video.srect.w - VIDEO_WIDTH) / 2; in sdl_video_update() 320 sdl_video.srect.y = (sdl_video.srect.h - VIDEO_HEIGHT) / 2; in sdl_video_update() 389 sdl_video.srect.w = sdl_video.srect.w - 8; in sdl_video_update() 395 sdl_video.srect.w = sdl_video.srect.w ; in sdl_video_update() 481 SDL_Rect srect; in sdl_video_update() local 482 srect.y = 0; in sdl_video_update() 483 srect.w = 15; in sdl_video_update() [all …]
|
/dports/games/kodi-addon-game.libretro.genplus/game.libretro.genplus-1.7.4.15-Matrix/depends/common/genplus/gcw0/ |
H A D | main.c | 194 SDL_Rect srect; member 305 sdl_video.srect.x = (sdl_video.srect.w - VIDEO_WIDTH) / 2; in sdl_video_update() 310 sdl_video.srect.x = (sdl_video.srect.w - VIDEO_WIDTH) / 2; in sdl_video_update() 314 sdl_video.srect.x = (sdl_video.srect.w - VIDEO_WIDTH) / 2; in sdl_video_update() 320 sdl_video.srect.y = (sdl_video.srect.h - VIDEO_HEIGHT) / 2; in sdl_video_update() 389 sdl_video.srect.w = sdl_video.srect.w - 8; in sdl_video_update() 395 sdl_video.srect.w = sdl_video.srect.w ; in sdl_video_update() 481 SDL_Rect srect; in sdl_video_update() local 482 srect.y = 0; in sdl_video_update() 483 srect.w = 15; in sdl_video_update() [all …]
|
/dports/net/tigervnc-server/tigervnc-1.12.0/java/com/tigervnc/rfb/ |
H A D | ModifiablePixelBuffer.java | 112 Rect drect, srect; in copyRect() local 125 srect = drect.translate(move_by_delta.negate()); in copyRect() 126 if (!srect.enclosed_by(getRect())) { in copyRect() 128 vlog.error(String.format(msg, srect.width(), srect.height(), in copyRect() 129 srect.tl.x, srect.tl.y, width(), height())); in copyRect() 130 srect = srect.intersect(getRect()); in copyRect() 132 drect = srect.translate(move_by_delta); in copyRect() 135 if (srect.is_empty()) in copyRect() 138 srcData = getBuffer(srect); in copyRect()
|
/dports/net/tigervnc-viewer/tigervnc-1.12.0/java/com/tigervnc/rfb/ |
H A D | ModifiablePixelBuffer.java | 112 Rect drect, srect; in copyRect() local 125 srect = drect.translate(move_by_delta.negate()); in copyRect() 126 if (!srect.enclosed_by(getRect())) { in copyRect() 128 vlog.error(String.format(msg, srect.width(), srect.height(), in copyRect() 129 srect.tl.x, srect.tl.y, width(), height())); in copyRect() 130 srect = srect.intersect(getRect()); in copyRect() 132 drect = srect.translate(move_by_delta); in copyRect() 135 if (srect.is_empty()) in copyRect() 138 srcData = getBuffer(srect); in copyRect()
|
/dports/devel/directfb/DirectFB-1.4.17/gfxdrivers/gl/ |
H A D | gl_2d.c | 837 int x2 = srect->w + x1; in glBlit() 838 int y2 = srect->h + y1; in glBlit() 840 int tx1 = srect->x; in glBlit() 841 int ty1 = srect->y; in glBlit() 842 int tx2 = srect->w + tx1; in glBlit() 843 int ty2 = srect->h + ty1; in glBlit() 846 dx, dy, srect->w, srect->h, srect->x, srect->y ); in glBlit() 873 gdrv->calls += 1 + srect->w * srect->h / (23 * 42); in glBlit() 891 int tx1 = srect->x; in glStretchBlit() 892 int ty1 = srect->y; in glStretchBlit() [all …]
|
/dports/x11-wm/i3/i3-4.20.1/testcases/t/ |
H A D | 501-scratchpad.t | 90 my $srect = $ws->{floating_nodes}->[0]->{rect}; 93 cmp_ok($srect->{x}, '>=', $rect->{x}, 'x within bounds'); 94 cmp_ok($srect->{y}, '>=', $rect->{y}, 'y within bounds'); 95 cmp_ok($srect->{x} + $srect->{width}, '<=', $rect->{x} + $rect->{width}, 97 cmp_ok($srect->{y} + $srect->{height}, '<=', $rect->{y} + $rect->{height},
|
/dports/x11-wm/i3-gaps/i3-4.20.1/testcases/t/ |
H A D | 501-scratchpad.t | 90 my $srect = $ws->{floating_nodes}->[0]->{rect}; 93 cmp_ok($srect->{x}, '>=', $rect->{x}, 'x within bounds'); 94 cmp_ok($srect->{y}, '>=', $rect->{y}, 'y within bounds'); 95 cmp_ok($srect->{x} + $srect->{width}, '<=', $rect->{x} + $rect->{width}, 97 cmp_ok($srect->{y} + $srect->{height}, '<=', $rect->{y} + $rect->{height},
|