Home
last modified time | relevance | path

Searched refs:drect (Results 1 – 25 of 252) sorted by relevance

1234567891011

/dports/games/chroma/chroma-1.20/
H A Dsdlscreen.c115 drect.x = 0; in screen_clear()
116 drect.y = 0; in screen_clear()
144 drect.x = x; in screen_redraw()
145 drect.y = y; in screen_redraw()
146 drect.w = w; in screen_redraw()
147 drect.h = h; in screen_redraw()
157 if(drect.x + drect.w > screen_width) in screen_redraw()
158 drect.w = screen_width - drect.x; in screen_redraw()
159 if(drect.y + drect.h > screen_height) in screen_redraw()
160 drect.h = screen_height - drect.y; in screen_redraw()
[all …]
H A Dsdlshadowdisplay.c96 SDL_Rect drect; in displayshadowed_piece() local
138 drect.x = px; in displayshadowed_piece()
139 drect.y = py; in displayshadowed_piece()
263 SDL_Rect drect; in displayshadowed_pieceshadow() local
328 SDL_Rect drect; in displayshadowed_piecebase() local
372 drect.x = px; in displayshadowed_piecebase()
373 drect.y = py; in displayshadowed_piecebase()
561 if(bdrect.x + bsrect.w > drect.x + drect.w) in displayshadowed_piecebase()
568 if(bdrect.y + bsrect.h > drect.y + drect.h) in displayshadowed_piecebase()
622 if(bdrect.x + bsrect.w > drect.x + drect.w) in displayshadowed_piecebase()
[all …]
H A Dsdlmenudisplay.c86 SDL_Rect srect, drect; in menu_displayentry() local
118 drect.y = y + font_border; in menu_displayentry()
144 drect.y = y + font_border; in menu_displayentry()
164 drect.y = y + font_border; in menu_displayentry()
221 SDL_Rect drect; in menu_display() local
275 drect.y = menu_y_logo_top; in menu_display()
324 drect.x = 0; in menu_display()
325 drect.y = menu_y_min; in menu_display()
326 drect.w = screen_width; in menu_display()
346 drect.x = x; in menu_display()
[all …]
/dports/games/flobopuyo/flobopuyo-0.20/
H A Dscenar.y64 SDL_Rect drect; in draw_scenar() local
68 drect.y = (short)decy; in draw_scenar()
72 drect.x = (short)decx; in draw_scenar()
82 drect.x = (short)decx; in draw_scenar()
83 drect.y = (short)decy; in draw_scenar()
89 drect.x = 0; in draw_scenar()
100 drect.x = txt_x; in draw_scenar()
101 drect.y = txt_y; in draw_scenar()
102 drect.w = txt_w; in draw_scenar()
103 drect.h = txt_h+1; in draw_scenar()
[all …]
H A DPuyoAnimations.cpp91 SDL_Rect drect; in draw() local
92 drect.x = X; in draw()
93 drect.y = currentY; in draw()
94 drect.w = neutral->w; in draw()
95 drect.h = neutral->h; in draw()
192 drect2 = drect; in draw()
239 SDL_Rect drect; in draw() local
240 drect.x = X; in draw()
301 drect.x = X; in draw()
302 drect.y = Y; in draw()
[all …]
H A DPuyoView.cpp264 SDL_Rect drect; in render() local
284 if (drect.y + drect.h > vrect.y + vrect.h) in render()
285 drect.h -= (drect.y + drect.h - vrect.y - vrect.h); in render()
286 if (drect.x + drect.w > vrect.x + vrect.w) in render()
287 drect.w -= (drect.x + drect.w - vrect.x - vrect.w); in render()
299 drect.x = nXOffset; in render()
300 drect.y = nYOffset; in render()
301 drect.w = TSIZE; in render()
334 SDL_Rect drect; in renderNeutral() local
348 drect.x = drect_x; in renderNeutral()
[all …]
H A DAnimatedPuyo.cpp101 SDL_Rect drect; in render() local
106 drect.x = getScreenCoordinateX(); in render()
107 drect.y = getScreenCoordinateY(); in render()
109 drect.y -= attachedGame->getSemiMove() * TSIZE / 2; in render()
110 drect.w = currentSurface->w; in render()
111 drect.h = currentSurface->h; in render()
112 painter.requestDraw(currentSurface, &drect); in render()
123 painter.requestDraw(puyoEye[1], &drect); in render()
125 painter.requestDraw(puyoEye[2], &drect); in render()
127 painter.requestDraw(puyoEye[1], &drect); in render()
[all …]
H A DPuyoStarter.cpp83 SDL_Rect drect; in draw() local
88 drect.x = 21; in draw()
89 drect.y = -1; in draw()
90 drect.w = grid->w; in draw()
91 drect.h = grid->h; in draw()
93 drect.x = 407; in draw()
94 drect.y = -1; in draw()
95 drect.w = grid->w; in draw()
96 drect.h = grid->h; in draw()
145 SDL_Rect drect; in draw() local
[all …]
/dports/cad/qrouter/qrouter-1.4.85/
H A Ddef.c638 for (drect = g->taps[i]; drect; drect = drect->next) { in DefReadGatePin()
1784 for (drect = gateginfo->taps[i]; drect; drect = drect->next) { in DefReadComponents()
1793 for (drect = gate->taps[i]; drect; drect = drect->next) { in DefReadComponents()
1803 drect->y1 = -drect->x1; in DefReadComponents()
1808 drect->y2 = -drect->x2; in DefReadComponents()
1815 drect->x1 = -drect->x2; in DefReadComponents()
1826 drect->y1 = -drect->y2; in DefReadComponents()
1840 for (drect = gateginfo->obs; drect; drect = drect->next) { in DefReadComponents()
1849 for (drect = gate->obs; drect; drect = drect->next) { in DefReadComponents()
1858 drect->y1 = -drect->x1; in DefReadComponents()
[all …]
H A Dqconfig.c205 DSEG drect; in read_config() local
416 drect->x1 = darg; in read_config()
417 drect->y1 = darg2; in read_config()
418 drect->x2 = darg3; in read_config()
419 drect->y2 = darg4; in read_config()
430 drect->next = UserObs; in read_config()
431 UserObs = drect; in read_config()
434 free(drect); in read_config()
483 drect->x1 = drect->x2 = darg; in read_config()
484 drect->y1 = drect->y2 = darg2; in read_config()
[all …]
/dports/math/scilab/scilab-6.1.1/scilab/modules/graphics/src/c/
H A DPlo2dn.c113 double drect[6] = {0}; in plot2dn() local
219 drect[0] = Min(dataBounds[0], drect[0]); /*xmin */ in plot2dn()
220 drect[2] = Min(dataBounds[2], drect[2]); /*ymin */ in plot2dn()
221 drect[1] = Max(dataBounds[1], drect[1]); /*xmax */ in plot2dn()
222 drect[3] = Max(dataBounds[3], drect[3]); /*ymax */ in plot2dn()
286 double pas = (drect[1] - drect[0]) / (aaint[1] - 1); in plot2dn()
347 double pas = (drect[3] - drect[2]) / (aaint[3] - 1); in plot2dn()
532 MiniMaxi(x1, size_x, drect, drect + 1); in compute_data_bounds2()
564 MiniMaxi(y, size_y, drect + 2, drect + 3); in compute_data_bounds2()
591 …if (drect[2] == LARGEST_REAL || drect[3] == -LARGEST_REAL || C2F(isanan)(&drect[2]) || C2F(isanan)… in compute_data_bounds2()
[all …]
H A DGray.c158 drect[0] = Min(dataBounds[0], drect[0]); /*xmin*/ in C2F()
159 drect[2] = Min(dataBounds[2], drect[2]); /*ymin*/ in C2F()
160 drect[1] = Max(dataBounds[1], drect[1]); /*xmax*/ in C2F()
161 drect[3] = Max(dataBounds[3], drect[3]); /*ymax*/ in C2F()
309 drect[0] = Min(dataBounds[0], drect[0]); /*xmin*/ in C2F()
310 drect[2] = Min(dataBounds[2], drect[2]); /*ymin*/ in C2F()
311 drect[1] = Max(dataBounds[1], drect[1]); /*xmax*/ in C2F()
312 drect[3] = Max(dataBounds[3], drect[3]); /*ymax*/ in C2F()
465 drect[0] = Min(dataBounds[0], drect[0]); /*xmin*/ in C2F()
466 drect[2] = Min(dataBounds[2], drect[2]); /*ymin*/ in C2F()
[all …]
H A DFeC.c94 double drect[6]; in C2F() local
141 re_index_brect(brect, drect); in C2F()
161 compute_data_bounds2(0, 'g', textLogFlags, x, y, n1, *Nnode, drect); in C2F()
172 drect[0] = Min(dataBounds[0], drect[0]); /*xmin*/ in C2F()
173 drect[2] = Min(dataBounds[2], drect[2]); /*ymin*/ in C2F()
174 drect[1] = Max(dataBounds[1], drect[1]); /*xmax*/ in C2F()
175 drect[3] = Max(dataBounds[3], drect[3]); /*ymax*/ in C2F()
180 bounds_changed = update_specification_bounds(iSubwinUID, drect, 2); in C2F()
H A DChamp.c89 double drect[6]; in champg() local
180 re_index_brect(brect, drect); in champg()
201 compute_data_bounds2(0, 'g', textLogFlags, xx, yy, nn1, nn2, drect); in champg()
213 drect[0] = Min(dataBounds[0], drect[0]); /*xmin*/ in champg()
214 drect[2] = Min(dataBounds[2], drect[2]); /*ymin*/ in champg()
215 drect[1] = Max(dataBounds[1], drect[1]); /*xmax*/ in champg()
216 drect[3] = Max(dataBounds[3], drect[3]); /*ymax*/ in champg()
221 bounds_changed = update_specification_bounds(iSubwinUID, drect, 2); in champg()
/dports/cad/qflow/qflow-1.4.98/src/
H A Dreaddef.c187 DSEG lr, drect; in DefAddRoutes() local
455 DSEG drect; in DefReadGatePin() local
478 for (drect = g->taps[i]; drect; drect = drect->next) { in DefReadGatePin()
1463 for (drect = gateginfo->taps[i]; drect; drect = drect->next) { in DefAddGateInstance()
1470 for (drect = gate->taps[i]; drect; drect = drect->next) { in DefAddGateInstance()
1480 drect->x1 = -drect->x2; in DefAddGateInstance()
1491 drect->y1 = -drect->y2; in DefAddGateInstance()
1505 for (drect = gateginfo->obs; drect; drect = drect->next) { in DefAddGateInstance()
1512 for (drect = gate->obs; drect; drect = drect->next) { in DefAddGateInstance()
1521 drect->x1 = -drect->x2; in DefAddGateInstance()
[all …]
/dports/devel/directfb/DirectFB-1.4.17/src/gfx/generic/
H A Dgeneric_stretch_blit.c328 dfb_region_translate( &clip, - drect->x, - drect->y ); in stretch_hvx_planar()
386 if (srect->w > drect->w && srect->h > drect->h) in stretch_hvx()
442 dfb_region_translate( &ctx.clip, - drect->x, - drect->y ); 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()
649drect->x, drect->y, drect->w, drect->h, dfb_pixelformat_name(gfxs->dst_format), state->blittingfla… in gStretchBlit()
686 D_ASSERT( drect->x + drect->w <= state->clip.x2 + 1 ); in gStretchBlit()
687 D_ASSERT( drect->y + drect->h <= state->clip.y2 + 1 ); in gStretchBlit()
720 h = drect->h; in gStretchBlit()
722 Aop_X = drect->x; in gStretchBlit()
[all …]
/dports/games/vultures-eye/vulture-2.3.67/slashem/win/gl/
H A Dgl_softw.c83 drect.x = x; drect.y = y; in create_iso_borders()
84 drect.w = drect.h = 1; in create_iso_borders()
88 drect.x = x + 48; drect.y = y; in create_iso_borders()
89 drect.w = drect.h = 1; in create_iso_borders()
93 drect.x = x + 96; drect.y = y; in create_iso_borders()
94 drect.w = drect.h = 1; in create_iso_borders()
248 drect.x = x; drect.y = y; in mark_to_surface()
249 drect.w = drect.h = 1; in mark_to_surface()
405 drect.w = drect.h = 8; in sw_draw_extra_shape()
407 drect.y = sdlgl_height - sy - drect.h; in sw_draw_extra_shape()
[all …]
/dports/devel/directfb/DirectFB-1.4.17/src/misc/
H A Dgfx_util.c633 drect->w -= drect->x + drect->w - 1 - dst_clip->x2; in dfb_copy_buffer_32()
636 drect->h -= drect->y + drect-> h - 1 - dst_clip->y2; in dfb_copy_buffer_32()
642 if (drect->w < 1 || drect->h < 1) in dfb_copy_buffer_32()
657 for (y = drect->y; y < drect->y + drect->h; y++) { in dfb_copy_buffer_32()
677 for (y = drect->y; y < drect->y + drect->h; y++) { in dfb_copy_buffer_32()
697 for (y = drect->y; y < drect->y + drect->h; y++) { in dfb_copy_buffer_32()
714 for (y = drect->y; y < drect->y + drect->h; y++) { in dfb_copy_buffer_32()
732 for (y = drect->y; y < drect->y + drect->h; y++) { in dfb_copy_buffer_32()
749 for (y = drect->y; y < drect->y + drect->h; y++) { in dfb_copy_buffer_32()
976 if (drect->w == sw && drect->h == sh) { in dfb_scale_linear_32()
[all …]
/dports/devel/directfb/DirectFB-1.4.17/gfxdrivers/matrox/
H A Dmatrox.c1898 drect->w = (drect->w + 1) / 2; in matroxBlitTMU_2P()
1899 drect->h = (drect->h + 1) / 2; in matroxBlitTMU_2P()
1974 drect->w = (drect->w + 1) / 2; in matroxBlitTMU_3P()
1975 drect->h = (drect->h + 1) / 2; in matroxBlitTMU_3P()
2083 drect->w = (drect->w + 1) / 2; in matroxStretchBlit_422()
2144 drect.w = (drect.w + 1) / 2; in matroxBlit3D_422()
2229 drect->w = (drect->w + 1) / 2; in matroxStretchBlit_422_F()
2281 drect->w = (drect->w + 1) / 2; in matroxStretchBlit_2P_F()
2282 drect->h = (drect->h + 1) / 2; in matroxStretchBlit_2P_F()
2391 drect->w = (drect->w + 1) / 2; in matroxStretchBlit_3P_F()
[all …]
/dports/games/barrage/barrage-1.0.5/src/
H A Dmain.c376 SDL_Rect drect, srect; in draw_ammo() local
385 drect.y = 480 - 10 - drect.h; in draw_ammo()
386 drect.x = 10; in draw_ammo()
390 drect.y -= drect.h; in draw_ammo()
403 SDL_Rect srect,drect; in draw_cursor() local
413 drect.x = x - (cursor_w>>1); drect.y = y - (img_cursors->h>>1); in draw_cursor()
420 SDL_Rect drect; in draw_logo_centered() local
423 drect.y = y; in draw_logo_centered()
424 drect.w = dest->w; drect.h = dest->h; in draw_logo_centered()
436 SDL_Rect srect, drect; in draw_help() local
[all …]
H A Dbfield.c164 SDL_Rect drect, srect; in bfield_draw_gun() local
166 srect.w = drect.w = gun_w; srect.h = drect.h = gun_h; in bfield_draw_gun()
177 SDL_Rect drect, srect; in bfield_draw() local
188 drect.x = tree->x; drect.y = tree->y; in bfield_draw()
189 srect.w = drect.w = tree->w; in bfield_draw()
190 srect.h = drect.h = tree->h; in bfield_draw()
357 SDL_Rect drect; in bfield_handle_impact() local
371 drect.w = img_small_crater->w; drect.h = img_small_crater->h; in bfield_handle_impact()
380 drect.x = sx - (img_crater->w>>1); in bfield_handle_impact()
381 drect.y = sy - (img_crater->h>>1); in bfield_handle_impact()
[all …]
/dports/devel/directfb/DirectFB-1.4.17/gfxdrivers/mach64/
H A Dmach64.c887 drect->x += drect->w - 1; in mach64DoBlit2D()
893 drect->y += drect->h - 1; in mach64DoBlit2D()
903 mach64_out32( mmio, DST_Y_X, (S13( drect->x ) << 16) | S14( drect->y ) ); in mach64DoBlit2D()
904 mach64_out32( mmio, DST_HEIGHT_WIDTH, (drect->w << 16) | drect->h ); in mach64DoBlit2D()
966 mach64_out32( mmio, DST_Y_X, (S13( drect->x ) << 16) | S14( drect->y ) ); in mach64DoBlitScaleOld()
967 mach64_out32( mmio, DST_HEIGHT_WIDTH, (drect->w << 16) | drect->h ); in mach64DoBlitScaleOld()
1040 mach64_out32( mmio, DST_Y_X, (S13( drect->x ) << 16) | S14( drect->y ) ); in mach64DoBlitScale()
1041 mach64_out32( mmio, DST_HEIGHT_WIDTH, (drect->w << 16) | drect->h ); in mach64DoBlitScale()
1104 mach64_out32( mmio, DST_Y_X, (S13( drect->x ) << 16) | S14( drect->y ) ); in mach64DoBlitTexOld()
1105 mach64_out32( mmio, DST_HEIGHT_WIDTH, (drect->w << 16) | drect->h ); in mach64DoBlitTexOld()
[all …]
/dports/games/libretro-beetle_saturn/beetle-saturn-libretro-ee5b214/mednafen/ss/input/
H A Dgun.cpp89 const MDFN_Rect& drect, in Draw() argument
105 …int32 y = drect.y + (((nom_coord[1] - MDFNGameInfo->mouse_offs_y) + oy) * ((ifield >= 0) ? 2 : 1))… in Draw()
107 if(y < drect.y || (y - drect.y) >= drect.h) in Draw()
114 xmin = drect.x + cx; in Draw()
125 xmin = std::max<int32>(drect.x, xmin); in Draw()
126 xmax = std::min<int32>(drect.x + lw[y] - 1, xmax); in Draw()
140 …int32 y = drect.y + (((nom_coord[1] - MDFNGameInfo->mouse_offs_y) + oy) * ((ifield >= 0) ? 2 : 1))… in Draw()
142 if(y < drect.y || (y - drect.y) >= drect.h) in Draw()
149 xmin = drect.x + cx; in Draw()
157 xmin = std::max<int32>(drect.x, xmin); in Draw()
[all …]
/dports/science/py-dlib/dlib-19.22/dlib/image_transforms/
H A Drandom_cropper.h253 …drectangle drect = centered_drect(center(rect)+rand_translate, rect.width()/max_object_size, rect.… in make_crop_plan() local
259 if (drect.width()/drect.height() < target_aspect) in make_crop_plan()
260 drect = centered_drect(drect, target_aspect*drect.height(), drect.height()); in make_crop_plan()
262 drect = centered_drect(drect, drect.width(), drect.width()/target_aspect); in make_crop_plan()
266 double current_width = dims.cols*rect.width()/drect.width(); in make_crop_plan()
267 double current_height = dims.rows*rect.height()/drect.height(); in make_crop_plan()
276 …crop_rect = centered_drect(drect, drect.width()*rand_scale_perturb, drect.height()*rand_scale_pert… in make_crop_plan()
/dports/science/dlib-cpp/dlib-19.22/dlib/image_transforms/
H A Drandom_cropper.h253 …drectangle drect = centered_drect(center(rect)+rand_translate, rect.width()/max_object_size, rect.… in make_crop_plan() local
259 if (drect.width()/drect.height() < target_aspect) in make_crop_plan()
260 drect = centered_drect(drect, target_aspect*drect.height(), drect.height()); in make_crop_plan()
262 drect = centered_drect(drect, drect.width(), drect.width()/target_aspect); in make_crop_plan()
266 double current_width = dims.cols*rect.width()/drect.width(); in make_crop_plan()
267 double current_height = dims.rows*rect.height()/drect.height(); in make_crop_plan()
276 …crop_rect = centered_drect(drect, drect.width()*rand_scale_perturb, drect.height()*rand_scale_pert… in make_crop_plan()

1234567891011