Lines Matching refs:pSeg
720 exaPolySegment(DrawablePtr pDrawable, GCPtr pGC, int nseg, xSegment * pSeg)
729 ExaCheckPolySegment(pDrawable, pGC, nseg, pSeg);
735 if (pSeg[i].x1 != pSeg[i].x2 && pSeg[i].y1 != pSeg[i].y2) {
736 ExaCheckPolySegment(pDrawable, pGC, nseg, pSeg);
743 if (pSeg[i].x1 < pSeg[i].x2) {
744 prect[i].x = pSeg[i].x1;
745 prect[i].width = pSeg[i].x2 - pSeg[i].x1 + 1;
748 prect[i].x = pSeg[i].x2;
749 prect[i].width = pSeg[i].x1 - pSeg[i].x2 + 1;
751 if (pSeg[i].y1 < pSeg[i].y2) {
752 prect[i].y = pSeg[i].y1;
753 prect[i].height = pSeg[i].y2 - pSeg[i].y1 + 1;
756 prect[i].y = pSeg[i].y2;
757 prect[i].height = pSeg[i].y1 - pSeg[i].y2 + 1;