Home | History | Annotate | Download | only in relative

Lines Matching defs:sourceX

622         int sourceX = sourceSegmentTypeX.getX(sourceNode, sourceBounds);
624 sourceX : targetSegmentTypeX.getX(targetNode, targetBounds);
642 if (sourceX > sharedX + 2) { // Skip when source falls on the margin line
646 graphics.drawArrow(sourceX, center, sharedX + 2, center, ARROW_SIZE);
652 graphics.drawArrow(targetX, center, sourceX, center, ARROW_SIZE);
657 if (sourceX < sharedX - 2) {
661 graphics.drawArrow(sourceX, center, sharedX - 3, center, ARROW_SIZE);
665 graphics.drawArrow(targetX, center, sourceX, center, ARROW_SIZE);
670 if (sourceX == targetX) {
672 sourceX -= 2 * ARROW_SIZE;
674 sourceX += 2 * ARROW_SIZE;
677 sourceX += sourceBounds.w / 2 - 2 * ARROW_SIZE;
682 graphics.drawArrow(sourceX, center, targetX, center, ARROW_SIZE);
690 sourceX : targetSegmentTypeX.getX(targetNode, targetBounds);
717 if (Math.abs(sharedX - sourceX) < 2 * ARROW_SIZE) {
719 sharedX = sourceX;
720 sourceX = sharedX + 2 * ARROW_SIZE;
722 sharedX = sourceX;
723 sourceX = sharedX - 2 * ARROW_SIZE;
730 graphics.drawArrow(sourceX, y, sharedX, y, ARROW_SIZE);