Lines Matching refs:pSeg
95 int nseg, xSegment * pSeg);
800 RootlessPolySegment(DrawablePtr dst, GCPtr pGC, int nseg, xSegment * pSeg)
806 pGC->ops->PolySegment(dst, pGC, nseg, pSeg);
815 if (pSeg->x2 > pSeg->x1) {
816 box.x1 = pSeg->x1;
817 box.x2 = pSeg->x2;
820 box.x2 = pSeg->x1;
821 box.x1 = pSeg->x2;
824 if (pSeg->y2 > pSeg->y1) {
825 box.y1 = pSeg->y1;
826 box.y2 = pSeg->y2;
829 box.y2 = pSeg->y1;
830 box.y1 = pSeg->y2;
834 pSeg++;
835 if (pSeg->x2 > pSeg->x1) {
836 if (pSeg->x1 < box.x1)
837 box.x1 = pSeg->x1;
838 if (pSeg->x2 > box.x2)
839 box.x2 = pSeg->x2;
842 if (pSeg->x2 < box.x1)
843 box.x1 = pSeg->x2;
844 if (pSeg->x1 > box.x2)
845 box.x2 = pSeg->x1;
847 if (pSeg->y2 > pSeg->y1) {
848 if (pSeg->y1 < box.y1)
849 box.y1 = pSeg->y1;
850 if (pSeg->y2 > box.y2)
851 box.y2 = pSeg->y2;
854 if (pSeg->y2 < box.y1)
855 box.y1 = pSeg->y2;
856 if (pSeg->y1 > box.y2)
857 box.y2 = pSeg->y1;