/dports/games/xboard-devel/xboard-f49e7e1/winboard/ |
H A D | jaws.c | 279 fromX = fromY = 0; in InitJAWS() 308 if(fromX == BOARD_RGHT+1) fromX -= 2; else in KeyboardEvent() 310 if(fromX > BOARD_LEFT) fromX--; else beepType = 0; // off-board beep in KeyboardEvent() 313 if(fromX == BOARD_LEFT-2) fromX += 2; else in KeyboardEvent() 315 if(fromX < BOARD_RGHT-1) fromX++; else beepType = 0; in KeyboardEvent() 354 if(fromX >= BOARD_LEFT && fromX < BOARD_RGHT) { in KeyboardEvent() 559 xPos = fromX+1; in SayUpperDiagnols() 577 xPos = fromX-1; in SayUpperDiagnols() 606 xPos = fromX+1; in SayLowerDiagnols() 624 xPos = fromX-1; in SayLowerDiagnols() [all …]
|
/dports/games/xboard/xboard-4.9.1/winboard/ |
H A D | jaws.c | 280 fromX = fromY = 0; in InitJAWS() 309 if(fromX == BOARD_RGHT+1) fromX -= 2; else in KeyboardEvent() 311 if(fromX > BOARD_LEFT) fromX--; else beepType = 0; // off-board beep in KeyboardEvent() 314 if(fromX == BOARD_LEFT-2) fromX += 2; else in KeyboardEvent() 316 if(fromX < BOARD_RGHT-1) fromX++; else beepType = 0; in KeyboardEvent() 355 if(fromX >= BOARD_LEFT && fromX < BOARD_RGHT) { in KeyboardEvent() 560 xPos = fromX+1; in SayUpperDiagnols() 578 xPos = fromX-1; in SayUpperDiagnols() 607 xPos = fromX+1; in SayLowerDiagnols() 625 xPos = fromX-1; in SayLowerDiagnols() [all …]
|
/dports/devel/qt5-location/kde-qtlocation-5.15.2p6/src/positioningquick/ |
H A D | qquickgeocoordinateanimation.cpp | 96 double fromX = fromMercator->m_mercatorX; in q_coordinateShortestInterpolator() local 99 if (0.5 < qAbs(toX - fromX)) { in q_coordinateShortestInterpolator() 102 double sx = fromX; in q_coordinateShortestInterpolator() 108 x = fromX + (toX - fromX) * progress; in q_coordinateShortestInterpolator() 114 x = fromX + (toX - fromX) * progress; in q_coordinateShortestInterpolator() 133 double fromX = fromMercator->m_mercatorX; in q_coordinateWestInterpolator() local 135 double diff = toX - fromX; in q_coordinateWestInterpolator() 142 double x = fromX + (toX - fromX) * progress; in q_coordinateWestInterpolator() 163 double fromX = fromMercator->m_mercatorX; in q_coordinateEastInterpolator() local 165 double diff = toX - fromX; in q_coordinateEastInterpolator() [all …]
|
/dports/audio/tuxguitar/tuxguitar-src-1.2/TuxGuitar/src/org/herac/tuxguitar/gui/editors/tab/ |
H A D | TGNoteImpl.java | 76 int x = fromX + getPosX() + spacing; in paintOfflineEffects() 81 int x = fromX + getPosX() + spacing; in paintOfflineEffects() 86 int x = fromX + getPosX() + spacing; in paintOfflineEffects() 402 int nextFromX = fromX; in paintEffects() 448 float x = fromX; in paintSlide() 495 float x = fromX - (2f * scale); in paintGrace() 520 float x = fromX; in paintVibrato() 556 float x = fromX + stringSize.x; in paintTrill() 592 float x = fromX; in paintFadeIn() 605 float x = fromX; in paintAccentuated() [all …]
|
H A D | TGVoiceImpl.java | 348 paintSilence(layout, painter, fromX, fromY); in paint() 354 note.paint(layout,painter,fromX ,fromY); in paint() 357 paintBeat(layout, painter, fromX, fromY) ; in paint() 372 x = fromX + getPosX() + getBeatImpl().getSpacing(); in paintSilence() 377 x = fromX + getPosX() + getBeatImpl().getSpacing() - 1; in paintSilence() 458 float x = ( fromX + getPosX() + spacing + xMove ); in paintTablatureBeat() 500 painter.moveTo(fromX + x1, y2 + ((height - (i * height)) * direction)); in paintTablatureBeat() 501 painter.lineTo(fromX + x2, y2 + ((height - (i * height)) * direction)); in paintTablatureBeat() 534 int vX = ( fromX + getPosX() + spacing ); in paintScoreBeat() 571 float hX = (fromX + xMove + getPosX() + spacing); in paintScoreBeat() [all …]
|
H A D | TGBeatImpl.java | 283 public void paint(ViewLayout layout,TGPainter painter, int fromX, int fromY/*,boolean playMode*/) { in paint() argument 285 paintExtraLines(painter, layout,fromX, fromY); in paint() 288 getVoiceImpl(v).paint(layout, painter, fromX, fromY); in paint() 293 chord.paint(layout,painter,fromX,fromY); in paint() 296 paintStroke(layout, painter, fromX, fromY); in paint() 301 public void paintExtraLines(TGPainter painter,ViewLayout layout,int fromX, int fromY){ in paintExtraLines() argument 304 paintExtraLines(painter,layout,getMinNote(), fromX, scoreY); in paintExtraLines() 305 paintExtraLines(painter,layout,getMaxNote(), fromX, scoreY); in paintExtraLines() 312 int x = fromX + getPosX() + getSpacing(); in paintExtraLines() 338 public void paintStroke(ViewLayout layout,TGPainter painter, int fromX, int fromY){ in paintStroke() argument [all …]
|
/dports/audio/milkytracker/MilkyTracker-1.03.00/src/tracker/wince/ |
H A D | WaitStateThread.cpp | 74 …ned short* saveBuffer, unsigned short* src, unsigned int pitch, const int fromX, const int fromY, … in SaveArea() argument 76 const int Width = (toX - fromX); in SaveArea() 81 for (int x = fromX; x < toX; x++) in SaveArea() 84 unsigned short* dst = saveBuffer + (y-fromY) * Width + (x-fromX); in SaveArea() 92 const int Width = (toX - fromX); in RestoreArea() 97 for (int x = fromX; x < toX; x++) in RestoreArea() 100 unsigned short* dst = saveBuffer + (y-fromY) * Width + (x-fromX); in RestoreArea() 106 static void Darken(unsigned short* buffer, unsigned short pitch, const int fromX, const int fromY, … in Darken() argument 112 buffer[y*pitch+fromX] = 0xFFFF; in Darken() 115 for (x = fromX; x < toX; x++) in Darken() [all …]
|
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/app/cn3d/ |
H A D | sequence_viewer_widget.cpp | 483 if ((prevToX >= fromX && toX < fromX) || in MoveRubberband() 484 (prevToX < fromX && toX >= fromX) || in MoveRubberband() 495 min_max(fromX, prevToX, &a, &b); in MoveRubberband() 545 min_max(fromX, toX, &min, &max); in RemoveRubberband() 689 prevToX = fromX = cellX; in OnMouseEvent() 705 DrawRubberband(dc, fromX, fromY, fromX, cellY, vsX, vsY); in OnMouseEvent() 707 fromX = vsX; in OnMouseEvent() 711 DrawRubberband(dc, fromX, fromY, fromX, fromY, vsX, vsY); in OnMouseEvent() 748 fromX = 0; in OnMouseEvent() 759 ((int)fromX < cellX) ? fromX : cellX, in OnMouseEvent() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/hopkins/ |
H A D | lines.h | 148 bool checkSmoothMove(int fromX, int fromY, int destX, int destY); 149 bool makeSmoothMove(int fromX, int fromY, int destX, int destY); 150 …int characterRoute(int fromX, int fromY, int destX, int destY, int startLineIdx, int endLineIdx, i… 156 …int computeRouteIdx(int lineIdx, int dataIdx, int fromX, int fromY, int destX, int destY, int rout… 158 bool MIRACLE(int fromX, int fromY, int lineIdx, int destLineIdx, int routeIdx); 178 void addZoneLine(int idx, int fromX, int fromY, int destX, int destY, int bobZoneIdx); 180 void addLine(int lineIdx, Directions direction, int fromX, int fromY, int destX, int destY); 182 RouteItem *findRoute(int fromX, int fromY, int destX, int destY);
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/hopkins/ |
H A D | lines.h | 148 bool checkSmoothMove(int fromX, int fromY, int destX, int destY); 149 bool makeSmoothMove(int fromX, int fromY, int destX, int destY); 150 …int characterRoute(int fromX, int fromY, int destX, int destY, int startLineIdx, int endLineIdx, i… 156 …int computeRouteIdx(int lineIdx, int dataIdx, int fromX, int fromY, int destX, int destY, int rout… 158 bool MIRACLE(int fromX, int fromY, int lineIdx, int destLineIdx, int routeIdx); 178 void addZoneLine(int idx, int fromX, int fromY, int destX, int destY, int bobZoneIdx); 180 void addLine(int lineIdx, Directions direction, int fromX, int fromY, int destX, int destY); 182 RouteItem *findRoute(int fromX, int fromY, int destX, int destY);
|
/dports/cad/graywolf/graywolf-0.1.6-4-gf47937b/src/mc_compact/ |
H A D | cdraw.c | 153 INT toX, toY, fromX, fromY, sinkTile ; in draw_the_data() local 226 fromX = xGraphG[0]->l ; in draw_the_data() 241 fromX = xGraphG[i]->l ; in draw_the_data() 257 TWdrawNet( i,fromX,fromY,toX,toY, TWRED, labelptr ) ; in draw_the_data() 265 fromX = (blocklG + blockrG) / 2 ; in draw_the_data() 280 fromX = (yGraphG[i]->l + yGraphG[i]->r) / 2 ; in draw_the_data() 301 fromX = xGraphG[sinkTile]->l ; in draw_the_data() 317 fromX = xGraphG[i]->l ; in draw_the_data() 332 TWdrawNet( i,fromX,fromY,toX,toY, TWRED, labelptr ) ; in draw_the_data() 340 fromX = (blocklG + blockrG) / 2 ; in draw_the_data() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/android_webview/javatests/src/org/chromium/android_webview/test/util/ |
H A D | AwTestTouchUtils.java | 32 private static void dragTo(View view, float fromX, float toX, float fromY, in dragTo() argument 34 float x = fromX; in dragTo() 37 float xStep = (toX - fromX) / stepCount; in dragTo() 61 public static void dragCompleteView(final View view, final int fromX, final int toX, in dragCompleteView() argument 64 long downTime = dragStart(view, fromX, fromY); in dragCompleteView() 65 dragTo(view, fromX, toX, fromY, toY, stepCount, downTime); in dragCompleteView()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/mobile/android/base/java/org/mozilla/gecko/widget/ |
H A D | DefaultItemAnimatorBase.java | 60 public int fromX, fromY, toX, toY; field in DefaultItemAnimatorBase.MoveInfo 64 this.fromX = fromX; in MoveInfo() 73 public int fromX, fromY, toX, toY; field in DefaultItemAnimatorBase.ChangeInfo 81 int fromX, int fromY, int toX, int toY) { in ChangeInfo() argument 83 this.fromX = fromX; in ChangeInfo() 94 ", fromX=" + fromX + in toString() 242 fromX += ViewCompat.getTranslationX(holder.itemView); in animateMove() 244 final int deltaX = toX - fromX; in animateMove() 264 final int deltaX = toX - fromX; in animateMoveImpl() 302 if (fromX != toX || fromY != toY) { in animateChange() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/mobile/android/base/java/org/mozilla/gecko/widget/ |
H A D | DefaultItemAnimatorBase.java | 60 public int fromX, fromY, toX, toY; field in DefaultItemAnimatorBase.MoveInfo 64 this.fromX = fromX; in MoveInfo() 73 public int fromX, fromY, toX, toY; field in DefaultItemAnimatorBase.ChangeInfo 81 int fromX, int fromY, int toX, int toY) { in ChangeInfo() argument 83 this.fromX = fromX; in ChangeInfo() 94 ", fromX=" + fromX + in toString() 242 fromX += ViewCompat.getTranslationX(holder.itemView); in animateMove() 244 final int deltaX = toX - fromX; in animateMove() 264 final int deltaX = toX - fromX; in animateMoveImpl() 302 if (fromX != toX || fromY != toY) { in animateChange() [all …]
|
/dports/devel/upp/upp/examples/ScatterCtrl_Demo/ |
H A D | tab14.cpp | 10 fromX <<= 0; in Init() 22 if (fromX >= toX || fromY >= toY) { in OnUpdate() 31 scatter.SetXYMin(fromX, fromY); in OnUpdate() 32 scatter.SetRange(toX - fromX, toY - fromY); in OnUpdate()
|
H A D | tab14_UserEquation.cpp | 10 fromX <<= 0; in Init() 22 if (fromX >= toX || fromY >= toY) { in OnUpdate() 31 scatter.SetXYMin(fromX, fromY); in OnUpdate() 32 scatter.SetRange(toX - fromX, toY - fromY); in OnUpdate()
|
/dports/databases/pgfouine/pgfouine-1.2/include/reporting/artichow/php5/ |
H A D | MathPlot.class.php | 45 public $fromX; variable in awMathFunction 65 * @param float $fromX 68 public function __construct($f, $fromX = NULL, $toX = NULL) { argument 71 $this->fromX = is_null($fromX) ? NULL : (float)$fromX; 343 $fromX = is_null($function->fromX) ? $this->extremum->left : $function->fromX; 348 for($i = $fromX; $i <= $toX; $i += $this->interval) {
|
/dports/databases/pgfouine/pgfouine-1.2/include/reporting/artichow/php4/ |
H A D | MathPlot.class.php | 45 var $fromX; variable in awMathFunction 65 * @param float $fromX 68 function awMathFunction($f, $fromX = NULL, $toX = NULL) { argument 71 $this->fromX = is_null($fromX) ? NULL : (float)$fromX; 339 $fromX = is_null($function->fromX) ? $this->extremum->left : $function->fromX; 344 for($i = $fromX; $i <= $toX; $i += $this->interval) {
|
/dports/games/xboard-devel/xboard-f49e7e1/ |
H A D | board.c | 155 if (hi1X != fromX || hi1Y != fromY) { in SetHighlights() 170 if (hi1X != fromX || hi1Y != fromY) { in SetHighlights() 171 if (fromX >= 0 && fromY >= 0) { in SetHighlights() 172 drawHighlight(fromX, fromY, 1); in SetHighlights() 181 hi1X = fromX; in SetHighlights() 200 if (pm1X != fromX || pm1Y != fromY) { in SetPremoveHighlights() 204 if (fromX >= 0 && fromY >= 0) { in SetPremoveHighlights() 205 drawHighlight(fromX, fromY, 2); in SetPremoveHighlights() 216 pm1X = fromX; in SetPremoveHighlights() 620 piece = board[fromY][fromX]; in AnimateMove() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/public/test/android/javatests/src/org/chromium/content_public/browser/test/util/ |
H A D | TouchCommon.java | 39 public static void performDrag(View view, float fromX, float toX, float fromY, float toY, in performDrag() argument 43 float[] windowXY = screenToWindowCoordinates(view, fromX, fromY); in performDrag() 50 float x = fromX; in performDrag() 53 float xStep = (toX - fromX) / stepCount; in performDrag() 86 public static void performDrag(Activity activity, float fromX, float toX, float fromY, in performDrag() argument 88 performDrag(getRootViewForActivity(activity), fromX, toX, fromY, toY, stepCount, duration); in performDrag() local 123 public static void dragTo(Activity activity, float fromX, float toX, float fromY, float toY, in dragTo() argument 126 float x = fromX; in dragTo() 129 float xStep = (toX - fromX) / stepCount; in dragTo()
|
/dports/databases/phpmyadmin5/phpMyAdmin-5.1.2-all-languages/vendor/bacon/bacon-qr-code/src/Renderer/Image/ |
H A D | EpsImageBackEnd.php | 123 $fromX = 0; 127 . $this->drawPathOperations($path, $fromX, $fromY) 146 $fromX = 0; 149 'q n ' . $this->drawPathOperations($path, $fromX, $fromY) . "\n", 170 private function drawPathOperations(Iterable $ops, &$fromX, &$fromY) : string argument 177 $fromX = $toX = round($op->getX(), self::PRECISION); 183 $fromX = $toX = round($op->getX(), self::PRECISION); 189 … $pathData[] = $this->drawPathOperations($op->toCurves($fromX, $fromY), $fromX, $fromY); 197 $fromX = $x3 = round($op->getX3(), self::PRECISION);
|
/dports/www/typo3-11/typo3_src-11.5.7/vendor/bacon/bacon-qr-code/src/Renderer/Image/ |
H A D | EpsImageBackEnd.php | 123 $fromX = 0; 127 . $this->drawPathOperations($path, $fromX, $fromY) 146 $fromX = 0; 149 'q n ' . $this->drawPathOperations($path, $fromX, $fromY) . "\n", 170 private function drawPathOperations(Iterable $ops, &$fromX, &$fromY) : string argument 177 $fromX = $toX = round($op->getX(), self::PRECISION); 183 $fromX = $toX = round($op->getX(), self::PRECISION); 189 … $pathData[] = $this->drawPathOperations($op->toCurves($fromX, $fromY), $fromX, $fromY); 197 $fromX = $x3 = round($op->getX3(), self::PRECISION);
|
/dports/www/tikiwiki/tiki-21.2/vendor_bundled/vendor/bacon/bacon-qr-code/src/Renderer/Image/ |
H A D | EpsImageBackEnd.php | 123 $fromX = 0; 127 . $this->drawPathOperations($path, $fromX, $fromY) 146 $fromX = 0; 149 'q n ' . $this->drawPathOperations($path, $fromX, $fromY) . "\n", 170 private function drawPathOperations(Iterable $ops, &$fromX, &$fromY) : string argument 177 $fromX = $toX = round($op->getX(), self::PRECISION); 183 $fromX = $toX = round($op->getX(), self::PRECISION); 189 … $pathData[] = $this->drawPathOperations($op->toCurves($fromX, $fromY), $fromX, $fromY); 197 $fromX = $x3 = round($op->getX3(), self::PRECISION);
|
/dports/databases/phpmyadmin5/phpMyAdmin-5.1.2-all-languages/vendor/bacon/bacon-qr-code/src/Renderer/Path/ |
H A D | EllipticArc.php | 123 public function toCurves(float $fromX, float $fromY) : array argument 125 if (sqrt(($fromX - $this->x) ** 2 + ($fromY - $this->y) ** 2) < self::ZERO_TOLERANCE) { 133 return $this->createCurves($fromX, $fromY); 139 private function createCurves(float $fromX, $fromY) : array argument 143 $this->calculateCenterPointParameters($fromX, $fromY, $xAngle); 182 private function calculateCenterPointParameters(float $fromX, float $fromY, float $xAngle) argument 188 $dx2 = ($fromX - $this->x) / 2; 220 $cx = cos($xAngle) * $cxp - sin($xAngle) * $cyp + ($fromX + $this->x) / 2;
|
/dports/www/typo3-11/typo3_src-11.5.7/vendor/bacon/bacon-qr-code/src/Renderer/Path/ |
H A D | EllipticArc.php | 123 public function toCurves(float $fromX, float $fromY) : array argument 125 if (sqrt(($fromX - $this->x) ** 2 + ($fromY - $this->y) ** 2) < self::ZERO_TOLERANCE) { 133 return $this->createCurves($fromX, $fromY); 139 private function createCurves(float $fromX, $fromY) : array argument 143 $this->calculateCenterPointParameters($fromX, $fromY, $xAngle); 182 private function calculateCenterPointParameters(float $fromX, float $fromY, float $xAngle) argument 188 $dx2 = ($fromX - $this->x) / 2; 220 $cx = cos($xAngle) * $cxp - sin($xAngle) * $cyp + ($fromX + $this->x) / 2;
|