Lines Matching refs:prect
619 xRectangle *prect;
629 prect = malloc(sizeof(xRectangle) * npt);
631 prect[i].x = ppt[i].x;
632 prect[i].y = ppt[i].y;
634 prect[i].x += prect[i - 1].x;
635 prect[i].y += prect[i - 1].y;
637 prect[i].width = 1;
638 prect[i].height = 1;
640 pGC->ops->PolyFillRect(pDrawable, pGC, npt, prect);
641 free(prect);
654 xRectangle *prect;
670 prect = malloc(sizeof(xRectangle) * (npt - 1));
684 free(prect);
690 prect[i].x = x1;
691 prect[i].width = x2 - x1 + 1;
693 prect[i].x = x2;
694 prect[i].width = x1 - x2 + 1;
697 prect[i].y = y1;
698 prect[i].height = y2 - y1 + 1;
700 prect[i].y = y2;
701 prect[i].height = y1 - y2 + 1;
707 pGC->ops->PolyFillRect(pDrawable, pGC, npt - 1, prect);
708 free(prect);
721 xRectangle *prect;
740 prect = malloc(sizeof(xRectangle) * nseg);
743 prect[i].x = pSeg[i].x1;
744 prect[i].width = pSeg[i].x2 - pSeg[i].x1 + 1;
746 prect[i].x = pSeg[i].x2;
747 prect[i].width = pSeg[i].x1 - pSeg[i].x2 + 1;
750 prect[i].y = pSeg[i].y1;
751 prect[i].height = pSeg[i].y2 - pSeg[i].y1 + 1;
753 prect[i].y = pSeg[i].y2;
754 prect[i].height = pSeg[i].y1 - pSeg[i].y2 + 1;
759 if (prect[i].width == 1)
760 prect[i].height--;
762 prect[i].width--;
765 pGC->ops->PolyFillRect(pDrawable, pGC, nseg, prect);
766 free(prect);
777 xRectangle *prect)
791 RegionPtr pReg = RegionFromRects(nrect, prect, CT_UNSORTED);
852 ExaCheckPolyFillRect (pDrawable, pGC, nrect, prect);
866 fullX1 = prect->x + xorg;
867 fullY1 = prect->y + yorg;
868 fullX2 = fullX1 + (int) prect->width;
869 fullY2 = fullY1 + (int) prect->height;
870 prect++;