Lines Matching refs:cpt
249 static int miGetArcPts(SppArcPtr parc, int cpt, SppPointPtr * ppPts);
1351 int cpt;
1407 if ((cpt = miGetArcPts(&arc, 3, &pArcPts))) {
1411 miFillSppPoly(pDraw, pGC, cpt, pArcPts, xOrg, yOrg, xFtrans,
1502 int cpt;
1524 if ((cpt = miGetArcPts(&arc, 0, &pArcPts))) {
1528 miFillSppPoly(pDraw, pGC, cpt, pArcPts, -xOrg, -yOrg, xFtrans, yFtrans);
1636 * to a pointer to where it should put the points and an index (cpt).
1647 int cpt, /* number of points already in arc list */
1688 if (!(poly = reallocarray(*ppPts, cpt + count, sizeof(SppPointRec))))
1702 poly[cpt].x = (xc + x0);
1703 poly[cpt].y = (yc + y0);
1704 poly[cpt + 1].x = (xc + x1);
1705 poly[cpt + 1].y = (yc + y1);
1711 poly[cpt + i].x = (xc + x2);
1712 poly[cpt + i].y = (yc + y2);
1721 poly[cpt + i - 1] = poly[0];
1723 poly[cpt + i - 1].x = (miDcos(st + et) * parc->width / 2.0 + xc);
1724 poly[cpt + i - 1].y = (miDsin(st + et) * parc->height / 2.0 + yc);