Home
last modified time | relevance | path

Searched refs:thisCenterX (Results 1 – 1 of 1) sorted by relevance

/dports/deskutils/basket/basket-2.49a-46-g60e38c6/src/
H A Dnote.cpp2678 qreal thisCenterX = x() + (side == BasketScene::LEFT_SIDE ? width() : /*RIGHT_SIDE:*/ 0); in distanceOnLeftRight() local
2691 if (noteCenterX - thisCenterX != 0) in distanceOnLeftRight()
2692 angle = 1000 * ((noteCenterY - thisCenterY) / (noteCenterX - thisCenterX)); in distanceOnLeftRight()
2696 return sqrt(pow(noteCenterX - thisCenterX, 2) + pow(noteCenterY - thisCenterY, 2)) + angle; in distanceOnLeftRight()
2713 qreal thisCenterX = x() + width() / 2; in distanceOnTopBottom() local
2718 if (thisCenterX > note->finalRightLimit()) in distanceOnTopBottom()
2720 else if (thisCenterX < note->x()) in distanceOnTopBottom()
2723 noteCenterX = thisCenterX; in distanceOnTopBottom()
2726 if (noteCenterX - thisCenterX != 0) in distanceOnTopBottom()
2727 angle = 1000 * ((noteCenterY - thisCenterY) / (noteCenterX - thisCenterX)); in distanceOnTopBottom()
[all …]