/dports/games/openglad/openglad-0.98/src/ |
H A D | text.cpp | 26 sizex = letters[1]; in text() 37 sizex = letters[1]; in text() 54 if (sizex < 9) // small, monospaced font in query_width() 55 return (sizex+1)*strlen(string); in query_width() 60 over += sizex; in query_width() 62 over += sizex-1; in query_width() 106 over += sizex+1; in write_xy() 113 over += sizex; in write_xy() 115 over += sizex-1; in write_xy() 281 screenp->putdatatext(x, y, sizex, sizey, (unsigned char *) &letters[letter *sizex*sizey]); in write_char_xy() [all …]
|
/dports/lang/racket/racket-8.3/share/pkgs/games/jewel/ |
H A D | shapes.rkt | 175 (define sizex (* 0.6 scale)) 179 (define bsizex (+ sizex bevel)) 187 (glVertex3f sizex bsizey sizez) 193 (glVertex3f sizex sizey bsizez) 204 (glNormal3f sizex 0.0 0.0) 210 (glNormal3f (- sizex) 0.0 0.0) 230 (glNormal3f sizex 0.0 sizez) 236 (glNormal3f sizex sizey 0.0) 301 (glNormal3f sizex sizey sizez) 303 (glVertex3f sizex bsizey sizez) [all …]
|
/dports/science/cdo/cdo-2.0.0/libcdi/tests/ |
H A D | test_cdf_write.c | 41 sizex = 2 * sizey, in main() enumerator 44 size_t datasize = (size_t)sizex * (size_t)sizey; in main() 46 gridDefXsize(gridID, sizex); in main() 62 double (*gridCoords)[sizey][sizex] in main() 63 = (double (*)[sizey][sizex]) in main() 95 double (*data)[sizex] = (double(*)[sizex])malloc(sizeof (**data) * sizex * sizey); in main() 102 for (size_t i = 0; i < sizex; ++i) in main() 106 data[sizey/3][sizex/2] = missValue; in main() 146 auto coords = (double (*)[sizey][sizex])coords_; in compute_curvilinear() 148 double (*coords)[sizey][sizex] = (double (*)[sizey][sizex])coords_; in compute_curvilinear() [all …]
|
/dports/japanese/ne/ne/src/ |
H A D | disp.c | 54 void dsp_regresize(dspreg_t *drp,int sizex,int sizey) in dsp_regresize() argument 58 if (sizex> dspall.sizex) in dsp_regresize() 59 sizex= dspall.sizex; in dsp_regresize() 63 if (sizex!=-1) in dsp_regresize() 64 drp->sizex=sizex; in dsp_regresize() 89 dfp=drp->func(drp->vp, i, drp->sizex, drp->sizey); in dsp_regview() 95 n=drp->sizex; in dsp_regview() 126 if (m>=drp->sizex) in dsp_regview() 142 drp->sizex=dspall.sizex; in dsp_reginit() 210 dspall.sizex= term_sizex()-1; in dsp_allinit()
|
/dports/graphics/yafaray/libYafaRay-3.5.1/src/yafraycore/ |
H A D | memoryIO.cc | 12 sizex = resx; in memoryIO_t() 22 imageMem[(x + sizex * y) * 4 + 0] = color.R; in putPixel() 23 imageMem[(x + sizex * y) * 4 + 0] = color.G; in putPixel() 24 imageMem[(x + sizex * y) * 4 + 0] = color.B; in putPixel() 25 if(!alpha) imageMem[(x + sizex * y) * 4 + 3] = 1.f; in putPixel() 33 imageMem[(x + sizex * y) * 4 + 0] = colExtPasses.at(0).R; in putPixel() 34 imageMem[(x + sizex * y) * 4 + 0] = colExtPasses.at(0).G; in putPixel() 35 imageMem[(x + sizex * y) * 4 + 0] = colExtPasses.at(0).B; in putPixel() 36 if(!alpha) imageMem[(x + sizex * y) * 4 + 3] = 1.f; in putPixel()
|
/dports/games/senken/senken-0.3.0/lib/ |
H A D | heightmap.c | 30 int sizex; member 44 ret->sizex = sizex; in heightmap_init() 47 ret->map = malloc(sizeof(char)*(sizex+1)*(sizey+1)); in heightmap_init() 58 return map->sizex; in heightmap_getsize_x() 68 if ((x < 0) || (x > map->sizex - 1) || in heightmap_getheight() 99 if (x < map->sizex-1) in heightmap_can_changeheight() 119 if ((x < map->sizex-1) && (y > 0)) in heightmap_can_changeheight() 124 if ((x < map->sizex-1) && (y < map->sizey-1)) in heightmap_can_changeheight() 142 if ((x < 0) || (x >= map->sizex)) return -1; in heightmap_changeheight() 154 if (x == map->sizex-1) { in heightmap_changeheight() [all …]
|
H A D | map.c | 58 int sizex; member 92 ret->sizex = sizex; in map_init() 228 return map->sizex; in map_get_sizex() 369 int sizex; in map_can_place() local 403 int sizex; in map_find_tiletop() local 430 int sizex; in map_set_type() local 982 int sizex; in map_set_temporary_box() local 999 rem = (mx2 - mx1+1)%sizex; in map_set_temporary_box() 1001 mx2 += sizex-rem; in map_set_temporary_box() 1472 radius = map->sizex; in map_iterate() [all …]
|
/dports/misc/elki/elki-release0.7.1-1166-gfb1fffdf3/addons/tutorial/src/main/java/tutorial/clustering/ |
H A D | NaiveAgglomerativeHierarchicalClustering4.java | 93 public double combine(int sizex, double dx, int sizey, double dy, int sizej, double dxy) { in combine() argument 106 final double wx = sizex / (double) (sizex + sizey); in combine() 107 final double wy = sizey / (double) (sizex + sizey); in combine() 120 final double wx = sizex / (double) (sizex + sizey); in combine() 121 final double wy = sizey / (double) (sizex + sizey); in combine() 122 final double beta = (sizex * sizey) / (double) ((sizex + sizey) * (sizex + sizey)); in combine() 135 final double wx = (sizex + sizej) / (double) (sizex + sizey + sizej); in combine() 136 final double wy = (sizey + sizej) / (double) (sizex + sizey + sizej); in combine() 137 final double beta = sizej / (double) (sizex + sizey + sizej); in combine() 237 int sizex = csize.intValue(ix), sizey = csize.intValue(iy); in run() local [all …]
|
H A D | NaiveAgglomerativeHierarchicalClustering3.java | 95 public double combine(int sizex, double dx, int sizey, double dy, int sizej, double dxy) { in combine() argument 108 final double wx = sizex / (double) (sizex + sizey); in combine() 109 final double wy = sizey / (double) (sizex + sizey); in combine() 122 final double wx = sizex / (double) (sizex + sizey); in combine() 123 final double wy = sizey / (double) (sizex + sizey); in combine() 124 final double beta = (sizex * sizey) / (double) ((sizex + sizey) * (sizex + sizey)); in combine() 137 final double wx = (sizex + sizej) / (double) (sizex + sizey + sizej); in combine() 138 final double wy = (sizey + sizej) / (double) (sizex + sizey + sizej); in combine() 139 final double beta = sizej / (double) (sizex + sizey + sizej); in combine() 251 int sizex = 1, sizey = 1; // cluster sizes, for averaging in run() local [all …]
|
/dports/hebrew/he2/he2-0.61/he2/ |
H A D | Edit.cxx | 126 file.recompile_section(sizex) ; in _newline() 133 if (margin > sizex/2) margin = sizex/2 ; in _newline() 246 for (int j=0; j<sizex; j++) in _display_line() 248 origatts[sizex] = '\0' ; in _display_line() 486 x = sizex ; in _calc_curx() 509 x = sizex ; in _calc_curx() 657 if (_x_position < sizex-1) { in _forward() 691 _x_position = sizex-1 ; in _backward() 698 _x_position=sizex-1 ; in _backward() 938 sizex(80), sizey(23), in Edit() [all …]
|
/dports/games/xrubik/xrubik/ |
H A D | xmrubik.c | 328 XtNsizex, sizex, in MakeEquivalent() 349 XtNsizex, *sizex, in MakeEquivalent() 377 if (sizex <= MAXCUBES) in Initialize() 410 XtNsizex, &sizex, in CallbackRubik() 491 sizex--; in CallbackRubik() 496 if (sizex <= MAXCUBES) in CallbackRubik() 501 sizex++; in CallbackRubik() 506 if (sizex <= MAXCUBES) in CallbackRubik() 581 if (old != sizex) { in CubesXSlider() 600 XtNsizex, &sizex, in CubesYSlider() [all …]
|
H A D | xrubik.c | 83 static void PrintRecord(int sizex, int sizey, int sizez, 219 XtNsizex, sizex, in MakeEquivalent() 240 XtNsizex, *sizex, in MakeEquivalent() 263 int sizex, sizey, sizez; in Initialize() local 288 int sizex, sizey, sizez, dim, otherdim; in CallbackRubik() local 302 XtNsizex, &sizex, in CallbackRubik() 399 sizex--; in CallbackRubik() 401 XtSetArg(arg[0], XtNsizex, sizex); in CallbackRubik() 407 sizex++; in CallbackRubik() 409 XtSetArg(arg[0], XtNsizex, sizex); in CallbackRubik() [all …]
|
/dports/devel/tbb/oneTBB-2020.3/examples/common/gui/ |
H A D | video.h | 46 int sizex, sizey; variable 50 inline int get_size() const { return ((pixel_depth>16) ? 4:2) * sizex * sizey; } in get_size() 82 bool init_window(int sizex, int sizey); 128 drawing_area(int x, int y, int sizex, int sizey); 129 inline drawing_area(int x, int y, int sizex, int sizey, const drawing_memory &dmem); 152 dmem.sizex = g_sizex; in get_drawing_memory() 183 inline drawing_area::drawing_area(int x, int y, int sizex, int sizey, const drawing_memory &dmem) in drawing_area() argument 184 : base_index(y*dmem.sizex + x), max_index(dmem.sizex*dmem.sizey), index_stride(dmem.sizex), in drawing_area() 186 start_x(x), start_y(y), size_x(sizex), size_y(sizey) in drawing_area() 188 assert(x < dmem.sizex); assert(y < dmem.sizey); in drawing_area() [all …]
|
/dports/devel/taskflow/taskflow-3.2.0/3rd-party/tbb/examples/common/gui/ |
H A D | video.h | 46 int sizex, sizey; variable 50 inline int get_size() const { return ((pixel_depth>16) ? 4:2) * sizex * sizey; } in get_size() 82 bool init_window(int sizex, int sizey); 128 drawing_area(int x, int y, int sizex, int sizey); 129 inline drawing_area(int x, int y, int sizex, int sizey, const drawing_memory &dmem); 152 dmem.sizex = g_sizex; in get_drawing_memory() 183 inline drawing_area::drawing_area(int x, int y, int sizex, int sizey, const drawing_memory &dmem) in drawing_area() argument 184 : base_index(y*dmem.sizex + x), max_index(dmem.sizex*dmem.sizey), index_stride(dmem.sizex), in drawing_area() 186 start_x(x), start_y(y), size_x(sizex), size_y(sizey) in drawing_area() 188 assert(x < dmem.sizex); assert(y < dmem.sizey); in drawing_area() [all …]
|
/dports/devel/taskflow/taskflow-3.2.0/sandbox/seismic/ |
H A D | video.h | 46 int sizex, sizey; variable 50 inline int get_size() const { return ((pixel_depth>16) ? 4:2) * sizex * sizey; } in get_size() 82 bool init_window(int sizex, int sizey); 128 drawing_area(int x, int y, int sizex, int sizey); 129 inline drawing_area(int x, int y, int sizex, int sizey, const drawing_memory &dmem); 152 dmem.sizex = g_sizex; in get_drawing_memory() 183 inline drawing_area::drawing_area(int x, int y, int sizex, int sizey, const drawing_memory &dmem) in drawing_area() argument 184 : base_index(y*dmem.sizex + x), max_index(dmem.sizex*dmem.sizey), index_stride(dmem.sizex), in drawing_area() 186 start_x(x), start_y(y), size_x(sizex), size_y(sizey) in drawing_area() 188 assert(x < dmem.sizex); assert(y < dmem.sizey); in drawing_area() [all …]
|
/dports/devel/onetbb/oneTBB-2021.4.0/examples/common/gui/ |
H A D | video.hpp | 43 int sizex, sizey; member in drawing_memory 50 return ((pixel_depth > 16) ? 4 : 2) * sizex * sizey; in get_size() 84 bool init_window(int sizex, int sizey); 134 drawing_area(int x, int y, int sizex, int sizey); 159 dmem.sizex = g_sizex; in get_drawing_memory() 194 : base_index(y * dmem.sizex + x), in drawing_area() 195 max_index(dmem.sizex * dmem.sizey), in drawing_area() 196 index_stride(dmem.sizex), in drawing_area() 201 size_x(sizex), in drawing_area() 203 assert(x < dmem.sizex); in drawing_area() [all …]
|
/dports/games/senken/senken-0.3.0/src/ |
H A D | screen.c | 30 int sizex; member 135 int screen_setsize(screen_t *screen, int sizex, int sizey) in screen_setsize() argument 141 screen->sizex = sizex; in screen_setsize() 194 int sizex = screen->mapsizex - 1; in nominal_screen_to_map() local 207 rety = - sx/screen->tilex + sy/screen->tiley + sizex/2; in nominal_screen_to_map() 214 retx = sx/screen->tilex - sy/screen->tiley + sizex/2; in nominal_screen_to_map() 215 rety = sx/screen->tilex + sy/screen->tiley - sizex/2; in nominal_screen_to_map() 416 if (screenx >= screen->sizex) { in screen_to_mapcoord() 417 screenx = screen->sizex - 1; in screen_to_mapcoord() 445 if (screenx >= screen->sizex) return -1; in screen_to_mapcoord() [all …]
|
/dports/games/sdl_jewels/SDL_jewels-1.1.1/ |
H A D | gljewel.c | 160 int mousex,mousey,sizex,sizey; variable 416 float sizex,sizey; in initfont() local 419 sizex=2.0*FONTSIZE*l->sx; in initfont() 437 l->advance=FONTSIZE*2+sizex; in initfont() 476 sizex=width; in resize() 1068 float sizex,sizey,sizez; in makebcube() local 1072 sizex=sizey=sizez=0.6*scale; in makebcube() 1074 bsizex=sizex+bevel; in makebcube() 1100 glNormal3f( sizex, 0.0, 0.0); in makebcube() 2508 sizex = 800; in main() [all …]
|
/dports/games/xmemory/xmemory-3.7/ |
H A D | tile.C | 193 p->sizex, p->sizey, DefaultDepthOfScreen(p->screen) ); in Tile() 208 XFillRectangle( display, pixmap, p->gc_all, 0, 0, p->sizex, p->sizey ); in Tile() 213 XDrawLine( display, pixmap, p->gc_all, 0, 0, p->sizex-1, 0 ); in Tile() 217 XDrawLine( display, pixmap, p->gc_all, 1, 1, p->sizex-2, 1 ); in Tile() 226 p->sizex/2+2,p->sizey/2+2, buffer); in Tile() 229 p->sizex/2+1,p->sizey/2+1, buffer); in Tile() 236 XDrawLine( display, pixmap, p->gc_all, p->sizex-1, 0, p->sizex-1, p->sizey-1); in Tile() 240 XDrawLine( display, pixmap, p->gc_all, p->sizex-2, 1, p->sizex-2, p->sizey-2); in Tile() 248 p->sizex/2-2,p->sizey/2-2, buffer); in Tile() 251 p->sizex/2-1,p->sizey/2-1, buffer); in Tile() [all …]
|
/dports/games/sdl_lopan/sdllopan-10/ |
H A D | gfx.c | 518 sizex+=destx; in gstoback() 535 i=sizex; in gstoback() 538 ps = (void *)((char *)ps + stride-sizex-sizex); in gstoback() 558 sizex+=x; in eraserect() 562 sizex=vxsize-x; in eraserect() 566 sizex<<=1; in eraserect() 585 sizex+=x; in transformrect() 589 sizex=vxsize-x; in transformrect() 595 i=sizex; in transformrect() 622 sizex+=x; in solidrect() [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/roms/openbios/arch/unix/gui_qt/ |
H A D | gui-qt.cpp | 14 static const int sizex=640; variable 58 setFixedSize(sizex,sizey+menu->heightForWidth(sizex)); in FrameBufferWidget() 60 buffer.create(sizex, sizey, depth, 256); in FrameBufferWidget() 88 p.drawImage(0,menu->heightForWidth(sizex),buffer, 0,0, sizex, sizey); in paintEvent() 119 p.drawImage(0,menu->heightForWidth(sizex),buffer, 0,0, sizex, sizey); in update()
|
/dports/emulators/qemu42/qemu-4.2.1/roms/openbios/arch/unix/plugins/plugin_qt/ |
H A D | plugin_qt.cpp | 14 static const int sizex=640; variable 58 setFixedSize(sizex,sizey+menu->heightForWidth(sizex)); in FrameBufferWidget() 60 buffer.create(sizex, sizey, depth, 256); in FrameBufferWidget() 88 p.drawImage(0,menu->heightForWidth(sizex),buffer, 0,0, sizex, sizey); in paintEvent() 119 p.drawImage(0,menu->heightForWidth(sizex),buffer, 0,0, sizex, sizey); in update()
|
/dports/emulators/qemu5/qemu-5.2.0/roms/openbios/arch/unix/gui_qt/ |
H A D | gui-qt.cpp | 14 static const int sizex=640; variable 58 setFixedSize(sizex,sizey+menu->heightForWidth(sizex)); in FrameBufferWidget() 60 buffer.create(sizex, sizey, depth, 256); in FrameBufferWidget() 88 p.drawImage(0,menu->heightForWidth(sizex),buffer, 0,0, sizex, sizey); in paintEvent() 119 p.drawImage(0,menu->heightForWidth(sizex),buffer, 0,0, sizex, sizey); in update()
|
/dports/emulators/qemu5/qemu-5.2.0/roms/openbios/arch/unix/plugins/plugin_qt/ |
H A D | plugin_qt.cpp | 14 static const int sizex=640; variable 58 setFixedSize(sizex,sizey+menu->heightForWidth(sizex)); in FrameBufferWidget() 60 buffer.create(sizex, sizey, depth, 256); in FrameBufferWidget() 88 p.drawImage(0,menu->heightForWidth(sizex),buffer, 0,0, sizex, sizey); in paintEvent() 119 p.drawImage(0,menu->heightForWidth(sizex),buffer, 0,0, sizex, sizey); in update()
|
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/roms/openbios/arch/unix/plugins/plugin_qt/ |
H A D | plugin_qt.cpp | 14 static const int sizex=640; variable 58 setFixedSize(sizex,sizey+menu->heightForWidth(sizex)); in FrameBufferWidget() 60 buffer.create(sizex, sizey, depth, 256); in FrameBufferWidget() 88 p.drawImage(0,menu->heightForWidth(sizex),buffer, 0,0, sizex, sizey); in paintEvent() 119 p.drawImage(0,menu->heightForWidth(sizex),buffer, 0,0, sizex, sizey); in update()
|