Searched defs:vertex (Results 1 - 1 of 1) sorted by relevance

/ast/src/lib/libtk/generic/
H A DtkCanvArc.c760 double vertex[2], pointAngle, diff, dist, newDist;
777 vertex[0] = (arcPtr->bbox[0] + arcPtr->bbox[2])/2.0;
778 vertex[1] = (arcPtr->bbox[1] + arcPtr->bbox[3])/2.0;
779 t1 = (pointPtr[1] - vertex[1])/(arcPtr->bbox[3] - arcPtr->bbox[1]);
780 t2 = (pointPtr[0] - vertex[0])/(arcPtr->bbox[2] - arcPtr->bbox[0]);
832 dist = TkLineToPoint(vertex, arcPtr->center1, pointPtr);
833 newDist = TkLineToPoint(vertex, arcPtr->center2, pointPtr);
862 poly[0] = poly[6] = vertex[0];
863 poly[1] = poly[7] = vertex[1];
1233 double vertex[
753 double vertex[2], pointAngle, diff, dist, newDist; local
1222 double vertex[2], corner1[2], corner2[2]; local
[all...]

Completed in 19 milliseconds