Lines Matching defs:prect
508 xRectangle *prect;
518 prect = malloc(sizeof(xRectangle) * npt);
519 if (!prect)
522 prect[i].x = ppt[i].x;
523 prect[i].y = ppt[i].y;
525 prect[i].x += prect[i - 1].x;
526 prect[i].y += prect[i - 1].y;
528 prect[i].width = 1;
529 prect[i].height = 1;
531 pGC->ops->PolyFillRect(pDrawable, pGC, npt, prect);
532 free(prect);
544 xRectangle *prect;
555 prect = malloc(sizeof(xRectangle) * (npt - 1));
556 if (!prect)
571 free(prect);
577 prect[i].x = x1;
578 prect[i].width = x2 - x1 + 1;
580 prect[i].x = x2;
581 prect[i].width = x1 - x2 + 1;
584 prect[i].y = y1;
585 prect[i].height = y2 - y1 + 1;
587 prect[i].y = y2;
588 prect[i].height = y1 - y2 + 1;
594 pGC->ops->PolyFillRect(pDrawable, pGC, npt - 1, prect);
595 free(prect);
643 xRectangle *prect;
661 prect = malloc(sizeof(xRectangle) * nseg);
662 if (!prect)
666 prect[i].x = b.x1;
667 prect[i].y = b.y1;
668 prect[i].width = b.x2 - b.x1;
669 prect[i].height = b.y2 - b.y1;
671 pGC->ops->PolyFillRect(pDrawable, pGC, nseg, prect);
672 free(prect);
680 GCPtr pGC, int nrect, xRectangle * prect)
693 pReg = RECTS_TO_REGION(pScreen, nrect, prect, CT_UNSORTED);
742 uxa_check_poly_fill_rect(pDrawable, pGC, nrect, prect);
750 fullX1 = prect->x + xorg;
751 fullY1 = prect->y + yorg;
752 fullX2 = fullX1 + (int)prect->width;
753 fullY2 = fullY1 + (int)prect->height;
754 prect++;