Searched defs:distance (Results 1 - 3 of 3) sorted by relevance
/ast/src/lib/libtk/generic/ |
H A D | tkCanvPoly.c | 669 * Computes the distance from a given point to a given 676 * distance from the point to the polygon. 692 double *coordPtr, distance; 697 distance = TkPolygonToPoint(polyPtr->coordPtr, polyPtr->numPoints, 715 distance = TkPolygonToPoint(coordPtr, numPoints, pointPtr); 721 distance -= polyPtr->width/2.0; 722 if (distance < 0) { 723 distance = 0; 726 return distance; 684 double *coordPtr, distance; local
|
H A D | tkColor.c | 555 float tmp, distance, closestDistance; 612 * Use Euclidean distance in RGB space, weighted by Y (of YIQ) 618 distance = tmp*tmp; 620 distance += tmp*tmp; 622 distance += tmp*tmp; 623 if (distance < closestDistance) { 625 closestDistance = distance; 548 float tmp, distance, closestDistance; local
|
/ast/src/cmd/cs/vcs_src/ |
H A D | vcs_search.c | 50 * | id distance 53 * distance :: [ "+" | "-" ] integer 112 int distance; local 126 distance = 0; 132 distance = (int)strtol(s, (char**)0, 0); 151 if (!distance) 157 index += distance; 159 index -= distance;
|
Completed in 25 milliseconds