/dports/cad/digital/Digital-0.27/src/main/java/de/neemann/digital/draw/shapes/ |
H A D | FETShape.java | 24 private int xOffs = SIZE2 - 2; field in FETShape 46 void setXOffs(int xOffs) { in setXOffs() argument 47 this.xOffs = xOffs; in setXOffs() 61 .add(xOffs, 0) in drawTo() 62 .add(xOffs, SIZE2 - g), Style.NORMAL); in drawTo() 66 .add(xOffs, SIZE * 2) in drawTo() 67 .add(xOffs, SIZE * 2 - SIZE2 + g), Style.NORMAL); in drawTo() 69 … graphic.drawLine(new Vector(xOffs, SIZE2 + g), new Vector(xOffs, SIZE + SIZE2 - g), Style.NORMAL); in drawTo()
|
/dports/converters/wkhtmltopdf/qt-5db36ec/examples/opengl/framebufferobject2/ |
H A D | glwidget.cpp | 144 xOffs[0]= 0.0f; in initializeGL() 145 xOffs[1]= 0.5f; in initializeGL() 146 xOffs[2]= 1.0f; in initializeGL() 231 glTranslatef(xOffs[i], yOffs[i], z); in drawCube() 241 if (xOffs[i] > 1.0f || xOffs[i] < -1.0f) { in drawCube() 243 xOffs[i] = xOffs[i] > 1.0f ? 1.0f : -1.0f; in drawCube() 245 xOffs[i] += xInc[i]; in drawCube() 246 yOffs[i] = qAbs(cos((-3.141592f * jmp) * xOffs[i]) * amp) - 1; in drawCube()
|
/dports/misc/qt5-examples/qt-everywhere-src-5.15.2/qtbase/examples/opengl/legacy/framebufferobject2/ |
H A D | glwidget.cpp | 153 xOffs[0]= 0.0f; in initializeGL() 154 xOffs[1]= 0.5f; in initializeGL() 155 xOffs[2]= 1.0f; in initializeGL() 240 glTranslatef(xOffs[i], yOffs[i], z); in drawCube() 250 if (xOffs[i] > 1.0f || xOffs[i] < -1.0f) { in drawCube() 252 xOffs[i] = xOffs[i] > 1.0f ? 1.0f : -1.0f; in drawCube() 254 xOffs[i] += xInc[i]; in drawCube() 255 yOffs[i] = qAbs(cos((-GLfloat(M_PI) * jmp) * xOffs[i]) * amp) - 1; in drawCube()
|
/dports/devel/agar/agar-1.5.0/gui/ |
H A D | scrollview.c | 72 aChld.x = -sv->xOffs; in PlaceWidgets() 96 *wTot = aChld.x + sv->xOffs; in PlaceWidgets() 129 sv->xOffs -= dx; in MouseMotion() 132 if (sv->xOffs+sv->r.w > sv->xMax) in MouseMotion() 133 sv->xOffs = sv->xMax-sv->r.w; in MouseMotion() 136 if (sv->xOffs < 0) in MouseMotion() 137 sv->xOffs = 0; in MouseMotion() 235 sv->xOffs = 0; in Init() 359 if (a->w >= (wTot - sv->xOffs)) { in SizeAllocate() 360 sv->xOffs = wTot - a->w; in SizeAllocate() [all …]
|
H A D | graph.c | 60 gf->xOffs -= scrollIncr; in KeyDown() 63 gf->xOffs += scrollIncr; in KeyDown() 72 gf->xOffs = 0; in KeyDown() 120 gf->xOffs -= dx; in MouseMotion() 448 gf->xOffs = 0; in Init() 484 AG_BindInt(gf, "xOffs", &gf->xOffs); in Init() 559 gf->xOffs = -(a->w/2); in SizeAllocate() 587 edge->v1->x - gf->xOffs, in Draw() 589 edge->v2->x - gf->xOffs, in Draw() 598 lblX -= gf->xOffs + su->w/2; in Draw() [all …]
|
H A D | drv_sw.c | 584 int xOffs = 0, yOffs = 0; in AG_WM_GetPrefPosition() local 592 *x = xOffs; in AG_WM_GetPrefPosition() 596 *x = dsw->w/2 - w/2 + xOffs; in AG_WM_GetPrefPosition() 600 *x = dsw->w - w - xOffs; in AG_WM_GetPrefPosition() 604 *x = xOffs; in AG_WM_GetPrefPosition() 610 *x = dsw->w/2 - w/2 + xOffs; in AG_WM_GetPrefPosition() 614 *x = dsw->w - w - xOffs; in AG_WM_GetPrefPosition() 618 *x = xOffs; in AG_WM_GetPrefPosition() 622 *x = dsw->w/2 - w/2 + xOffs; in AG_WM_GetPrefPosition() 626 *x = dsw->w - w - xOffs; in AG_WM_GetPrefPosition()
|
/dports/cad/digital/Digital-0.27/src/main/java/de/neemann/digital/gui/components/karnaugh/ |
H A D | VarRectList.java | 17 private int xOffs; field in VarRectList 24 public void reset(int xOffs, int yOffs) { in reset() argument 25 this.xOffs = xOffs; in reset() 35 int x = e.getX() - xOffs; in findVarRect()
|
H A D | KarnaughMapComponent.java | 43 private int xOffs; field in KarnaughMapComponent 133 xOffs = (width - (kvWidth + 2) * cellSize) / 2; in paintComponent() 135 gr.translate(xOffs, yOffs); // center the kv map in paintComponent() 166 varRectList.reset(xOffs, yOffs); in paintComponent() 267 private void drawFragment(int var, boolean invert, int row, int col, int xOffs, int yOffs) { in drawFragment() argument 274 int xFr = row * cellSize + xPos - xOffs; in drawFragment() 319 int x = (mouseEvent.getX() - xOffs) / cellSize - 1; in mouseClicked()
|
/dports/games/tecnoballz/tecnoballz-0.93.1/src/ |
H A D | controller_font_game.cc | 129 Sint32 xOffs = 0; //X move offset (1, -1 or 0) in set_start_values() local 141 xOffs = -1; in set_start_values() 147 xOffs = 0; in set_start_values() 151 xOffs = 1; in set_start_values() 154 chara->initialize (zeRad, x_stop, yStrt, xOffs, yOffs, yStop); in set_start_values()
|
/dports/devel/agar/agar-1.5.0/math/ |
H A D | m_matview.c | 123 mv->xOffs = 0; in Init() 132 AG_BindInt(mv->hBar, "value", &mv->xOffs); in Init() 223 int xOffs = -mv->xOffs*mv->wEnt + 8; in DrawNumerical() local 235 for (n = 0, x = xOffs; in DrawNumerical() 264 int xOffs = -mv->xOffs*mv->scale; in DrawGreyscale() local 282 for (n = 0, x = xOffs; in DrawGreyscale()
|
H A D | m_plotter.c | 350 ptr->xOffs = 0; in Init() 385 AG_BindInt(ptr->hbar, "value", &ptr->xOffs); in Init() 449 ptr->xOffs = 0; in SizeRequest() 507 int x = pl->xOffs - ptr->xOffs; in Draw() 578 xLbl = plbl->x - ptr->xOffs - pl->xOffs; in Draw() 586 xLbl = plbl->x - ptr->xOffs - pl->xOffs; in Draw() 590 xLbl = 4 + plbl->x - ptr->xOffs - pl->xOffs; in Draw() 790 ptr->xOffs++; in M_PlotterUpdate() 918 pl->xOffs = 0; in M_PlotNew() 1024 M_PlotSetXoffs(M_Plot *pl, int xOffs) in M_PlotSetXoffs() argument [all …]
|
/dports/games/kodi-addon-game.libretro.beetle-psx/game.libretro.beetle-psx-0.9.44.22-Matrix/depends/common/beetle-psx/pgxp/ |
H A D | pgxp_gpu.c | 207 …rtex(const unsigned int offset, const unsigned int* addr, OGLVertex* pOutput, int xOffs, int yOffs) in PGXP_GetVertex() argument 215 pOutput->x = (vert->x + xOffs); in PGXP_GetVertex() 234 pOutput->x = vert->x + xOffs; in PGXP_GetVertex() 243 pOutput->x = ((psxData[0] + xOffs) << 5) >> 5; in PGXP_GetVertex()
|
H A D | pgxp_gpu.h | 57 int PGXP_GetVertices(const unsigned int* addr, void* pOutput, int xOffs, int yOffs); 58 …tex(const unsigned int offset, const unsigned int* addr, OGLVertex* pOutput, int xOffs, int yOffs);
|
/dports/games/libretro-beetle_psx/beetle-psx-libretro-3ec155d/pgxp/ |
H A D | pgxp_gpu.c | 207 …rtex(const unsigned int offset, const unsigned int* addr, OGLVertex* pOutput, int xOffs, int yOffs) in PGXP_GetVertex() argument 215 pOutput->x = (vert->x + xOffs); in PGXP_GetVertex() 234 pOutput->x = vert->x + xOffs; in PGXP_GetVertex() 243 pOutput->x = ((psxData[0] + xOffs) << 5) >> 5; in PGXP_GetVertex()
|
H A D | pgxp_gpu.h | 57 int PGXP_GetVertices(const unsigned int* addr, void* pOutput, int xOffs, int yOffs); 58 …tex(const unsigned int offset, const unsigned int* addr, OGLVertex* pOutput, int xOffs, int yOffs);
|
/dports/databases/grass7/grass-7.8.6/lib/raster3d/ |
H A D | tilemath.c | 137 int *yTile, int *zTile, int *xOffs, int *yOffs, in Rast3d_coord2tile_coord() argument 141 *xOffs = x % map->tileX; in Rast3d_coord2tile_coord() 170 int xTile, yTile, zTile, xOffs, yOffs, zOffs; in Rast3d_coord2tile_index() local 173 &xTile, &yTile, &zTile, &xOffs, &yOffs, &zOffs); in Rast3d_coord2tile_index() 175 *offset = zOffs * map->tileXY + yOffs * map->tileX + xOffs; in Rast3d_coord2tile_index()
|
H A D | tilewrite.c | 356 int xOffs, yOffs, zOffs; in Rast3d_flush_tiles_in_cube() local 395 &xOffs, &yOffs, &zOffs); in Rast3d_flush_tiles_in_cube() 397 if (xOffs != 0) in Rast3d_flush_tiles_in_cube() 406 &xOffs, &yOffs, &zOffs); in Rast3d_flush_tiles_in_cube()
|
H A D | retile.c | 86 int xOffs, yOffs, zOffs, prev; in Rast3d_retile() local 112 &xTile, &yTile, &zTile, &xOffs, &yOffs, &zOffs); in Rast3d_retile() 124 &xOffs, &yOffs, &zOffs); in Rast3d_retile()
|
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/drv/sega/ |
H A D | sys16_gfx.cpp | 255 xOffs = 0; in System16ACreateBgTileMaps() 305 xOffs = 0; in System16ACreateFgTileMaps() 320 x += xOffs; in System16ACreateFgTileMaps() 360 xOffs = 0; in System16BCreateBgTileMaps() 419 xOffs = 0; in System16BCreateBgAltTileMaps() 475 xOffs = 0; in System16BCreateFgTileMaps() 528 xOffs = 0; in System16BCreateFgAltTileMaps() 577 xOffs = 0; in System16BAltCreateBgTileMaps() 629 xOffs = 0; in System16BAltCreateBgAltTileMaps() 678 xOffs = 0; in System16BAltCreateFgTileMaps() [all …]
|
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/taito/ |
H A D | tc0280grd.cpp | 175 void TC0280GRDInit(INT32 xOffs, INT32 yOffs, UINT8 *pSrc) in TC0280GRDInit() argument 183 TC0280GRDXOffset = xOffs; in TC0280GRDInit() 193 void TC0430GRWInit(INT32 xOffs, INT32 yOffs, UINT8 *pSrc) in TC0430GRWInit() argument 195 TC0280GRDInit(xOffs, yOffs, pSrc); in TC0430GRWInit()
|
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/drv/taito/ |
H A D | tc0280grd.cpp | 175 void TC0280GRDInit(INT32 xOffs, INT32 yOffs, UINT8 *pSrc) in TC0280GRDInit() argument 183 TC0280GRDXOffset = xOffs; in TC0280GRDInit() 193 void TC0430GRWInit(INT32 xOffs, INT32 yOffs, UINT8 *pSrc) in TC0430GRWInit() argument 195 TC0280GRDInit(xOffs, yOffs, pSrc); in TC0430GRWInit()
|
/dports/games/vultures-eye/vulture-2.3.67/nethack/win/Qt/ |
H A D | qttableview.cpp | 385 int newX = xOffs; in setTopLeftCell() 477 (x == xOffs && y == yOffs) ) in setOffset() 533 int dx = (x - xOffs); in setOffset() 535 xOffs = x; in setOffset() 865 if ( xOffs > maxX ) { in clearTableFlags() 874 setOffset( xOffs, maxY ); in clearTableFlags() 1199 setOffset( xOffs, val, FALSE ); in verSbValue() 1215 setOffset( xOffs, val, FALSE ); in verSbSliding() 1218 setOffset( xOffs, val, FALSE ); in verSbSliding() 1633 name( "unnamed" ), xPos, xOffs ); in findRawCol() [all …]
|
/dports/games/xnethack/xNetHack-xnh6.1/outdated/win/Qt3/ |
H A D | qt3tableview.cpp | 386 int newX = xOffs; in setTopLeftCell() 478 (x == xOffs && y == yOffs) ) in setOffset() 534 int dx = (x - xOffs); in setOffset() 536 xOffs = x; in setOffset() 866 if ( xOffs > maxX ) { in clearTableFlags() 875 setOffset( xOffs, maxY ); in clearTableFlags() 1200 setOffset( xOffs, val, FALSE ); in verSbValue() 1216 setOffset( xOffs, val, FALSE ); in verSbSliding() 1219 setOffset( xOffs, val, FALSE ); in verSbSliding() 1634 name( "unnamed" ), xPos, xOffs ); in findRawCol() [all …]
|
/dports/games/nethack36-nox11/NetHack-NetHack-3.6.6_Released/win/Qt/ |
H A D | qttableview.cpp | 386 int newX = xOffs; in setTopLeftCell() 478 (x == xOffs && y == yOffs) ) in setOffset() 534 int dx = (x - xOffs); in setOffset() 536 xOffs = x; in setOffset() 866 if ( xOffs > maxX ) { in clearTableFlags() 875 setOffset( xOffs, maxY ); in clearTableFlags() 1200 setOffset( xOffs, val, FALSE ); in verSbValue() 1216 setOffset( xOffs, val, FALSE ); in verSbSliding() 1219 setOffset( xOffs, val, FALSE ); in verSbSliding() 1634 name( "unnamed" ), xPos, xOffs ); in findRawCol() [all …]
|
/dports/games/nethack36/NetHack-NetHack-3.6.6_Released/win/Qt/ |
H A D | qttableview.cpp | 386 int newX = xOffs; in setTopLeftCell() 478 (x == xOffs && y == yOffs) ) in setOffset() 534 int dx = (x - xOffs); in setOffset() 536 xOffs = x; in setOffset() 866 if ( xOffs > maxX ) { in clearTableFlags() 875 setOffset( xOffs, maxY ); in clearTableFlags() 1200 setOffset( xOffs, val, FALSE ); in verSbValue() 1216 setOffset( xOffs, val, FALSE ); in verSbSliding() 1219 setOffset( xOffs, val, FALSE ); in verSbSliding() 1634 name( "unnamed" ), xPos, xOffs ); in findRawCol() [all …]
|