Home
last modified time | relevance | path

Searched refs:yOffs (Results 1 – 25 of 132) sorted by relevance

123456

/dports/devel/agar/agar-1.5.0/gui/
H A Dscrollview.c73 aChld.y = -sv->yOffs; in PlaceWidgets()
104 *hTot = aChld.y + sv->yOffs; in PlaceWidgets()
130 sv->yOffs -= dy; in MouseMotion()
134 if (sv->yOffs+sv->r.h > sv->yMax) in MouseMotion()
135 sv->yOffs = sv->yMax-sv->r.h; in MouseMotion()
138 if (sv->yOffs < 0) in MouseMotion()
139 sv->yOffs = 0; in MouseMotion()
236 sv->yOffs = 0; in Init()
363 if (a->h >= (hTot - sv->yOffs)) { in SizeAllocate()
364 sv->yOffs = hTot - a->h; in SizeAllocate()
[all …]
H A Dgraph.c66 gf->yOffs -= scrollIncr; in KeyDown()
69 gf->yOffs += scrollIncr; in KeyDown()
73 gf->yOffs = 0; in KeyDown()
121 gf->yOffs -= dy; in MouseMotion()
449 gf->yOffs = 0; in Init()
485 AG_BindInt(gf, "yOffs", &gf->yOffs); in Init()
560 gf->yOffs = -(a->h/2); in SizeAllocate()
588 edge->v1->y - gf->yOffs, in Draw()
590 edge->v2->y - gf->yOffs, in Draw()
599 lblY -= gf->yOffs + su->h/2; in Draw()
[all …]
H A Ddrv_sw.c584 int xOffs = 0, yOffs = 0; in AG_WM_GetPrefPosition() local
593 *y = yOffs; in AG_WM_GetPrefPosition()
601 *y = yOffs; in AG_WM_GetPrefPosition()
605 *y = dsw->h/2 - h/2 + yOffs; in AG_WM_GetPrefPosition()
611 *y = dsw->h/2 - h/2 + yOffs; in AG_WM_GetPrefPosition()
615 *y = dsw->h/2 - h/2 + yOffs; in AG_WM_GetPrefPosition()
619 *y = dsw->h - h - yOffs; in AG_WM_GetPrefPosition()
627 *y = dsw->h - h - yOffs; in AG_WM_GetPrefPosition()
/dports/emulators/mess/mame-mame0226/scripts/build/
H A Dpng2bdc.py83 self.yOffs = 0 # Y offset from baseline to top,left of bitmap
96 self.yOffs = 0 # y offset from baseline to descent
154 fp.write(b2p(font.yOffs >> 8 & 0xff))
155 fp.write(b2p(font.yOffs >> 0 & 0xff))
182 desty = y + font.height + font.yOffs - c.yOffs - c.bmHeight
211 charTable[destIndex + 10] = c.yOffs >> 8 & 0xff
212 charTable[destIndex + 11] = c.yOffs >> 0 & 0xff
279 font.yOffs = baseline - rowEnd
284 if font.yOffs != (baseline - rowEnd):
336 ch.yOffs = font.yOffs
/dports/emulators/mame/mame-mame0226/scripts/build/
H A Dpng2bdc.py83 self.yOffs = 0 # Y offset from baseline to top,left of bitmap
96 self.yOffs = 0 # y offset from baseline to descent
154 fp.write(b2p(font.yOffs >> 8 & 0xff))
155 fp.write(b2p(font.yOffs >> 0 & 0xff))
182 desty = y + font.height + font.yOffs - c.yOffs - c.bmHeight
211 charTable[destIndex + 10] = c.yOffs >> 8 & 0xff
212 charTable[destIndex + 11] = c.yOffs >> 0 & 0xff
279 font.yOffs = baseline - rowEnd
284 if font.yOffs != (baseline - rowEnd):
336 ch.yOffs = font.yOffs
/dports/cad/digital/Digital-0.27/src/main/java/de/neemann/digital/draw/shapes/
H A DSwitchShape.java78 int yOffs = 0;
85 yOffs = SIZE2 / 2;
89 new Vector(SIZE * 2 - 4, 2 * SIZE * p - yOffs * 2), Style.NORMAL);
92 new Vector(SIZE, -yOffs + (poles - 1) * 2 * SIZE),
93 new Vector(SIZE, -yOffs - SIZE), Style.DASH);
95 new Vector(SIZE2, -yOffs - SIZE),
96 new Vector(SIZE + SIZE2, -yOffs - SIZE), Style.THIN);
H A DSwitchDTShape.java79 int yOffs = 0;
93 yOffs = -SIZE2 / 2;
97 new Vector(SIZE * 2 - 4, 2 * SIZE * p - yOffs * 2), Style.NORMAL);
100 new Vector(SIZE, -yOffs + (poles - 1) * 2 * SIZE),
101 new Vector(SIZE, -yOffs - SIZE), Style.DASH);
103 new Vector(SIZE2, -yOffs - SIZE),
104 new Vector(SIZE + SIZE2, -yOffs - SIZE), Style.THIN);
H A DRelayDTShape.java78 int yOffs = 0; in drawTo() local
80 yOffs = SIZE2 / 2; in drawTo()
91 …Line(new Vector(0, p * SIZE * 2), new Vector(SIZE * 2 - 4, p * SIZE * 2 + yOffs * 2), Style.NORMAL… in drawTo()
94 …graphic.drawLine(new Vector(SIZE, (poles - 1) * SIZE * 2 + yOffs), new Vector(SIZE, 1 - SIZE), Sty… in drawTo()
/dports/cad/digital/Digital-0.27/src/main/java/de/neemann/digital/gui/components/karnaugh/
H A DVarRectList.java18 private int yOffs; field in VarRectList
24 public void reset(int xOffs, int yOffs) { in reset() argument
26 this.yOffs = yOffs; in reset()
36 int y = e.getY() - yOffs; in findVarRect()
H A DKarnaughMapComponent.java44 private int yOffs; field in KarnaughMapComponent
134 yOffs = (height - (kvHeight + 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
275 int yFr = col * cellSize + yPos - yOffs; in drawFragment()
320 int y = (mouseEvent.getY() - yOffs) / cellSize - 1; in mouseClicked()
/dports/devel/agar/agar-1.5.0/math/
H A Dm_matview.c124 mv->yOffs = 0; in Init()
133 AG_BindInt(mv->vBar, "value", &mv->yOffs); in Init()
224 int yOffs = -mv->yOffs*mv->hEnt + 8; in DrawNumerical() local
232 for (m = 0, y = yOffs; in DrawNumerical()
265 int yOffs = -mv->yOffs*mv->scale; in DrawGreyscale() local
279 for (m = 0, y = yOffs; in DrawGreyscale()
H A Dm_plotter.c117 pl->yOffs += dy; in MouseMotion()
224 AG_NumericalNewInt(ntab, 0, "px", _("Y-offset: "), &pl->yOffs); in M_PlotSettings()
351 ptr->yOffs = 0; in Init()
390 AG_BindInt(ptr->vbar, "value", &ptr->yOffs); in Init()
508 int y, py = y0+pl->yOffs+ptr->yOffs; in Draw()
540 y0 - y + pl->yOffs + ptr->yOffs, in Draw()
551 y0 - y + pl->yOffs + ptr->yOffs, in Draw()
553 py = y0 - y + pl->yOffs + ptr->yOffs; in Draw()
919 pl->yOffs = 0; in M_PlotNew()
1031 M_PlotSetYoffs(M_Plot *pl, int yOffs) in M_PlotSetYoffs() 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 Dpgxp_gpu.c207 …rtex(const unsigned int offset, const unsigned int* addr, OGLVertex* pOutput, int xOffs, int yOffs) in PGXP_GetVertex() argument
216 pOutput->y = (vert->y + yOffs); in PGXP_GetVertex()
235 pOutput->y = vert->y + yOffs; in PGXP_GetVertex()
244 pOutput->y = ((psxData[1] + yOffs) << 5) >> 5; in PGXP_GetVertex()
H A Dpgxp_gpu.h57 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 Dpgxp_gpu.c207 …rtex(const unsigned int offset, const unsigned int* addr, OGLVertex* pOutput, int xOffs, int yOffs) in PGXP_GetVertex() argument
216 pOutput->y = (vert->y + yOffs); in PGXP_GetVertex()
235 pOutput->y = vert->y + yOffs; in PGXP_GetVertex()
244 pOutput->y = ((psxData[1] + yOffs) << 5) >> 5; in PGXP_GetVertex()
H A Dpgxp_gpu.h57 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 Dtilemath.c137 int *yTile, int *zTile, int *xOffs, int *yOffs, in Rast3d_coord2tile_coord() argument
143 *yOffs = y % map->tileY; 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 Dtilewrite.c356 int xOffs, yOffs, zOffs; in Rast3d_flush_tiles_in_cube() local
395 &xOffs, &yOffs, &zOffs); in Rast3d_flush_tiles_in_cube()
399 if (yOffs != 0) in Rast3d_flush_tiles_in_cube()
406 &xOffs, &yOffs, &zOffs); in Rast3d_flush_tiles_in_cube()
H A Dretile.c86 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/cad/digital/Digital-0.27/src/main/java/de/neemann/digital/draw/shapes/custom/svg/
H A DSvgTemplate.java94 final int yOffs = style.getFontSize() / 3; in create() local
100 Vector labelPos = new Vector(4, y + yOffs); in create()
109 Vector labelPos = new Vector(width - 4, y + yOffs); in create()
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/drv/sega/
H A Dsys16_gfx.cpp256 yOffs = 0; in System16ACreateBgTileMaps()
306 yOffs = 0; in System16ACreateFgTileMaps()
312 y += yOffs; in System16ACreateFgTileMaps()
361 yOffs = 0; in System16BCreateBgTileMaps()
420 yOffs = 0; in System16BCreateBgAltTileMaps()
476 yOffs = 0; in System16BCreateFgTileMaps()
529 yOffs = 0; in System16BCreateFgAltTileMaps()
578 yOffs = 0; in System16BAltCreateBgTileMaps()
630 yOffs = 0; in System16BAltCreateBgAltTileMaps()
679 yOffs = 0; in System16BAltCreateFgTileMaps()
[all …]
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/taito/
H A Dtc0280grd.cpp175 void TC0280GRDInit(INT32 xOffs, INT32 yOffs, UINT8 *pSrc) in TC0280GRDInit() argument
184 TC0280GRDYOffset = yOffs; 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 Dtc0280grd.cpp175 void TC0280GRDInit(INT32 xOffs, INT32 yOffs, UINT8 *pSrc) in TC0280GRDInit() argument
184 TC0280GRDYOffset = yOffs; in TC0280GRDInit()
193 void TC0430GRWInit(INT32 xOffs, INT32 yOffs, UINT8 *pSrc) in TC0430GRWInit() argument
195 TC0280GRDInit(xOffs, yOffs, pSrc); in TC0430GRWInit()
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/sega/
H A Dsys16_gfx.cpp262 yOffs = 0; in System16ACreateBgTileMaps()
312 yOffs = 0; in System16ACreateFgTileMaps()
318 y += yOffs; in System16ACreateFgTileMaps()
367 yOffs = 0; in System16BCreateBgTileMaps()
426 yOffs = 0; in System16BCreateBgAltTileMaps()
482 yOffs = 0; in System16BCreateFgTileMaps()
535 yOffs = 0; in System16BCreateFgAltTileMaps()
584 yOffs = 0; in System16BAltCreateBgTileMaps()
636 yOffs = 0; in System16BAltCreateBgAltTileMaps()
685 yOffs = 0; in System16BAltCreateFgTileMaps()
[all …]
/dports/converters/wkhtmltopdf/qt-5db36ec/examples/opengl/framebufferobject2/
H A Dglwidget.cpp140 yOffs[i] = 0.0f; in initializeGL()
231 glTranslatef(xOffs[i], yOffs[i], z); in drawCube()
246 yOffs[i] = qAbs(cos((-3.141592f * jmp) * xOffs[i]) * amp) - 1; in drawCube()

123456