Lines Matching refs:vertex

760     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[2], corner1[2], corner2[2];
1278 vertex[0] = (arcPtr->bbox[0] + arcPtr->bbox[2])/2.0;
1279 vertex[1] = (arcPtr->bbox[1] + arcPtr->bbox[3])/2.0;
1280 arcPtr->center1[0] = vertex[0] + cos1*boxWidth/2.0;
1281 arcPtr->center1[1] = vertex[1] + sin1*boxHeight/2.0;
1282 arcPtr->center2[0] = vertex[0] + cos2*boxWidth/2.0;
1283 arcPtr->center2[1] = vertex[1] + sin2*boxHeight/2.0;
1358 TkGetButtPoints(arcPtr->center1, vertex, (double) arcPtr->width, 0,
1360 outlinePtr[4] = arcPtr->center1[0] + outlinePtr[2] - vertex[0];
1361 outlinePtr[5] = arcPtr->center1[1] + outlinePtr[3] - vertex[1];
1364 outlinePtr[8] = arcPtr->center1[0] + outlinePtr[0] - vertex[0];
1365 outlinePtr[9] = arcPtr->center1[1] + outlinePtr[1] - vertex[1];
1387 TkGetButtPoints(arcPtr->center2, vertex, (double) arcPtr->width, 0,
1397 outlinePtr[18] = arcPtr->center2[0] + outlinePtr[16] - vertex[0];
1398 outlinePtr[19] = arcPtr->center2[1] + outlinePtr[17] - vertex[1];
1401 outlinePtr[22] = arcPtr->center2[0] + outlinePtr[12] - vertex[0];
1402 outlinePtr[23] = arcPtr->center2[1] + outlinePtr[13] - vertex[1];