Lines Matching refs:poly
761 XPoint poly[4], b1, b2, newB1, newB2;
805 * poly[1] /
808 * b1 * poly[0] (pointPtr[i-1])
822 * pointPtr[i]) and put it in poly[2]. As part of
825 * (b) Put pointPtr[i] into poly[3].
826 * (c) Draw the polygon given by poly[0..3].
827 * (d) Advance poly[0], poly[1], b1, and b2 for the
857 poly[3] = *p1Ptr;
860 parallel = Intersect(&newB1, &newB2, &b1, &b2, &poly[2]);
867 * poly[1]
872 * poly[0] *p2Ptr *p1Ptr /
877 * Instead of using x and *p1Ptr for poly[2] and poly[3], as
879 * of using x and *p1Ptr for the new poly[0] and poly[1], use
894 (void) Intersect(p1Ptr, &perp, &b1, &b2, &poly[2]);
899 (void) Intersect(p1Ptr, p2Ptr, &shift1, &shift2, &poly[3]);
903 dx = poly[3].x - poly[0].x;
904 dy = poly[3].y - poly[0].y;
915 XFillPolygon(display, drawable, gc, poly, 4, Convex,
922 poly[0].x = poly[3].x;
923 poly[0].y = poly[3].y;
925 poly[1].x = c.x;
926 poly[1].y = c.y;
928 poly[1].x = poly[2].x;
929 poly[1].y = poly[2].y;