Lines Matching refs:center2
52 double center2[2]; /* Coordinates of center of arc outline at
548 TkIncludePoint((Tk_Item *) arcPtr, arcPtr->center2);
693 Tk_CanvasDrawableCoords(canvas, arcPtr->center2[0],
694 arcPtr->center2[1], &x2, &y2);
806 newDist = hypot(pointPtr[0] - arcPtr->center2[0],
807 pointPtr[1] - arcPtr->center2[1]);
833 newDist = TkLineToPoint(vertex, arcPtr->center2, pointPtr);
860 dist = TkLineToPoint(arcPtr->center1, arcPtr->center2, pointPtr);
866 poly[4] = arcPtr->center2[0];
867 poly[5] = arcPtr->center2[1];
1069 (TkLineToArea(center, arcPtr->center2, rectPtr) != -1)) {
1080 if (TkLineToArea(arcPtr->center1, arcPtr->center2,
1282 arcPtr->center2[0] = vertex[0] + cos2*boxWidth/2.0;
1283 arcPtr->center2[1] = vertex[1] + sin2*boxHeight/2.0;
1299 * is (boxWidth*sin1)/(boxHeight*cos1), and similarly for arcPtr->center2
1317 corner2[0] = arcPtr->center2[0] + cos(angle)*halfWidth;
1318 corner2[1] = arcPtr->center2[1] + sin(angle)*halfWidth;
1330 TkGetButtPoints(arcPtr->center2, arcPtr->center1,
1332 outlinePtr[4] = arcPtr->center2[0] + outlinePtr[2]
1334 outlinePtr[5] = arcPtr->center2[1] + outlinePtr[3]
1338 outlinePtr[8] = arcPtr->center2[0] + outlinePtr[10]
1340 outlinePtr[9] = arcPtr->center2[1] + outlinePtr[11]
1381 * arcPtr->center2, and Z is corner2. The extra jog out to the left
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];