Home
last modified time | relevance | path

Searched refs:newY (Results 1 – 25 of 1426) sorted by relevance

12345678910>>...58

/dports/www/grafana8/grafana-8.3.6/vendor/github.com/jung-kurt/gofpdf/
H A Dsvgwrite.go28 var x, y, newX, newY float64
55 newX, newY = val(0)
56 f.Line(x, y, newX, newY)
57 x, y = newX, newY
61 newX, newY = val(4)
63 x, y = newX, newY
66 newX, newY = val(2)
68 x, y = newX, newY
74 newY = yval(0)
75 f.Line(x, y, x, newY)
[all …]
/dports/editors/o/o-2.46.0/vendor/github.com/jung-kurt/gofpdf/gofpdf-1.16.2/
H A Dsvgwrite.go28 var x, y, newX, newY float64
55 newX, newY = val(0)
56 f.Line(x, y, newX, newY)
57 x, y = newX, newY
61 newX, newY = val(4)
63 x, y = newX, newY
66 newX, newY = val(2)
68 x, y = newX, newY
74 newY = yval(0)
75 f.Line(x, y, x, newY)
[all …]
/dports/editors/o/o-2.46.0/vendor/github.com/jung-kurt/gofpdf/
H A Dsvgwrite.go28 var x, y, newX, newY float64
55 newX, newY = val(0)
56 f.Line(x, y, newX, newY)
57 x, y = newX, newY
61 newX, newY = val(4)
63 x, y = newX, newY
66 newX, newY = val(2)
68 x, y = newX, newY
74 newY = yval(0)
75 f.Line(x, y, x, newY)
[all …]
/dports/x11-wm/icewm/icewm-2.9.4/src/
H A Dmovesize.cc228 newY -= factor; in handleMoveKeys()
230 newY += factor; in handleMoveKeys()
246 newY = origY; in handleMoveKeys()
312 newY = origY; in handleResizeKeys()
333 newY += borderY(); in handleMoveMouse()
375 if (newY < my) in handleMoveMouse()
376 newY = my; in handleMoveMouse()
380 newY -= borderY(); in handleMoveMouse()
668 int newY = y(); in handleKey() local
1042 newY = clamp(newY, (int)(my + borderY() - height()), in moveWindow()
[all …]
/dports/devel/umbrello/umbrello-21.12.3/umbrello/umlwidgets/
H A Dchildwidgetplacementport.cpp61 newY = minY(); in setNewPositionWhenMoved()
75 newY = maxY(); in setNewPositionWhenMoved()
112 newY = minY(); in setNewPositionWhenMoved()
114 else if (newY > minY()) { in setNewPositionWhenMoved()
125 newY = minY(); in setNewPositionWhenMoved()
127 else if (newY > minY()) { in setNewPositionWhenMoved()
138 newY = maxY(); in setNewPositionWhenMoved()
140 else if (newY < maxY()) { in setNewPositionWhenMoved()
151 newY = maxY(); in setNewPositionWhenMoved()
153 else if (newY < maxY()) { in setNewPositionWhenMoved()
[all …]
/dports/x11-toolkits/qt5-declarative-test/kde-qtdeclarative-5.15.2p41/src/particles/
H A Dqquickwander.cpp152 qreal newX, newY; in affectParticle() local
158 newY = data->curY(m_system) + dy; in affectParticle()
159 if (m_yVariance > qAbs(newY) ) in affectParticle()
167 newY = data->curVY(m_system) + dy; in affectParticle()
168 if (m_yVariance > qAbs(newY)) in affectParticle()
169 data->setInstantaneousVY(newY, m_system); in affectParticle()
175 newY = data->ay + dy; in affectParticle()
176 if (m_yVariance > qAbs(newY)) in affectParticle()
177 data->setInstantaneousAY(newY, m_system); in affectParticle()
/dports/x11-toolkits/qt5-declarative/kde-qtdeclarative-5.15.2p41/src/particles/
H A Dqquickwander.cpp152 qreal newX, newY; in affectParticle() local
158 newY = data->curY(m_system) + dy; in affectParticle()
159 if (m_yVariance > qAbs(newY) ) in affectParticle()
167 newY = data->curVY(m_system) + dy; in affectParticle()
168 if (m_yVariance > qAbs(newY)) in affectParticle()
169 data->setInstantaneousVY(newY, m_system); in affectParticle()
175 newY = data->ay + dy; in affectParticle()
176 if (m_yVariance > qAbs(newY)) in affectParticle()
177 data->setInstantaneousAY(newY, m_system); in affectParticle()
/dports/games/brogue/BrogueCE-1.10.1/src/brogue/
H A DArchitect.c38 short newX, newY, dir, sdir; in checkLoopiness() local
65 if (coordinatesAreInMap(newX, newY) && (pmap[newX][newY].flags & IN_LOOP)) { in checkLoopiness()
102 short dir, newX, newY; in auditLoop() local
163 if ((coordinatesAreInMap(newX, newY) && cellIsPassableOrDoor(newX, newY)) in passableArcCount()
237 if ((coordinatesAreInMap(newX, newY) && passMap[newX][newY]) in analyzeMap()
380 short dir, newX, newY; in addTileToMachineInteriorAndIterate() local
545 && ((interior[newX][newY] && !(newX==originX && newY==originY)) in cellIsFeatureCandidate()
837 short i, j, newX, newY; in prepareInteriorWithMachineFlags() local
1917 short newX, newY; in insertRoomAt() local
2537 short newX, newY; in lakeFloodFill() local
[all …]
H A DMovement.c28 short newX, newY, dir; in playerRuns() local
449 newY = y + nbDirs[i][1]; in randValidDirectionFrom()
781 newY = y + nbDirs[direction][1]; in playerMoves()
855 …lHasTerrainFlag(newX, newY, T_OBSTRUCTS_PASSABILITY) || (cellHasTMFlag(newX, newY, TM_PROMOTES_WIT… in playerMoves()
885 useKeyAt(keyInPackFor(newX, newY), newX, newY); in playerMoves()
1155 i = pmap[newX][newY].layers[layerWithFlag(newX, newY, T_OBSTRUCTS_PASSABILITY)]; in playerMoves()
1415 short newX, newY, bestScore; in nextStep() local
1430 newY = y + nbDirs[dir][1]; in nextStep()
1482 currentY = newY; in displayRoute()
1564 currentY = newY; in travelMap()
[all …]
/dports/astro/stellarium/stellarium-0.21.3/src/gui/
H A DStelDialogSeparate.cpp113 int newX, newY; in setVisible() local
128 newY=posList.at(1).toInt(); in setVisible()
133 newY=static_cast<int>((screenSize.height() - size.height())/2); in setVisible()
138 if (newY>=screenSize.height()) in setVisible()
139 newY= (screenSize.height() - dialog->size().height()); in setVisible()
142 if (newY <-0) in setVisible()
143 newY = 0; in setVisible()
144 dialog->move(newX, newY); in setVisible()
153 newY=sizeList.at(1).toInt(); in setVisible()
158 newY=0; in setVisible()
[all …]
/dports/graphics/kipi-plugins/kipi-plugins-21.12.3/printimages/wizard/
H A Dcropframe.cpp289 int newY = e->y() - (newH / 2); in mouseMoveEvent() local
290 newY = qMax(m_pixmapY, newY); in mouseMoveEvent()
291 newY = qMin(m_pixmapY + m_pixmap->height() - newH, newY); in mouseMoveEvent()
293 m_cropRegion.setRect(newX, newY, newW, newH); in mouseMoveEvent()
303 int newY = m_cropRegion.y(); in keyPressEvent() local
307 case Qt::Key_Up : newY--; in keyPressEvent()
309 case Qt::Key_Down : newY++; in keyPressEvent()
324 newY = qMax(m_pixmapY, newY); in keyPressEvent()
325 newY = qMin(m_pixmapY + m_pixmap->height() - h, newY); in keyPressEvent()
327 m_cropRegion.setRect(newX, newY, w, h); in keyPressEvent()
/dports/astro/xplanet/xplanet-1.3.1/src/
H A DView.cpp78 double &newX, double &newY, double &newZ) const in RotateToXYZ() argument
83 newY = dot(inv_rotate[1], P) - translate[1]; in RotateToXYZ()
90 double &newX, double &newY, double &newZ) const in RotateToViewCoordinates() argument
97 newY = dot(rotate[1], P); in RotateToViewCoordinates()
109 double &newX, double &newY, double &newZ) const in XYZToPixel() argument
111 RotateToViewCoordinates(X, Y, Z, newX, newY, newZ); in XYZToPixel()
114 newY *= -(distToPlane_/(newZ*distPerPixel_)); in XYZToPixel()
120 double &newX, double &newY, double &newZ) const in PixelToViewCoordinates() argument
123 newY = Y * distPerPixel_; in PixelToViewCoordinates()
/dports/graphics/digikam/digikam-7.4.0/core/dplugins/generic/tools/printcreator/wizard/
H A Dadvprintcropframe.cpp278 int newY = e->y() - (newH / 2); in mouseMoveEvent() local
279 newY = qMax(d->imageY, newY); in mouseMoveEvent()
280 newY = qMin(d->imageY + d->image.height() - newH, newY); in mouseMoveEvent()
282 d->cropRegion.setRect(newX, newY, newW, newH); in mouseMoveEvent()
291 int newY = d->cropRegion.y(); in keyReleaseEvent() local
296 newY--; in keyReleaseEvent()
300 newY++; in keyReleaseEvent()
320 newY = qMax(d->imageY, newY); in keyReleaseEvent()
321 newY = qMin(d->imageY + d->image.height() - h, newY); in keyReleaseEvent()
323 d->cropRegion.setRect(newX, newY, w, h); in keyReleaseEvent()
/dports/games/trenchbroom/TrenchBroom-ed46601/common/src/Model/
H A DEntityRotationPolicy.cpp98 Vec3 newX, newY, newZ; in applyRotation() local
101 newY = transformation * rotation * Vec3::PosY; in applyRotation()
103 if (std::abs(newX.z()) < std::abs(newY.z())) { in applyRotation()
107 newY = Vec3(newY.x(), newY.y(), 0.0).normalized(); in applyRotation()
108 yaw = angleBetween(newY, Vec3::PosY, Vec3::PosZ); in applyRotation()
126 newY = invPitch * invYaw * transformation * rotation * Vec3::PosY; in applyRotation()
129 if (std::abs(newY.x()) < std::abs(newY.x())) { in applyRotation()
130 newY = Vec3(0.0, newY.y(), newY.z()).normalized(); in applyRotation()
131 roll = angleBetween(newY, Vec3::PosY, Vec3::PosX); in applyRotation()
/dports/astro/kstars/kstars-3.5.6/kstars/widgets/
H A Dinfoboxwidget.cpp159 int newY = y(); in adjust() local
163 newY = maxY; in adjust()
167 newY = KSUtils::clamp(newY, 0, maxY); in adjust()
168 if (newY == maxY) in adjust()
173 move(newX, newY); in adjust()
227 int newY = y() + event->y(); in mouseMoveEvent() local
229 if (newY > maxY) in mouseMoveEvent()
231 newY = maxY; in mouseMoveEvent()
236 if (newY < 0) in mouseMoveEvent()
237 newY = 0; in mouseMoveEvent()
[all …]
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/entity/mapstuff/area/
H A DNoLoginAreaBehaviour.java27 private int newY; field in NoLoginAreaBehaviour
39 public NoLoginAreaBehaviour(final int newX, final int newY, final String message) { in NoLoginAreaBehaviour() argument
41 this.newY = newY; in NoLoginAreaBehaviour()
60 player.setPosition(newX, newY); in onLoggedIn()
77 this.newY = y; in setTargetPosition()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/draci/
H A Dsurface.cpp117 int newY = y - height; in putAboveY() local
119 if (newY + height > h) in putAboveY()
120 newY = h - height; in putAboveY()
122 if (newY < 0) in putAboveY()
123 newY = 0; in putAboveY()
125 return newY; in putAboveY()
/dports/games/scummvm/scummvm-2.5.1/engines/draci/
H A Dsurface.cpp117 int newY = y - height; in putAboveY() local
119 if (newY + height > h) in putAboveY()
120 newY = h - height; in putAboveY()
122 if (newY < 0) in putAboveY()
123 newY = 0; in putAboveY()
125 return newY; in putAboveY()
/dports/games/scorched3d/scorched/src/common/placement/
H A DPlacementTypeTree.cpp117 int newY = y + (generator.getRandFixed("PlacementTypeTree") * 8).asInt() - 4; in getPositions() local
119 newY >= 0 && newY < 64) in getPositions()
124 newX * treeMapMultWidth, newY * treeMapMultHeight); in getPositions()
128 newX * treeMapMultWidth, newY * treeMapMultHeight); in getPositions()
133 objectMap[newX + 64 * newY] = 64; in getPositions()
167 int newY = j + y - 1; in getPositions() local
170 newY >= 0 && newY < 64) in getPositions()
172 inc += objectMapCopy[newX + 64 * newY]; in getPositions()
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/doc/qtcreator/examples/accelbubble/
H A Dmain.qml46 … var newY = (bubble.y - calcPitch(accel.reading.x, accel.reading.y, accel.reading.z) * 0.1)
48 if (isNaN(newX) || isNaN(newY))
57 if (newY < 18)
58 newY = 18
60 if (newY > mainWindow.height - bubble.height)
61 newY = mainWindow.height - bubble.height
64 bubble.y = newY
/dports/games/powder-toy/The-Powder-Toy-95.0/src/simulation/simtools/
H A DMIX.cpp32 int newY = y + (random_gen() % distance) - (distance/2); in perform() local
34 if(newX < 0 || newY < 0 || newX >= XRES || newY >= YRES) in perform()
37 int thatPart = sim->pmap[newY][newX]; in perform()
48 sim->pmap[newY][newX] = thisPart; in perform()
50 sim->parts[ID(thisPart)].y = newY; in perform()
/dports/graphics/luminance-qt5/luminance-hdr-2.6.1.1/src/TonemappingOperators/ashikhmin02/
H A Dpyramid.h100 double NoInterpolateLum(int newX, int newY, Pyramid *pl) { in NoInterpolateLum() argument
104 if (newX < pl->width - 1 && newY < pl->height - 1) in NoInterpolateLum()
105 lum = pl->getPixel(newX, newY); in NoInterpolateLum()
106 else if (newX < pl->width - 1 && newY >= pl->height) { in NoInterpolateLum()
108 } else if (newX >= pl->width && newY < pl->height - 1) { in NoInterpolateLum()
109 lum = pl->getPixel(pl->width - 1, newY); in NoInterpolateLum()
116 double InterpolateLum(double newX, double newY, Pyramid *pl) { in InterpolateLum() argument
118 int Y_int = (int)newY; in InterpolateLum()
123 dy = newY - (double)Y_int; in InterpolateLum()
169 int newY = y / (lambda + lambda); in Interpolate() local
[all …]
/dports/graphics/art/ART-1.9.3/rtengine/
H A Dcoord.cc76 const auto newY = rtengine::LIM<int> (y, 0, height); in clip() local
78 if (x != newX || y != newY) { in clip()
81 y = newY; in clip()
94 const auto newY = rtengine::LIM<double> (y, 0., height); in clip() local
96 if (x != newX || y != newY) { in clip()
99 y = newY; in clip()
/dports/multimedia/avidemux-qt5/avidemux_2.7.6/avidemux_plugins/ADM_scriptEngines/qtScript/src/exampleScript/
H A DTranscodeDirectory.admjs20 var newY;
26 newY = Math.round(height / rX);
31 newY = targetY;
37 newY -= newY % 4;
39 if (newX != width || newY != height)
44 videoFilter.configuration.height = newY;
51 var barY = targetY - newY;
/dports/multimedia/avidemux-cli/avidemux_2.7.6/avidemux_plugins/ADM_scriptEngines/qtScript/src/exampleScript/
H A DTranscodeDirectory.admjs20 var newY;
26 newY = Math.round(height / rX);
31 newY = targetY;
37 newY -= newY % 4;
39 if (newX != width || newY != height)
44 videoFilter.configuration.height = newY;
51 var barY = targetY - newY;

12345678910>>...58