Home | History | Annotate | Download | only in uxa

Lines Matching refs:prect

513     xRectangle *prect;
523 prect = xalloc(sizeof(xRectangle) * npt);
524 if (!prect)
527 prect[i].x = ppt[i].x;
528 prect[i].y = ppt[i].y;
530 prect[i].x += prect[i - 1].x;
531 prect[i].y += prect[i - 1].y;
533 prect[i].width = 1;
534 prect[i].height = 1;
536 pGC->ops->PolyFillRect(pDrawable, pGC, npt, prect);
537 xfree(prect);
549 xRectangle *prect;
560 prect = xalloc(sizeof(xRectangle) * (npt - 1));
561 if (!prect)
576 xfree(prect);
582 prect[i].x = x1;
583 prect[i].width = x2 - x1 + 1;
585 prect
586 prect[i].width = x1 - x2 + 1;
589 prect[i].y = y1;
590 prect[i].height = y2 - y1 + 1;
592 prect[i].y = y2;
593 prect[i].height = y1 - y2 + 1;
599 pGC->ops->PolyFillRect(pDrawable, pGC, npt - 1, prect);
600 xfree(prect);
612 xRectangle *prect;
631 prect = xalloc(sizeof(xRectangle) * nseg);
632 if (!prect)
636 prect[i].x = pSeg[i].x1;
637 prect[i].width = pSeg[i].x2 - pSeg[i].x1 + 1;
639 prect[i].x = pSeg[i].x2;
640 prect[i].width = pSeg[i].x1 - pSeg[i].x2 + 1;
643 prect[i].y = pSeg[i].y1;
644 prect[i].height = pSeg[i].y2 - pSeg[i].y1 + 1;
646 prect[i].y = pSeg[i].y2;
647 prect[i].height = pSeg[i].y1 - pSeg[i].y2 + 1;
652 if (prect[i].width == 1)
653 prect[i].height--;
655 prect[i].width--;
658 pGC->ops->PolyFillRect(pDrawable, pGC, nseg, prect);
659 xfree(prect);
669 xRectangle *prect)
682 RegionPtr pReg = RECTS_TO_REGION(pScreen, nrect, prect, CT_UNSORTED);
727 uxa_check_poly_fill_rect (pDrawable, pGC, nrect, prect);
741 fullX1 = prect->x + xorg;
742 fullY1 = prect->y + yorg;
743 fullX2 = fullX1 + (int) prect->width;
744 fullY2 = fullY1 + (int) prect->height;
745 prect++;