Lines Matching refs:pSeg
748 uxa_poly_segment(DrawablePtr pDrawable, GCPtr pGC, int nseg, xSegment * pSeg)
756 uxa_check_poly_segment(pDrawable, pGC, nseg, pSeg);
762 if (pSeg[i].x1 != pSeg[i].x2 && pSeg[i].y1 != pSeg[i].y2) {
763 uxa_check_poly_segment(pDrawable, pGC, nseg, pSeg);
772 if (pSeg[i].x1 < pSeg[i].x2) {
773 prect[i].x = pSeg[i].x1;
774 prect[i].width = pSeg[i].x2 - pSeg[i].x1 + 1;
776 prect[i].x = pSeg[i].x2;
777 prect[i].width = pSeg[i].x1 - pSeg[i].x2 + 1;
779 if (pSeg[i].y1 < pSeg[i].y2) {
780 prect[i].y = pSeg[i].y1;
781 prect[i].height = pSeg[i].y2 - pSeg[i].y1 + 1;
783 prect[i].y = pSeg[i].y2;
784 prect[i].height = pSeg[i].y1 - pSeg[i].y2 + 1;