Searched refs:yDiff (Results 1 - 5 of 5) sorted by relevance

/ast/src/lib/libtk/generic/
H A DtkCanvImg.c493 double x1, x2, y1, y2, xDiff, yDiff;
513 yDiff = y1 - coordPtr[1];
515 yDiff = coordPtr[1] - y2;
517 yDiff = 0;
520 return hypot(xDiff, yDiff);
486 double x1, x2, y1, y2, xDiff, yDiff; local
H A DtkRectOval.c607 double xDiff, yDiff, x1, y1, x2, y2, inc, tmp;
643 yDiff = pointPtr[1] - y1;
645 if (tmp < yDiff) {
646 yDiff = tmp;
648 if (yDiff < xDiff) {
649 xDiff = yDiff;
671 yDiff = y1 - pointPtr[1];
673 yDiff = pointPtr[1] - y2;
675 yDiff = 0;
678 return hypot(xDiff, yDiff);
600 double xDiff, yDiff, x1, y1, x2, y2, inc, tmp; local
[all...]
H A DtkCanvBmap.c543 double x1, x2, y1, y2, xDiff, yDiff;
563 yDiff = y1 - coordPtr[1];
565 yDiff = coordPtr[1] - y2;
567 yDiff = 0;
570 return hypot(xDiff, yDiff);
536 double x1, x2, y1, y2, xDiff, yDiff; local
H A DtkCanvWind.c594 double x1, x2, y1, y2, xDiff, yDiff;
614 yDiff = y1 - pointPtr[1];
616 yDiff = pointPtr[1] + 1 - y2;
618 yDiff = 0;
621 return hypot(xDiff, yDiff);
587 double x1, x2, y1, y2, xDiff, yDiff; local
H A DtkCanvText.c1079 double xDiff, yDiff, dist, minDist;
1118 yDiff = linePtr->y1 - pointPtr[1];
1120 yDiff = pointPtr[1] - linePtr->y2;
1122 yDiff = 0;
1125 dist = hypot(xDiff, yDiff);
1070 double xDiff, yDiff, dist, minDist; local

Completed in 23 milliseconds